# Reading configuration file from filesystem and live-media
for _FILE in /etc/live/boot.conf /etc/live/boot/* \
- /lib/live/image/live/boot.conf /lib/live/image/live/boot/*
+ /lib/live/mount/media/live/boot.conf /lib/live/mount/media/live/boot/*
do
if [ -e "${_FILE}" ]
then
+live-boot (3.0~b8-1) unstable; urgency=low
+
+ * Removing eject from recommends, the script that ejects the live medium
+ is in live-config these days.
+ * Removing file from recommends, no usage of file in live-boot anymore.
+ * Updating package lists in bug script to match current implementations.
+ * Adding dpkg-source local options.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 30 Nov 2012 14:48:16 +0100
+
+live-boot (3.0~b7-1) unstable; urgency=low
+
+ [ Daniel Baumann ]
+ * Updating file paths for /lib/live/mount. See
+ http://lists.debian.org/debian-live/2012/10/msg00021.html for more
+ information.
+ * Renaming /lib/live/mount/image to /lib/live/mount/medium. See
+ http://lists.debian.org/debian-live/2012/10/msg00023.html for more
+ information.
+ * Updating package descriptions.
+ * Properly wrap package descriptions to 80 characters per line.
+
+ [ Tails developers ]
+ * Adding support for the previous persistence configuration file name,
+ for compatibility with systems that have been deployed with live-
+ persistence.conf already.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 07 Nov 2012 15:04:32 +0100
+
live-boot (3.0~b6-1) unstable; urgency=low
* Including hfs and hfsplus modules in initrd to access filesystems on
Package: live-boot
Architecture: all
Depends: ${misc:Depends}, live-boot-initramfs-tools | live-boot-backend
-Recommends: live-boot-doc, eject, file, rsync, uuid-runtime
+Recommends: live-boot-doc, rsync, uuid-runtime
Suggests: curlftpfs, cryptsetup, httpfs2, unionfs-fuse, wget
-Description: Debian Live - System Boot Scripts
- live-boot contains the scripts that configure a Debian Live system during the
- boot process (early userspace).
+Description: Live System Boot Scripts
+ live-boot contains the scripts that configure a live system during the boot
+ process (early userspace).
.
In addition to live-boot, a backend for the initrd generation is required, such
as live-boot-initramfs-tools.
Depends: ${misc:Depends}
Conflicts: live-boot (<< 3.0~a18~)
Replaces: live-boot
-Description: Debian Live - System Boot Scripts (documentation)
- live-boot contains the scripts that configure a Debian Live system during the
- boot process (early userspace).
+Description: Live System Boot Scripts (documentation)
+ live-boot contains the scripts that configure a live system during the boot
+ process (early userspace).
.
This package contains the documentation.
Conflicts: live-boot-backend
Replaces: live-boot-backend
Provides: live-boot-backend
-Description: Debian Live - System Boot Scripts (initramfs-tools backend)
- live-boot contains the scripts that configure a Debian Live system during the
- boot process (early userspace).
+Description: Live System Boot Scripts (initramfs-tools backend)
+ live-boot contains the scripts that configure a live system during the boot
+ process (early userspace).
.
This package contains the initramfs-tools backend.
#!/bin/sh
# Checking depends
-dpkg -l busybox file initramfs-tools sudo udev user-setup
+dpkg -l busybox busybox-initramfs initramfs-tools udev
# Checking recommends
-dpkg -l eject uuid-runtime wget
+dpkg -l rsync uuid-runtime
# Checking suggests
-dpkg -l loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools
+dpkg -l curlftpfs cryptsetup httpfs2 unionfs-fuse wget
# Checking other packages
-dpkg -l cryptsetup plymouth
+dpkg -l plymouth
exit 0
--- /dev/null
+abort-on-upstream-changes
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 02.10.2012 3.0~b6\-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 30.11.2012 3.0~b8\-1 "Debian Live Project"
.SH NAME
\fBlive\-boot\fP \- System Boot Scripts
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT conf 02.10.2012 3.0~b6\-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 30.11.2012 3.0~b8\-1 "Debian Live Project"
.SH NAME
\fBpersistence.conf\fP \- Configuration file for persistence media in live\-boot
-.TH LIVE\-BOOT 7 2012\-10\-02 3.0~b6-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 2012\-11\-30 3.0~b8-1 "Debian Live Project"
.SH NAME
\fBlive\-boot\fR \- System Boot Scripts
-.TH LIVE\-BOOT conf 2012\-10\-02 3.0~b6-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 2012\-11\-30 3.0~b8-1 "Debian Live Project"
.SH NAME
\fBpersistence.conf\fR \- Configuration file for persistence media in
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT 7 02.10.2012 3.0~b6\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT 7 30.11.2012 3.0~b8\-1 "Proyecto Debian Live"
.SH NOMBRE
\fBlive\-boot\fP \- Scripts de Arranque del Sistema
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-BOOT conf 02.10.2012 3.0~b6\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT conf 30.11.2012 3.0~b8\-1 "Proyecto Debian Live"
.SH NOMBRE
\fBpersistence.conf\fP \- Fichero para configurar medios de almacenamiento con
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b6-1\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"Project-Id-Version: live-boot 3.0~b8-1\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: 2012-04-08 22:48+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
-msgstr "02.10.2012"
+msgid "2012-11-30"
+msgstr "30.11.2012"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
-msgstr "3.0~b6-1"
+msgid "3.0~b8-1"
+msgstr "3.0~b8-1"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b6-1\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"Project-Id-Version: live-boot 3.0~b8-1\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: 2012-04-08 22:48+0300\n"
"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
-msgstr "02.10.2012"
+msgid "2012-11-30"
+msgstr "30.11.2012"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
-msgstr "3.0~b6-1"
+msgid "3.0~b8-1"
+msgstr "3.0~b8-1"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b6-1\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"Project-Id-Version: live-boot 3.0~b8-1\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: 2012-06-07 20:29+0200\n"
"Last-Translator: Carlos Zuferri «chals» <chals@altorricon.com>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
-msgstr "02.10.2012"
+msgid "2012-11-30"
+msgstr "30.11.2012"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
-msgstr "3.0~b6-1"
+msgid "3.0~b8-1"
+msgstr "3.0~b8-1"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#
msgid ""
msgstr ""
-"Project-Id-Version: live-boot 3.0~b6-1\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"Project-Id-Version: live-boot 3.0~b8-1\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: 2012-06-07 19:11+0200\n"
"Last-Translator: Carlos Zuferri «chals» <chals@altorricon.com>\n"
"Language-Team: none\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
-msgstr "02.10.2012"
+msgid "2012-11-30"
+msgstr "30.11.2012"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
-msgstr "3.0~b6-1"
+msgid "3.0~b8-1"
+msgstr "3.0~b8-1"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
+msgid "2012-11-30"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
+msgid "3.0~b8-1"
msgstr ""
#. type: TH
msgid ""
msgstr ""
"Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2012-10-02 10:38+0300\n"
+"POT-Creation-Date: 2012-11-30 14:47+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "2012-10-02"
+msgid "2012-11-30"
msgstr ""
#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
-msgid "3.0~b6-1"
+msgid "3.0~b8-1"
msgstr ""
#. type: TH
echo "/root/lib" >> /etc/ld.so.conf
echo "/root/usr/lib" >> /etc/ld.so.conf
-mountpoint="/live/image"
+mountpoint="/live/medium"
alt_mountpoint="/media"
LIVE_MEDIA_PATH="live"
old_home_overlay_label="home-rw"
custom_overlay_label="persistence"
persistence_list="persistence.conf"
+old_persistence_list="live-persistence.conf"
if [ ! -f /live.vars ]
then
esac
# Move to the new root filesystem so that programs there can get at it.
- mkdir -p /root/lib/live/image
- mount --move /live/image /root/lib/live/image
+ mkdir -p /root/lib/live/mount/medium
+ mount --move /live/medium /root/lib/live/mount/medium
# aufs2 in kernel versions around 2.6.33 has a regression:
# directories can't be accessed when read for the first the time,
# Move findiso directory to the new root filesystem so that programs there can get at it.
if [ -d /live/findiso ]
then
- mkdir -p /root/lib/live/findiso
- mount -n --move /live/findiso /root/lib/live/findiso
+ mkdir -p /root/lib/live/mount/findiso
+ mount -n --move /live/findiso /root/lib/live/mount/findiso
fi
# if we do not unmount the ISO we can't run "fsck /dev/ice" later on
then
losetup -d /dev/loop0
- if is_mountpoint /root/lib/live/findiso
+ if is_mountpoint /root/lib/live/mount/findiso
then
- umount /root/lib/live/findiso
- rmdir --ignore-fail-on-non-empty /root/lib/live/findiso \
+ umount /root/lib/live/mount/findiso
+ rmdir --ignore-fail-on-non-empty /root/lib/live/mount/findiso \
>/dev/null 2>&1 || true
fi
fi
local white_listed_devices="${2}"
local ret=""
- local black_listed_devices="$(what_is_mounted_on /live/image)"
+ local black_listed_devices="$(what_is_mounted_on /live/medium)"
for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
do
continue
fi
- local include_list="${backing}/${persistence_list}"
- if [ ! -r "${include_list}" ]
+ local include_list
+ if [ -r "${backing}/${persistence_list}" ]
then
+ include_list="${backing}/${persistence_list}"
+ elif [ -r "${backing}/${old_persistence_list}" ]
+ then
+ include_list="${backing}/${old_persistence_list}"
+ else
continue
fi
do
if [ -d "/live/${_DIRECTORY}" ]
then
- mkdir -p "${rootmnt}/lib/live/${_DIRECTORY}"
+ mkdir -p "${rootmnt}/lib/live/mount/${_DIRECTORY}"
for _MOUNT in $(ls /live/${_DIRECTORY})
do
- mkdir -p "${rootmnt}/lib/live/${_DIRECTORY}/${_MOUNT}"
- mount -o move "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/lib/live/${_DIRECTORY}/${_MOUNT}" > /dev/null 2>&1 || \
- mount -o bind "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/lib/live/${_DIRECTORY}/${_MOUNT}" || \
- log_warning_msg "W: failed to mount /live/${_DIRECTORY}/${_MOUNT} to ${rootmnt}/lib/live/${_DIRECTORY}/${_MOUNT}"
+ mkdir -p "${rootmnt}/lib/live/mount/${_DIRECTORY}/${_MOUNT}"
+ mount -o move "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/lib/live/mount/${_DIRECTORY}/${_MOUNT}" > /dev/null 2>&1 || \
+ mount -o bind "/live/${_DIRECTORY}/${_MOUNT}" "${rootmnt}/lib/live/mount/${_DIRECTORY}/${_MOUNT}" || \
+ log_warning_msg "W: failed to mount /live/${_DIRECTORY}/${_MOUNT} to ${rootmnt}/lib/live/mount/${_DIRECTORY}/${_MOUNT}"
done
fi
done
- mkdir -p "${rootmnt}/lib/live/overlay"
- mount -o move /live/overlay "${rootmnt}/lib/live/overlay" > /dev/null 2>&1 || \
- mount -o bind /live/overlay "${rootmnt}/lib/live/overlay" || \
- log_warning_msg "W: failed to mount /live/overlay to ${rootmnt}/lib/live/overlay"
+ mkdir -p "${rootmnt}/lib/live/mount/overlay"
+ mount -o move /live/overlay "${rootmnt}/lib/live/mount/overlay" > /dev/null 2>&1 || \
+ mount -o bind /live/overlay "${rootmnt}/lib/live/mount/overlay" || \
+ log_warning_msg "W: failed to mount /live/overlay to ${rootmnt}/lib/live/mount/overlay"
# ensure that a potentially stray tmpfs gets removed
# otherways, initramfs-tools is unable to remove /live