Adding upstream version 1.91.4. upstream/1.91.4
authorDaniel Baumann <daniel@debian.org>
Sun, 18 Apr 2010 18:39:23 +0000 (20:39 +0200)
committerDaniel Baumann <daniel@debian.org>
Sun, 18 Apr 2010 18:39:23 +0000 (20:39 +0200)
17 files changed:
Makefile
bin/live-snapshot
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/init [new file with mode: 0755]
debian/postinst [new file with mode: 0755]
debian/postrm [new file with mode: 0755]
debian/rules [new file with mode: 0755]
docs/ChangeLog
manpages/live-initramfs.en.7
manpages/live-snapshot.en.1
manpages/live-snapshot.it.1
scripts/live
scripts/live-bottom/01integrity_check
scripts/live-bottom/05mountpoints

index a389356..a9b9991 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -118,9 +118,9 @@ uninstall:
 update:
        set -e; for MANPAGE in manpages/*.en.*; \
        do \
-               sed -i  -e 's/2007\\-06\\-25/2007\\-07\\-02/' \
-                       -e 's/25.06.2007/02.07.2007/' \
-                       -e 's/1.91.2/1.91.3/' \
+               sed -i  -e 's/2007\\-07\\-02/2007\\-07\\-09/' \
+                       -e 's/02.07.2007/09.07.2007/' \
+                       -e 's/1.91.3/1.91.4/' \
                $$MANPAGE; \
        done
 
index dd1875f..a7214bd 100755 (executable)
@@ -3,7 +3,7 @@
 # live-snapshot - utility to manage Debian Live systems snapshots
 #
 #   This program mount a device (fallback to /tmpfs under /mnt/snapshot
-#   and save the /cow (or a different dir) filesystem in it for reusing
+#   and save the /live/cow (or a different dir) filesystem in it for reusing
 #   in another live-initramfs session. Look at manpage for more info.
 #
 # Copyright (C) 2006 Marco Amadori <marco.amadori@gmail.com>
@@ -90,7 +90,7 @@ Help ()
        Header
        echo
        echo "Options:"
-       echo "  -c, --cow: specifies the copy on write directory (default: /cow)."
+       echo "  -c, --cow: specifies the copy on write directory (default: /live/cow)."
        echo "  -d, --device: specifies the output snapshot device (default: none)."
        echo "  -o, --output: specifies the output image file (default: $type dependent)."
     echo "  -r, --resync-string: internally used to resync previous made snapshots."
@@ -224,7 +224,7 @@ Mount_device ()
 Defaults ()
 {
        MOUNTP="/mnt/live-snapshot"
-       COW="/cow"
+       COW="/live/cow"
        DEV=""
        DEST="${MOUNTP}/live-sn.cpio.gz"
        TYPE="cpio"
@@ -248,7 +248,7 @@ Defaults ()
                                Usage "Unregognized String" ;;
                esac
        else
-               DEF_COW="/cow"
+               DEF_COW="/live/cow"
                # Bad options handling
                if [ -z "${SNAP_COW}" ]; then
                        COW="${DEF_COW}"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..5971009
--- /dev/null
@@ -0,0 +1,66 @@
+live-initramfs (1.91.4-1) unstable; urgency=medium
+
+  * New upstream release:
+    - Dropping transitional package, not needed anymore.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  9 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  2 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 25 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.91.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 18 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.90.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 11 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.87.6-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  4 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.87.5-1) unstable; urgency=medium
+
+  * New upstream release, replacing casper.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 28 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.4-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 21 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 14 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  7 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.1-1) unstable; urgency=low
+
+  * Initial release, forking casper.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 30 Apr 2007 00:00:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1d3d3cd
--- /dev/null
@@ -0,0 +1,33 @@
+Source: live-initramfs
+Section: misc
+Priority: optional
+Maintainer: Debian Live <debian-live-devel@lists.alioth.debian.org>
+Uploaders: Daniel Baumann <daniel@debian.org>, Marco Amadori <marco.amadori@gmail.com>
+Build-Depends: debhelper (>= 5), lsb-release
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/debian-live/dists/trunk/live-initramfs/
+XS-VCS-Browse: http://svn.debian.org/wsvn/debian-live/dists/trunk/live-initramfs/
+
+Package: live-initramfs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, file, initramfs-tools, sudo, user-setup
+Recommends: eject, live-initscripts
+Suggests: genext2fs, squashfs-tools
+Conflicts: casper
+Replaces: casper
+Description: Debian Live initramfs hook
+ live-initramfs is a hook for the initramfs-tools, used to generate a initramfs
+ capable to boot live systems, such as those created by live-helper. This
+ includes the Debian Live isos, netboot tarballs, and usb stick images.
+ .
+ At boot time it will look for a (read-only) media containing a "/live"
+ directory where a root filesystems (often a compressed filesystem image like
+ squashfs) is stored. If found, it will create a writable environment, using
+ unionfs, for Debian like systems to boot from.
+ .
+ You probably do not want to install this package onto a non-live system,
+ although it will do no harm.
+ .
+  Homepage: <http://debian-live.alioth.debian.org/>
+ .
+ live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..792ac76
--- /dev/null
@@ -0,0 +1,64 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Mon, 30 Apr 2007 00:00:00 +0200.
+
+It was downloaded from:
+
+       <http://debian-live.alioth.debian.org/>
+
+Upstream contact:
+
+       Debian Live <debian-live-devel@lists.alioth.debian.org>
+
+License:
+
+       live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>.
+       casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
+       and Matt Zimmerman <mdz@canonical.com>.
+
+       Copyright (C) 2005-2007 Canonical Ltd. <http://www.cannonical.com/>
+       Copyright (C) 2006-2007 Marco Amadori <marco.amadori@gmail.com>
+       Copyright (C) 2007 Daniel Baumann <daniel@debian.org>
+
+       This program is free software; you can redistribute it and/or modify
+       it under the terms of the GNU General Public License as published by
+       the Free Software Foundation; either version 2 of the License, or
+       (at your option) any later version.
+
+       This program is distributed in the hope that it will be useful,
+       but WITHOUT ANY WARRANTY; without even the implied warranty of
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+       GNU General Public License for more details.
+
+       You should have received a copy of the GNU General Public License
+       along with this program; if not, write to the Free Software
+       Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2 file.
+
+License (live-md5check/md5.c, live-md5check/md5,h):
+
+       Copyright (C) 1999-2002 Aladdin Enterprises
+       All rights reserved.
+
+       This software is provided 'as-is', without any express or implied
+       warranty.  In no event will the authors be held liable for any damages
+       arising from the use of this software.
+
+       Permission is granted to anyone to use this software for any purpose,
+       including commercial applications, and to alter it and redistribute it
+       freely, subject to the following restrictions:
+
+       1. The origin of this software must not be misrepresented; you must not
+       claim that you wrote the original software. If you use this software in
+       a product, an acknowledgment in the product documentation would be
+       appreciated but is not required.
+
+       2. Altered source versions must be plainly marked as such, and must not
+       be misrepresented as being the original software.
+
+       3. This notice may not be removed or altered from any source
+       distribution.
+
+The Debian packaging is (C) 2007, Daniel Baumann <daniel@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/init b/debian/init
new file mode 100755 (executable)
index 0000000..d515c39
--- /dev/null
@@ -0,0 +1,117 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:            live-initramfs
+# Required-Start:      $syslog
+# Required-Stop:       $syslog
+# Should-Start:                $local_fs
+# Should-Stop:         $local_fs
+# Default-Start:       1 2 3 4 5
+# Default-Stop:                0 6
+# Short-Description:   live-initramfs init script
+# Description:         Resyncs snapshots, evantually caches files in order to
+#                      let remove the media.
+### END INIT INFO
+
+# Authors: Tollef Fog Heen <tfheen@canonical.com>
+#         Marco Amadori <marco.amadori@gmail.com>
+
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
+NAME=live-initramfs
+SCRIPTNAME=/etc/init.d/${NAME}
+DO_SNAPSHOT=/sbin/live-snapshot
+
+# Exit if system was not booted by live-initramfs
+grep -qs boot=live /proc/cmdline || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/live.conf ] && . /etc/live.conf
+
+# Load the VERBOSE setting and other rcS variables
+[ -f /etc/default/rcS ] && . /etc/default/rcS
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+# Try to cache everything we're likely to need after ejecting.  This
+# is fragile and simple-minded, but our options are limited.
+cache_path() {
+    path="$1"
+
+    if [ -d "$path" ]; then
+        find "$path" -type f | xargs cat > /dev/null 2>&1
+    elif [ -f "$path" ]; then
+        if [ -x "$path" ]; then
+            if file "$path" | grep -q 'dynamically linked'; then
+                for lib in $(ldd "$path" | awk '{ print $3 }'); do
+                    cache_path "$lib"
+                done
+            fi
+        fi
+        cat "$path" >/dev/null 2>&1
+    fi
+}
+
+do_stop ()
+{
+    if [ ! -z "${ROOTSNAP}" ]; then
+        $DO_SNAPSHOT --resync-string="${ROOTSNAP}"
+    fi
+
+    if [ ! -z "${HOMESNAP}" ]; then
+        $DO_SNAPSHOT --resync-string="${HOMESNAP}"
+    fi
+
+    # check for netboot
+    if [ ! -z "${NETBOOT}" ] || grep -qs netboot /proc/cmdline || grep -qsi root=/dev/nfs /proc/cmdline  || grep -qsi root=/dev/cifs /proc/cmdline ; then
+        return 0
+    fi
+
+    for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default; do
+        cache_path "$path"
+    done
+
+    for x in $(cat /proc/cmdline); do
+       case $x in
+           quickreboot)
+               QUICKREBOOT="Yes"
+           ;;
+       esac
+    done
+
+    if [ -z ${QUICKREBOOT} ]; then
+       if [ -x /usr/bin/eject ]
+       then
+               eject -p -m /live/image >/dev/null 2>&1
+       fi
+
+       # XXX - i18n
+       echo "Please remove the disc and close the tray (if any) then press ENTER: "
+       if [ -x /sbin/usplash_write ]; then
+           /sbin/usplash_write "TIMEOUT 86400"
+           /sbin/usplash_write "TEXT-URGENT Please remove the disc, close the tray (if any)"
+           /sbin/usplash_write "TEXT-URGENT and press ENTER to continue"
+       fi
+
+       read x < /dev/console
+    fi
+}
+
+case "$1" in
+    start|restart|reload|force-reload|status)
+        [ "$VERBOSE" != no ] && log_end_msg 0
+        ;;
+    stop)
+        log_begin_msg "${NAME} is resyncing snapshots and caching reboot files..."
+        do_stop
+        case "$?" in
+            0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+            2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+        esac
+        ;;
+    *)
+        log_success_msg "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+        exit 3
+        ;;
+esac
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..752b161
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/update-initramfs ]
+then
+       update-initramfs -k all -u
+fi
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100755 (executable)
index 0000000..752b161
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/update-initramfs ]
+then
+       update-initramfs -k all -u
+fi
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..0e8bbc7
--- /dev/null
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+upstream:
+       # Needs: subversion
+       cd .. && svn co svn://svn.debian.org/debian-live/dists/trunk/live-initramfs || true
+       find . -type d -name .svn | xargs rm -rf
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Building package
+       CFLAGS="$(CFLAGS)" $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       # Cleaning package
+       $(MAKE) clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Installing package
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/live-initramfs
+
+       # Removing double files
+       rm -f debian/live-initramfs/usr/share/doc/live-initramfs/COPYING
+       rm -f debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog
+       mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper
+
+binary-indep: build install
+       dh_testdir -i
+       dh_testroot -i
+       dh_installchangelogs -i docs/ChangeLog
+       dh_installdocs -i
+       dh_install -i
+       dh_compress -i
+       dh_fixperms -i
+       dh_installdeb -i
+       dh_gencontrol -i
+       dh_md5sums -i
+       dh_builddeb -i
+
+binary-arch: build install
+       dh_testdir -a
+       dh_testroot -a
+       dh_installchangelogs -a docs/ChangeLog
+       dh_installdocs -a
+       dh_install -a
+       dh_installinit -a --no-restart-on-upgrade --no-start -- start 89 0 6 .
+       dh_strip -a
+       dh_compress -a
+       dh_fixperms -a
+       dh_installdeb -a
+       dh_shlibdeps -a
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
index 049cf29..6f8d95c 100644 (file)
@@ -1,3 +1,16 @@
+2007-07-12  Daniel Baumann  <daniel@debian.org>
+
+       * bin/live-snapshot, scripts/live:
+         - Moved /cow to /live/cow.
+       * scripts/live, scripts/live-bottom/01integrity_check, 05mountpoints:
+         - Moved /live_media to /live/image.
+       * Uploaded 1.91.4-1.
+
+2007-07-07  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Added debug parameter.
+
 2007-06-31  Daniel Baumann  <daniel@debian.org>
 
        * scripts/live:
index cfbf0a1..b44467e 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-INITRAMFS 7 "2007\-07\-02" "1.91.3" "live\-initramfs"
+.TH LIVE\-INITRAMFS 7 "2007\-07\-09" "1.91.4" "live\-initramfs"
 
 .SH NAME
 live\-initramfs \- Debian Live initramfs hook
@@ -22,6 +22,8 @@ Here is the complete list of recognized boot parameters by live\-initramfs.
 Set the accessibility level for physically or visually impared users. ACCESS must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor difficulties.
 .IP "\fBconsole=\fR\fITTY\fR,\fISPEED\fR" 4
 Set the default console to be used with the "live\-getty" option. Example: "console=ttyS0,115200"
+.IP "\fBdebug\fR" 4
+Makes initramfs boot process more verbose.
 .IP "\fBhostname=\fR\fIHOSTNAME\fR, \fBusername=\fR\fIUSER\fR, \fBuserfullname=\fR\fIUSERFULLNAME\fR"4
 Those parameters lets you override values read from the config file.
 .IP "\fBintegrity\-check\fR" 4
index ad37aef..05c1221 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-SNAPSHOT 1 "2007\-07\-02" "1.91.3" "live\-initramfs"
+.TH LIVE\-SNAPSHOT 1 "2007\-07\-09" "1.91.4" "live\-initramfs"
 
 .SH NAME
 live\-snapshot \- a simple script to ease persistence usage
@@ -35,7 +35,7 @@ live\-snapshot is a script which can be used to build the right types of persist
 .SH OPTIONS
 .IP "\fB\-c, \-\-cow\fR \fIDIRECTORY\fR" 4
 specifies the input directory to be cloned in the image file.
-Its default value "/cow" should be right for most uses. However it could be handy to specify "/home" and type ext2 for the type to prepare an image file suited to be directly mounted by live-initramfs as home.
+Its default value "/live/cow" should be right for most uses. However it could be handy to specify "/home" and type ext2 for the type to prepare an image file suited to be directly mounted by live-initramfs as home.
 .IP "\fB\-d, \-\-device\fR \fIDEVICE\fR" 4
 sets the device where the media which the snapshot/persistence file/partition will be put. If it is not specified, a tmpfs will be used and linked to the user's desktop to move it where it is needed. If the device has no filesystem, an ext2 fs will be automatically created and labelled according to the values specified after the "--output" value or with a sane default.
 .IP "\fB\-e, \-\-exclude\-list\fR \fIFILE\fR" 4
index c82e744..80fd34b 100644 (file)
@@ -34,7 +34,7 @@ live\-snapshot \[`e] uno script che pu\[`o] essere usato per costruire un file i
 
 .SH OPTIONS
 .IP "\fB\-c, \-\-cow\fR \fIDIRECTORY\fR" 4
-specifica la directory da clonare nel file immagine. Il valore di default \[`e] lo stesso default usato da live\-initramfs per la sua directory COW (copy on write, un tempo situata in "/cow") ed \[`e] sufficiente per gli usi comuni. Pu\[`o] essere utile tuttavia specificare "/home" e come tipo "ext2" per preparare un file immagine adatto per essere montato da live\-initramfs come "/home" al boot.
+specifica la directory da clonare nel file immagine. Il valore di default \[`e] lo stesso default usato da live\-initramfs per la sua directory COW (copy on write, un tempo situata in "/live/cow") ed \[`e] sufficiente per gli usi comuni. Pu\[`o] essere utile tuttavia specificare "/home" e come tipo "ext2" per preparare un file immagine adatto per essere montato da live\-initramfs come "/home" al boot.
 .IP "\fB\-d, \-\-device\fR \fIDEVICE\fR" 4
 seleziona il device dove il file/partizione di snapshot o persistenza dovr\[`a] essere sistemato. Se il device non ha un filesystem, ne verr\[`a] creato uno automaticamente, di tipo ext2 ed etichettato (label) in base al valore specificato nell'opzione "--output" o con un default. Se non viene specificato nessun device, verr\[`a] usato un "tmpfs" linkato sul desktop dell'utente, in modo che port\[`a] essere mosso dove si vuole.
 .IP "\fB\-e, \-\-exclude\-list\fR \fIFILE\fR" 4
index 5397837..35ba702 100755 (executable)
@@ -7,7 +7,7 @@ export PATH=/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin
 echo "/root/lib" >> /etc/ld.so.conf
 echo "/root/usr/lib" >> /etc/ld.so.conf
 
-mountpoint=/live_media
+mountpoint=/live/image
 
 root_persistence="live-rw"
 home_persistence="home-rw"
@@ -49,6 +49,13 @@ parse_cmdline ()
                                export DEFCONFSOLE
                                ;;
 
+                       debug)
+                               DEBUG="Yes"
+                               export DEBUG
+
+                               set -x
+                               ;;
+
                        hostname=*)
                                HOSTNAME=${x#hostname=}
                                LIVECONF="changed"
@@ -143,7 +150,7 @@ parse_cmdline ()
                                export NETBOOT
                                ;;
 
-                       nfsopts=)
+                       nfsopts=*)
                                NFSOPTS=${x#nfsopts=}
                                export NFSOPTS
                                ;;
@@ -201,7 +208,7 @@ parse_cmdline ()
                                export SHOWMOUNTS
                                ;;
 
-                      timezone=*)
+                       timezone=*)
                                TIMEZONE="${x#timezone=}"
                                export TIMEZONE
                                ;;
@@ -659,8 +666,8 @@ setup_unionfs() {
     fi
 
     # shows cow fs on /cow for use by live-snapshot
-    mkdir -p "${rootmnt}/cow"
-    mount -o bind /cow "${rootmnt}/cow"
+    mkdir -p "${rootmnt}/live/cow"
+    mount -o bind /cow "${rootmnt}/live/cow"
 }
 
 check_dev ()
@@ -793,7 +800,7 @@ mountroot() {
         live_dest="${TODISK}"
     fi
     if [ "${live_dest}" ]; then
-        log_begin_msg "Copying live_media to ${live_dest}"
+        log_begin_msg "Copying live media to ${live_dest}"
         copy_live_to "${livefs_root}" "${live_dest}"
         log_end_msg
     fi
index bd88a76..b855b62 100755 (executable)
@@ -20,4 +20,4 @@ esac
 
 # live-initramfs script
 
-grep integrity-check /proc/cmdline && live-md5check /live_media /live_media/md5sum.txt < /dev/tty8
+grep integrity-check /proc/cmdline && live-md5check /live/image /live/image/md5sum.txt < /dev/tty8
index 82cc7c3..028c74b 100755 (executable)
@@ -27,9 +27,9 @@ log_begin_msg "Moving mount points..."
 # live-initramfs script
 
 # Move to the new root filesystem so that programs there can get at it.
-if [ ! -d /root/live_media ]; then
-    mkdir -p /root/live_media
-    mount -n --move /live_media /root/live_media
+if [ ! -d /root/live/image ]; then
+    mkdir -p /root/live/image
+    mount -n --move /live/image /root/live/image
 fi
 
 log_end_msg