Adding upstream version 4.0~a8. upstream/4.0_a8
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 12:37:26 +0000 (14:37 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 12:37:26 +0000 (14:37 +0200)
22 files changed:
Makefile
VERSION
backends/dracut/live.script [moved from scripts/boot/0010-dracut with 83% similarity]
backends/initramfs-tools/live.hook
backends/initramfs-tools/live.script
manpages/Makefile
manpages/de/live-boot.de.7
manpages/de/persistence.conf.de.5
manpages/en/live-boot.7
manpages/en/persistence.conf.5
manpages/es/live-boot.es.7
manpages/es/persistence.conf.es.5
manpages/po/de/live-boot.7.po
manpages/po/de/persistence.conf.5.po
manpages/po/es/live-boot.7.po
manpages/po/es/persistence.conf.5.po
manpages/pot/live-boot.7.pot
manpages/pot/persistence.conf.5.pot
scripts/boot/0020-initramfs-tools [deleted file]
scripts/boot/9990-misc-helpers.sh
scripts/boot/9990-overlay.sh
scripts/boot/FIXME

index 9d03254..d083027 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ test:
                echo " done."; \
        else \
                echo "W: checkbashisms - command not found"; \
-               echo "I: checkbashisms can be optained from: "; \
+               echo "I: checkbashisms can be obtained from: "; \
                echo "I:   http://git.debian.org/?p=devscripts/devscripts.git"; \
                echo "I: On Debian based systems, checkbashisms can be installed with:"; \
                echo "I:   apt-get install devscripts"; \
diff --git a/VERSION b/VERSION
index 2b29e05..316b63d 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.0~a7-1
+4.0~a8-1
similarity index 83%
rename from scripts/boot/0010-dracut
rename to backends/dracut/live.script
index 19db182..2f29e70 100755 (executable)
@@ -2,6 +2,8 @@
 
 #set -e
 
+. /lib/live/boot.sh
+
 DRACUT_FIXME ()
 {
        # dracut entry point for live-boot is FIXME(); function
index d66c669..1814211 100755 (executable)
@@ -45,7 +45,6 @@ do
        copy_exec "${FILE}"
 done
 
-# wheezy/sid
 if [ -e /lib/udev/rules.d/60-cdrom_id.rules ]
 then
        mkdir -p ${DESTDIR}/lib/udev/rules.d
@@ -172,11 +171,6 @@ then
        [ "${QUIET}" ] || echo -n " udev"
        copy_exec /sbin/udevadm
 fi
-if [ -x /usr/bin/udevinfo ]
-then
-       [ "${QUIET}" ] || echo -n " udev"
-       copy_exec /usr/bin/udevinfo /bin
-fi
 
 # Program: wget
 if [ -x /usr/bin/wget ]
index 46576fb..1c6ebbf 100755 (executable)
@@ -2,7 +2,12 @@
 
 #set -e
 
-if [ -e /lib/live/boot.sh ]
-then
-       . /lib/live/boot.sh
-fi
+. /lib/live/boot.sh
+
+. /scripts/functions
+
+mountroot ()
+{
+       # initramfs-tools entry point for live-boot is mountroot(); function
+       Main
+}
index fd6298f..e488b68 100644 (file)
@@ -23,7 +23,7 @@ build: po4a.cfg
        @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
        then \
                echo "E: po4a - command not found"; \
-               echo "I: po4a can be optained from:"; \
+               echo "I: po4a can be obtained from:"; \
                echo "I:   http://po4a.alioth.debian.org/"; \
                echo "I: On Debian based systems, po4a can be installed with:"; \
                echo "I:   apt-get install po4a"; \
index 7c5dc92..a5bbbf7 100644 (file)
@@ -3,7 +3,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-BOOT 7 19.02.2013 4.0~a7\-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 10.03.2013 4.0~a8\-1 "Debian Live Project"
 
 .SH NAME
 \fBlive\-boot\fP \- System Boot Scripts
index f6ed65f..29fc7e3 100644 (file)
@@ -3,7 +3,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-BOOT conf 19.02.2013 4.0~a7\-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 10.03.2013 4.0~a8\-1 "Debian Live Project"
 
 .SH NAME
 \fBpersistence.conf\fP \- Configuration file for persistence media in live\-boot
index d995c77..3eeb080 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-BOOT 7 2013\-02\-19 4.0~a7-1 "Debian Live Project"
+.TH LIVE\-BOOT 7 2013\-03\-10 4.0~a8-1 "Debian Live Project"
 
 .SH NAME
 \fBlive\-boot\fR \- System Boot Scripts
index 63a2439..fcbb784 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-BOOT conf 2013\-02\-19 4.0~a7-1 "Debian Live Project"
+.TH LIVE\-BOOT conf 2013\-03\-10 4.0~a8-1 "Debian Live Project"
 
 .SH NAME
 \fBpersistence.conf\fR \- Configuration file for persistence media in
index 3a9c044..fad6c03 100644 (file)
@@ -3,7 +3,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-BOOT 7 19.02.2013 4.0~a7\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT 7 10.03.2013 4.0~a8\-1 "Proyecto Debian Live"
 
 .SH NOMBRE
 \fBlive\-boot\fP \- Scripts de Arranque del Sistema
index 8b624a6..d610e14 100644 (file)
@@ -3,7 +3,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-BOOT conf 19.02.2013 4.0~a7\-1 "Proyecto Debian Live"
+.TH LIVE\-BOOT conf 10.03.2013 4.0~a8\-1 "Proyecto Debian Live"
 
 .SH NOMBRE
 \fBpersistence.conf\fP \- Fichero para configurar medios de almacenamiento con
index c7f1c3d..dda9ecd 100644 (file)
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-boot 4.0~a7-1\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"Project-Id-Version: live-boot 4.0~a8-1\n"
+"POT-Creation-Date: 2013-03-10 19:02+0100\n"
 "PO-Revision-Date: 2012-04-08 22:48+0300\n"
 "Last-Translator: Daniel Baumann <daniel@debian.org>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr ""
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
-msgstr "19.02.2013"
+msgid "2013-03-10"
+msgstr "10.03.2013"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
-msgstr "4.0~a7-1"
+msgid "4.0~a8-1"
+msgstr "4.0~a8-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 7758741..aae7018 100644 (file)
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-boot 4.0~a7-1\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"Project-Id-Version: live-boot 4.0~a8-1\n"
+"POT-Creation-Date: 2013-03-10 19:02+0100\n"
 "PO-Revision-Date: 2012-04-08 22:48+0300\n"
 "Last-Translator: Daniel Baumann <daniel@debian.org>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr ""
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
-msgstr "19.02.2013"
+msgid "2013-03-10"
+msgstr "10.03.2013"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
-msgstr "4.0~a7-1"
+msgid "4.0~a8-1"
+msgstr "4.0~a8-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 3efe967..6b1f0fa 100644 (file)
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-boot 4.0~a7-1\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"Project-Id-Version: live-boot 4.0~a8-1\n"
+"POT-Creation-Date: 2013-03-10 19:02+0100\n"
 "PO-Revision-Date: 2013-02-12 14:25+0100\n"
 "Last-Translator: Carlos Zuferri <chals@altorricon.com>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-BOOT"
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
-msgstr "19.02.2013"
+msgid "2013-03-10"
+msgstr "10.03.2013"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
-msgstr "4.0~a7-1"
+msgid "4.0~a8-1"
+msgstr "4.0~a8-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index 30c2e23..4faa195 100644 (file)
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-boot 4.0~a7-1\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"Project-Id-Version: live-boot 4.0~a8-1\n"
+"POT-Creation-Date: 2013-03-10 19:02+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"
@@ -23,14 +23,14 @@ msgstr "LIVE-BOOT"
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
-msgstr "19.02.2013"
+msgid "2013-03-10"
+msgstr "10.03.2013"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
-msgstr "4.0~a7-1"
+msgid "4.0~a8-1"
+msgstr "4.0~a8-1"
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
index d4a5d3a..0e53755 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"POT-Creation-Date: 2013-03-10 19:02+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"
@@ -25,13 +25,13 @@ msgstr ""
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
+msgid "2013-03-10"
 msgstr ""
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
+msgid "4.0~a8-1"
 msgstr ""
 
 #. type: TH
index e5b8b26..473b762 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: live-boot VERSION\n"
-"POT-Creation-Date: 2013-02-19 05:48+0100\n"
+"POT-Creation-Date: 2013-03-10 19:02+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"
@@ -25,13 +25,13 @@ msgstr ""
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "2013-02-19"
+msgid "2013-03-10"
 msgstr ""
 
 #. type: TH
 #: en/live-boot.7:1 en/persistence.conf.5:1
 #, no-wrap
-msgid "4.0~a7-1"
+msgid "4.0~a8-1"
 msgstr ""
 
 #. type: TH
diff --git a/scripts/boot/0020-initramfs-tools b/scripts/boot/0020-initramfs-tools
deleted file mode 100755 (executable)
index c251443..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-#set -e
-
-if [ -e /scripts/functions ]
-then
-       . /scripts/functions
-fi
-
-mountroot ()
-{
-       # initramfs-tools entry point for live-boot is mountroot(); function
-       Main
-}
index 888eeaf..cb3940b 100755 (executable)
@@ -1140,12 +1140,12 @@ link_files ()
        # is non-empty, remove mask from all source paths when
        # creating links (will be necessary if we change root, which
        # live-boot normally does (into $rootmnt)).
-       local src_dir dest_dir src_mask
+       local src_dir dest_dir src_transform
 
        # remove multiple /:s and ensure ending on /
        src_dir="$(trim_path ${1})/"
        dest_dir="$(trim_path ${2})/"
-       src_mask="${3}"
+       src_transform="${3}"
 
        # This check can only trigger on the inital, non-recursive call since
        # we create the destination before recursive calls
@@ -1172,12 +1172,12 @@ link_files ()
                                chown_ref "${src}" "${dest}"
                                chmod_ref "${src}" "${dest}"
                        fi
-                       link_files "${src}" "${dest}" "${src_mask}"
+                       link_files "${src}" "${dest}" "${src_transform}"
                else
                        final_src=${src}
-                       if [ -n "${src_mask}" ]
+                       if [ -n "${src_transform}" ]
                        then
-                               final_src="$(echo ${final_src} | sed "s|^${src_mask}||")"
+                               final_src="$(echo ${final_src} | sed "${src_transform}")"
                        fi
                        rm -rf "${dest}" 2> /dev/null
                        ln -s "${final_src}" "${dest}"
@@ -1482,7 +1482,7 @@ activate_custom_mounts ()
                # ignore the loop below and set rootfs_dest_backing=$dest
                local rootfs_dest_backing
                rootfs_dest_backing=""
-               if [ -n "${opt_link}"]
+               if [ -n "${opt_link}" ]
                then
                        for d in /live/rootfs/*
                        do
@@ -1502,7 +1502,7 @@ activate_custom_mounts ()
                local cow_dir links_source
                if [ -n "${opt_link}" ] && [ -z "${PERSISTENCE_READONLY}" ]
                then
-                       link_files ${source} ${dest} ${rootmnt}
+                       link_files ${source} ${dest} "s|^/live/|/lib/live/mount/|"
                elif [ -n "${opt_link}" ] && [ -n "${PERSISTENCE_READONLY}" ]
                then
                        mkdir -p ${rootmnt}/lib/live/mount/persistence
@@ -1519,7 +1519,7 @@ activate_custom_mounts ()
                        chown_ref "${source}" "${cow_dir}"
                        chmod_ref "${source}" "${cow_dir}"
                        do_union ${links_source} ${cow_dir} ${source} ${rootfs_dest_backing}
-                       link_files ${links_source} ${dest} ${rootmnt}
+                       link_files ${links_source} ${dest} "s|^${rootmnt}||"
                elif [ -n "${opt_union}" ] && [ -z "${PERSISTENCE_READONLY}" ]
                then
                        do_union ${dest} ${source} ${rootfs_dest_backing}
index 10054e8..c6de171 100755 (executable)
@@ -392,7 +392,7 @@ setup_unionfs ()
                # Close unused overlays (e.g. due to missing $persistence_list)
                for overlay in ${overlay_devices}
                do
-                       if echo ${used_overlays} | grep -qve "^\(.* \)\?${device}\( .*\)\?$"
+                       if echo ${used_overlays} | grep -qve "^\(.* \)\?${overlay}\( .*\)\?$"
                        then
                                close_persistence_media ${overlay}
                        fi
index f3c62c5..be8bb32 100644 (file)
@@ -8,7 +8,7 @@ Additionally, this will allow us to abstract initramfs-tools
 integration to also support other initrd generators, such as
 dracut.
 
-Unfortunately, from a developers point of view, we could no
+Unfortunately, from a developers point of view, we could not
 finish this in time for wheezy, but we will finish this for
 jessie. Please excuse the sorry state of the 9990-* scripts.
 From a users point of view, it doesn't matter at all though.
@@ -17,8 +17,6 @@ From a users point of view, it doesn't matter at all though.
 Scripts overview
 ----------------
 
-00xx   initramfs "bootstrapping"
-
 0xxx   live-boot internals
 
 1xxx   find and mount rootfs