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
# 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>
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."
Defaults ()
{
MOUNTP="/mnt/live-snapshot"
- COW="/cow"
+ COW="/live/cow"
DEV=""
DEST="${MOUNTP}/live-sn.cpio.gz"
TYPE="cpio"
Usage "Unregognized String" ;;
esac
else
- DEF_COW="/cow"
+ DEF_COW="/live/cow"
# Bad options handling
if [ -z "${SNAP_COW}" ]; then
COW="${DEF_COW}"
+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.
Depends: ${shlibs:Depends}, ${misc:Depends}, file, initramfs-tools, sudo, user-setup
Recommends: eject, live-initscripts
Suggests: genext2fs, squashfs-tools
-Conflicts: casper (<< 1.87)
+Conflicts: casper
Replaces: casper
Description: Debian Live initramfs hook
live-initramfs is a hook for the initramfs-tools, used to generate a initramfs
Homepage: <http://debian-live.alioth.debian.org/>
.
live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>.
-
-Package: casper
-Architecture: all
-Depends: live-initramfs
-Description: Debian Live initramfs hook (transitional package)
- Package to ease upgrading from older casper package to the new live-initramfs
- package.
- .
- This package can be purged at anytime once the live-initramfs package has been
- installed.
if [ -z ${QUICKREBOOT} ]; then
if [ -x /usr/bin/eject ]
then
- eject -p -m /live_media >/dev/null 2>&1
+ eject -p -m /live/image >/dev/null 2>&1
fi
# XXX - i18n
+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:
-.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
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
-.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
.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
.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
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"
export DEFCONFSOLE
;;
+ debug)
+ DEBUG="Yes"
+ export DEBUG
+
+ set -x
+ ;;
+
hostname=*)
HOSTNAME=${x#hostname=}
LIVECONF="changed"
export NETBOOT
;;
- nfsopts=)
+ nfsopts=*)
NFSOPTS=${x#nfsopts=}
export NFSOPTS
;;
export SHOWMOUNTS
;;
- timezone=*)
+ timezone=*)
TIMEZONE="${x#timezone=}"
export TIMEZONE
;;
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 ()
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
# 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
# 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