From 3d52fbcb4fe70132ade14759d76573b471294800 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:46:37 +0200 Subject: Adding live-initramfs 1.87.3-1. --- Makefile | 131 ++ bin/live-md5check/live-md5check.c | 34 +- bin/live-md5check/md5.h | 2 +- bin/live-snapshot | 16 +- conf/live.conf | 8 +- debian/changelog | 6 + debian/control | 18 +- debian/dirs | 4 - debian/examples | 1 - debian/init | 57 +- debian/install | 7 - debian/links | 2 - debian/manpages | 1 - debian/rules | 32 +- doc/ChangeLog | 56 - doc/ChangeLog.casper | 1604 ------------------------ docs/AUTHORS | 12 + docs/CREDITS | 17 + docs/ChangeLog | 162 +++ docs/ChangeLog.casper | 1677 ++++++++++++++++++++++++++ hooks/live | 133 +- manpages/live-initramfs.7 | 84 -- manpages/live-initramfs.en.7 | 95 ++ manpages/live-snapshot.1 | 70 -- manpages/live-snapshot.en.1 | 71 ++ scripts/live | 203 +++- scripts/live-bottom/01integrity_check | 2 +- scripts/live-bottom/02etc_live_conf | 39 + scripts/live-bottom/05mountpoints | 6 +- scripts/live-bottom/10adduser | 60 +- scripts/live-bottom/13swap | 7 +- scripts/live-bottom/14locales | 47 +- scripts/live-bottom/15autologin | 5 + scripts/live-bottom/18hostname | 4 +- scripts/live-bottom/19keyboard | 37 +- scripts/live-bottom/20xconfig | 35 +- scripts/live-bottom/21xvidemode | 41 + scripts/live-bottom/23networking | 18 +- scripts/live-bottom/24preseed | 33 +- scripts/live-bottom/25configure_init | 44 +- scripts/live-bottom/30accessibility | 10 +- scripts/live-bottom/40install_driver_updates | 2 +- scripts/live-functions | 14 + scripts/live-helpers | 42 +- 44 files changed, 2833 insertions(+), 2116 deletions(-) create mode 100644 Makefile delete mode 100644 debian/dirs delete mode 100644 debian/examples delete mode 100644 debian/install delete mode 100644 debian/links delete mode 100644 debian/manpages delete mode 100644 doc/ChangeLog delete mode 100644 doc/ChangeLog.casper create mode 100644 docs/AUTHORS create mode 100644 docs/CREDITS create mode 100644 docs/ChangeLog create mode 100644 docs/ChangeLog.casper delete mode 100644 manpages/live-initramfs.7 create mode 100644 manpages/live-initramfs.en.7 delete mode 100644 manpages/live-snapshot.1 create mode 100644 manpages/live-snapshot.en.1 create mode 100755 scripts/live-bottom/02etc_live_conf create mode 100755 scripts/live-bottom/21xvidemode diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9bf8496 --- /dev/null +++ b/Makefile @@ -0,0 +1,131 @@ +# Makefile + +CFLAGS = -Wall -g -O2 +BUILD_SYSTEM := $(shell lsb_release --short --id) + +TRANSLATIONS="" + +all: build + +test: + set -e; for SCRIPT in hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \ + do \ + sh -n $$SCRIPT || exit 1; \ + done + +build: + # Setting BUILD_SYSTEM + sed -e 's/\(BUILD_SYSTEM="\).*"/\1'$(BUILD_SYSTEM)'"/g' conf/live.conf > live.conf + + # Building live-md5check + CFLAGS="$(CFLAGS)" $(MAKE) -C bin/live-md5check + +install: test build + # Installing configuration + install -D -m 0644 live.conf $(DESTDIR)/etc/live.conf + + # Installing live-md5check + install -D -m 0755 bin/live-md5check/live-md5check $(DESTDIR)/usr/lib/live-initramfs/live-md5check + + # Installing executables + mkdir -p $(DESTDIR)/sbin + cp bin/live-getty bin/live-login bin/live-snapshot $(DESTDIR)/sbin + + mkdir -p $(DESTDIR)/usr/share/live-initramfs + cp bin/live-preseed bin/live-reconfigure $(DESTDIR)/usr/share/live-initramfs + + mkdir -p $(DESTDIR)/usr/share/initramfs-tools + cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools + + # Installing documentation + mkdir -p $(DESTDIR)/usr/share/doc/live-initramfs + cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-initramfs + + mkdir -p $(DESTDIR)/usr/share/doc/live-initramfs/examples + cp -r conf/live.conf $(DESTDIR)/usr/share/doc/live-initramfs/examples + + # Installing manpages + set -e; for MANPAGE in manpages/*.en.1; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \ + done + + set -e; for MANPAGE in manpages/*.en.7; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \ + done + + set -e; for TRANSLATIONS in $$TRANSLATIONS; \ + do \ + for MANPAGE in manpages/*.$$TRANSLATION.1; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \ + done; \ + for MANPAGE in manpages/*.$$TRANSLATION.7; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \ + done; \ + done + + # Temporary symlinks + ln -sf live-initramfs.7.gz $(DESTDIR)/usr/share/man/man7/live-getty.7.gz + ln -sf live-initramfs.7.gz $(DESTDIR)/usr/share/man/man7/live-login.7.gz + +uninstall: + # Uninstalling configuration + rm -f $(DESTDIR)/etc/live.conf + + # Uninstalling live-md5check + rm -f $(DESTDIR)/usr/lib/live-initramfs + + # Uninstalling executables + rm -f $(DESTDIR)/sbin/live-getty $(DESTDIR)/sbin/live-login $(DESTDIR)/sbin/live-snapshot + rm -f $(DESTDIR)/usr/share/live-initramfs + rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live + rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live* + + # Uninstalling documentation + rm -rf $(DESTDIR)/usr/share/doc/live-initramfs + + # Uninstalling manpages + set -e; for MANPAGE in manpages/*.en.1; \ + do \ + rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \ + done + + set -e; for MANPAGE in manpages/*.en.7; \ + do \ + rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \ + done + + set -e; for TRANSLATIONS in $$TRANSLATIONS; \ + do \ + for MANPAGE in manpages/*.$$TRANSLATION.1; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \ + done; \ + for MANPAGE in manpages/*.$$TRANSLATION.7; \ + do \ + install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \ + done; \ + done + + # Temporary symlinks + rm -f $(DESTDIR)/usr/share/man/man7/live-getty.7.gz + rm -f $(DESTDIR)/usr/share/man/man7/live-login.7.gz + +update: + set -e; for MANPAGE in manpages/*.en.*; \ + do \ + sed -i -e 's/2007\\-05\\-07/2007\\-05\\-14/' \ + -e 's/1.87.2/1.87.3/' \ + $$MANPAGE; \ + done + +clean: + rm -f live.conf + $(MAKE) -C bin/live-md5check clean + +distclean: + +reinstall: uninstall install diff --git a/bin/live-md5check/live-md5check.c b/bin/live-md5check/live-md5check.c index 8dfd577..8bac6a0 100644 --- a/bin/live-md5check/live-md5check.c +++ b/bin/live-md5check/live-md5check.c @@ -6,12 +6,12 @@ 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 @@ -128,7 +128,7 @@ void usplash_success(int fd, char *format, ...) { asprintf(&s1, "SUCCESS %s", s); write_and_retry(fd, s1); - + free(s); free(s1); } @@ -161,10 +161,10 @@ int set_nocanonical_tty(int fd) { } int main(int argc, char **argv) { - + int pipe_fd, check_fd; int failed = 0; - + FILE *md5_file; md5_state_t state; md5_byte_t digest[16]; @@ -180,20 +180,20 @@ int main(int argc, char **argv) { fprintf(stderr,"%s \n", argv[0]); exit(1); } - + if (chdir(argv[1]) != 0) { perror("chdir"); exit(1); } - + pipe_fd = open(USPLASH_FIFO, O_WRONLY|O_NONBLOCK); - + if (pipe_fd == -1) { /* We can't really do anything useful here */ perror("Opening pipe"); exit(1); } - + usplash_progress(pipe_fd, 0); usplash_urgent(pipe_fd, "Checking integrity, this may take some time"); @@ -218,18 +218,18 @@ int main(int argc, char **argv) { char buf[BUFSIZ]; ssize_t rsize; int i; - + md5_init(&state); - + usplash_text(pipe_fd, "Checking %s", checkfile); - + check_fd = open(checkfile, O_RDONLY); if (check_fd < 0) { usplash_timeout(pipe_fd, 300); usplash_failure(pipe_fd, "%s", strerror(errno)); sleep(10); } - + rsize = read(check_fd, buf, sizeof(buf)); while (rsize > 0) { @@ -239,13 +239,13 @@ int main(int argc, char **argv) { md5_append(&state, (const md5_byte_t *)buf, rsize); rsize = read(check_fd, buf, sizeof(buf)); } - + close(check_fd); md5_finish(&state, digest); - + for (i = 0; i < 16; i++) sprintf(hex_output + i * 2, "%02x", digest[i]); - + if (strncmp(hex_output, checksum, strlen(hex_output)) == 0) { usplash_success(pipe_fd, "OK"); } else { @@ -266,5 +266,5 @@ int main(int argc, char **argv) { getchar(); reboot(LINUX_REBOOT_CMD_RESTART); return 0; - + } diff --git a/bin/live-md5check/md5.h b/bin/live-md5check/md5.h index 698c995..3baa4dc 100644 --- a/bin/live-md5check/md5.h +++ b/bin/live-md5check/md5.h @@ -71,7 +71,7 @@ typedef struct md5_state_s { } md5_state_t; #ifdef __cplusplus -extern "C" +extern "C" { #endif diff --git a/bin/live-snapshot b/bin/live-snapshot index e3e05fe..b803b15 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -1,10 +1,10 @@ #! /bin/bash -# casper-snapshot - utility to manage Debian Live systems snapshots +# 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 -# in another casper session. Look at manpage for more info. +# in another live-initramfs session. Look at manpage for more info. # # Copyright (C) 2006 Marco Amadori # @@ -122,7 +122,7 @@ Version () echo "On Debian systems, the complete text of the GNU General Public License" echo "can be found in /usr/share/common-licenses/GPL file." echo - echo "Homepage: " + echo "Homepage: " exit 0 } @@ -234,7 +234,7 @@ Defaults () COW=$(echo "${SNAP_RSTRING}" | cut -f1 -d ':') DEV=$(echo "${SNAP_RSTRING}" | cut -f2 -d ':') DEST=$(echo "${SNAP_RSTRING}" | cut -f3 -d ':') - + case "${DEST}" in *.cpio.gz) TYPE="cpio" ;; @@ -255,7 +255,7 @@ Defaults () else COW="${SNAP_COW}" fi - + case "${SNAP_TYPE}" in "cpio"|"squashfs"|"ext2") TYPE="${SNAP_TYPE}" @@ -266,8 +266,8 @@ Defaults () Usage "Error: unrecognized snapshot type" ;; esac - #if [ -d - #if Is_same_mount + #if [ -d + #if Is_same_mount fi # check vars @@ -284,7 +284,7 @@ Clean () if [ -n "$DEV" ]; then umount "${MOUNTP}" rmdir "${MOUNTP}" - rm + #rm fi } diff --git a/conf/live.conf b/conf/live.conf index 0b44894..fc85cc7 100644 --- a/conf/live.conf +++ b/conf/live.conf @@ -1,9 +1,9 @@ -# /etc/live.conf: configuration file for live-initramfs +# /etc/live.conf - configuration file for live-initramfs BUILD_SYSTEM="Debian" USERNAME="user" -USERFULLNAME="Live session user" -HOST="debian" +USERFULLNAME="Debian Live user" +HOSTNAME="debian" -export BUILD_SYSTEM USERNAME USERFULLNAME HOST +export BUILD_SYSTEM USERNAME USERFULLNAME HOSTNAME diff --git a/debian/changelog b/debian/changelog index 1125793..55305fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +live-initramfs (1.87.3-1) unstable; urgency=medium + + * New upstream release. + + -- Daniel Baumann Mon, 14 May 2007 00:00:00 +0200 + live-initramfs (1.87.2-1) unstable; urgency=low * New upstream release. diff --git a/debian/control b/debian/control index 4ddaa45..00b4e24 100644 --- a/debian/control +++ b/debian/control @@ -6,16 +6,24 @@ Uploaders: Daniel Baumann 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}, dmsetup, eject, file, initramfs-tools, sudo, user-setup +Depends: ${shlibs:Depends}, ${misc:Depends}, eject, file, initramfs-tools, sudo, user-setup +Suggests: genext2fs, squashfs-tools Conflicts: casper, usplash (<< 0.4-43) Replaces: casper -Description: Debian Live (alternative) initramfs generator - live-initramfs provides an initramfs generator suited for booting Debian Live - systems from read-only media. +Description: Debian Live initramfs generator + 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. . Homepage: . - live-initramfs is a fork of casper. + live-initramfs is a fork of casper . diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index f929f0c..0000000 --- a/debian/dirs +++ /dev/null @@ -1,4 +0,0 @@ -/etc -/usr/lib/live-initramfs -/usr/share/initramfs-tools/hooks -/usr/share/initramfs-tools/scripts diff --git a/debian/examples b/debian/examples deleted file mode 100644 index 63403a0..0000000 --- a/debian/examples +++ /dev/null @@ -1 +0,0 @@ -conf/live.conf diff --git a/debian/init b/debian/init index 7c0dbe9..a7274bd 100644 --- a/debian/init +++ b/debian/init @@ -1,20 +1,21 @@ -#! /bin/sh +#!/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: Casper init script -# Description: Resyncs snapshots, evantually caches files in order -# to let remove the media. +# 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 -# Author: Tollef Fog Heen -# Marco Amadori -# +# Authors: Tollef Fog Heen +# Marco Amadori + PATH=/usr/sbin:/usr/bin:/sbin:/bin NAME=live-initramfs SCRIPTNAME=/etc/init.d/${NAME} @@ -71,17 +72,27 @@ do_stop () cache_path "$path" done - eject -p -m /cdrom >/dev/null 2>&1 + for x in $(cat /proc/cmdline); do + case $x in + quickreboot) + QUICKREBOOT="Yes" + ;; + esac + done + + if [ -z ${QUICKREBOOT} ]; then + eject -p -m /live_media >/dev/null 2>&1 - # 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 + # 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 + read x < /dev/console + fi } case "$1" in diff --git a/debian/install b/debian/install deleted file mode 100644 index fb597d4..0000000 --- a/debian/install +++ /dev/null @@ -1,7 +0,0 @@ -bin/live-getty sbin -bin/live-login sbin -bin/live-preseed usr/share/live-initramfs -bin/live-reconfigure usr/share/live-initramfs -bin/live-snapshot sbin -hooks usr/share/initramfs-tools -scripts usr/share/initramfs-tools diff --git a/debian/links b/debian/links deleted file mode 100644 index fa3fb68..0000000 --- a/debian/links +++ /dev/null @@ -1,2 +0,0 @@ -/usr/share/man/man7/casper.7.gz /usr/share/man/man7/live-getty.7.gz -/usr/share/man/man7/casper.7.gz /usr/share/man/man7/live-login.7.gz diff --git a/debian/manpages b/debian/manpages deleted file mode 100644 index 96c4bf7..0000000 --- a/debian/manpages +++ /dev/null @@ -1 +0,0 @@ -manpages/* diff --git a/debian/rules b/debian/rules index 79117a9..b827a8f 100755 --- a/debian/rules +++ b/debian/rules @@ -11,9 +11,6 @@ else CFLAGS += -O2 endif -# Looking in which build system we are -BUILD_SYSTEM := $(shell lsb_release --short --id) - upstream: # Needs: subversion cd .. && svn co svn://svn.debian.org/debian-live/dists/trunk/live-initramfs || true @@ -23,17 +20,8 @@ build: build-stamp build-stamp: dh_testdir - # Checking scripts - for SCRIPT in scripts/live scripts/live-bottom/*; \ - do \ - sh -n $$SCRIPT || exit 1; \ - done - - # Setting BUILD_SYSTEM in the binary package - sed -e 's/\(BUILD_SYSTEM="\).*"/\1'$(BUILD_SYSTEM)'"/g' conf/live.conf > live.conf - # Building package - CFLAGS="$(CFLAGS)" $(MAKE) -C bin/live-md5check + CFLAGS="$(CFLAGS)" $(MAKE) touch build-stamp @@ -43,8 +31,7 @@ clean: rm -f build-stamp # Cleaning package - $(MAKE) -C bin/live-md5check clean - rm -f live.conf + $(MAKE) clean dh_clean @@ -55,21 +42,22 @@ install: build dh_installdirs # Installing package - install -m 0755 bin/live-md5check/live-md5check debian/live-initramfs/usr/lib/live-initramfs - install -m 0644 live.conf debian/live-initramfs/etc/live.conf + $(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 binary-arch: build install dh_testdir dh_testroot - dh_installchangelogs doc/ChangeLog - dh_installdocs doc/ChangeLog.casper - dh_installexamples + dh_installchangelogs docs/ChangeLog + dh_installdocs dh_install dh_installinit --no-restart-on-upgrade --no-start -- start 89 0 6 . - dh_installman - dh_link dh_strip dh_compress dh_fixperms diff --git a/doc/ChangeLog b/doc/ChangeLog deleted file mode 100644 index 087aa82..0000000 --- a/doc/ChangeLog +++ /dev/null @@ -1,56 +0,0 @@ -2007-05-06 Daniel Baumann - - * bin/casper-getty, casper-login, casper-preseed, casper-reconfigure, - casper-snapshot: - - Renamed to live-*. - * casper-md5check: - - Moved to bin. - - Renamed to live-md5check. - * casper.conf: - - Moved to conf/live.conf. - * caspermon: - - Removed. - * scripts/casper, casper-bottom, casper-functions, casper-helpers, - casper-premount: - - Renamed to live-*. - * bin/live-getty, live-login, conf/live.conf: - - Reformated. - * bin/live-snapshot, debian/dirs, debian/install, debian/rules, - hooks/live, scripts/live: - - Replaces casper path names with live. - * debian/manpage: - - Moved to manpages. - - Renamed casper.7 to live-initramfs.7. - * debian/init: - - Changed activation parameter from boot=casper to boot=live. - * scripts/casper-bottom/02_timezone: - - Fixed wrong script description. - -2007-04-30 Daniel Baumann - - * Forked casper 1.87. - * COPYING: - - Added. - * debian/control, debian/ubiquity-casper.install, ubiquity-hooks: - - Removed ubiquity support. - * debian/changelog: - - Moved old changelog to doc/ChangeLog.casper. - - Added new changelog for live-initramfs. - * debian/casper.dirs, casper.init, casper.install, casper.manpages, - casper.postinst: - - Renamed, removed packagename prefix from filename. - * debian/compat, copyright, dirs, manpages: - - Updated. - * debian/examples, links: - - Added. - * debian/rules: - - Updated. - - Added upstream target. - * debian/control: - - Updated. - - Added depends to file. - - Added conflicts/replaces to casper. - * debian/postinst: - - Running 'update-initramfs' for all kernel versions instead of - latest only. - * Uploaded 1.87.1-1. diff --git a/doc/ChangeLog.casper b/doc/ChangeLog.casper deleted file mode 100644 index 5e5f2c8..0000000 --- a/doc/ChangeLog.casper +++ /dev/null @@ -1,1604 +0,0 @@ -casper (1.87) feisty; urgency=low - - [ Colin Watson ] - * Improve language at end of MD5 check (LP: #100088). - - [ Martin Pitt ] - * Add casper-bottom/33enable_apport_crashes: Enable apport crash - notifications. They are disabled now by default in the installed system - for the final release. - - -- Martin Pitt Mon, 9 Apr 2007 14:31:50 +0200 - -casper (1.86) feisty; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Point to new settings file for gnome-orca, as package was changed - from python-support to pycentral. (LP: #91868) - - -- Colin Watson Thu, 5 Apr 2007 16:42:54 +0100 - -casper (1.85) feisty; urgency=low - - * Stop disabling nvidia and fglrx drivers. LP: #94359 - - -- Tollef Fog Heen Mon, 2 Apr 2007 13:16:46 +0200 - -casper (1.84) feisty; urgency=low - - [ Jani Monoses ] - * scripts/casper-bottom/13swap: Call /bin/dd not dd so it - correctly detects and uses existing swap partitions (LP: #62868) - - [ Tollef Fog Heen ] - * Make sure that we are settled before trying to set up netbooting. - (LP: #96076) - * Bind-mount /dev too, when configuring X, this should make it easier - for X to be correctly configured on a lot of systems. - * Add /root/lib and /root/usr/lib to /etc/ld.so.conf in the initramfs. - * Add any sources on the CD to APT using apt-cdrom. - * Set the time zone to UTC. LP: #13782 - * Fix deletion of checkroot script. LP: #66585. - - [ Colin Watson ] - * Fix error message if do_netmount fails (LP: #95134). - - -- Tollef Fog Heen Fri, 30 Mar 2007 12:37:58 +0200 - -casper (1.83) feisty; urgency=low - - * Fix usplash version in Conflicts. - * Add XS-Vcs-Bzr field to debian/control. - * scripts/casper-bottom/25configure_init: Support for "respawn COMMAND" - has been dropped from upstart jobs; cope with /etc/event.d/tty* using - "respawn" plus "exec COMMAND" now instead (LP: #92928). - - -- Colin Watson Mon, 19 Mar 2007 16:44:22 +0000 - -casper (1.82) feisty; urgency=low - - [ Ben Collins ] - * Depends on eject package, and copy it into initramfs. - * Add log_wait_msg function to use usplash_write INPUTENTER. - * Conflict with usplash older than the one that fixes INPUTENTER. - * Add driver-updates hooks. - - [ Colin Watson ] - * Fix more leftover /live_media wreckage (LP: #84592). - * Add a ubiquity hook to install driver-updates on the target system. - - -- Colin Watson Mon, 5 Mar 2007 11:19:48 +0000 - -casper (1.81) feisty; urgency=low - - * Merge in Debian's changes. - - -- Tollef Fog Heen Wed, 7 Feb 2007 14:39:30 +0100 - -casper (1.80) feisty; urgency=low - - * scripts/casper-bottom/31disable_update_notifier: Allow update-notifier - to run for crash report handling, but disable its apt-check hook. - - -- Colin Watson Thu, 1 Feb 2007 00:11:06 +0000 - -casper (1.79) feisty; urgency=low - - [ Colin Watson ] - * ubiquity-hooks/30accessibility: Change /root to /target in - kderc_addtoprefixes (thanks, Jani Monoses). - * Call udevsettle after udevtrigger (thanks, Matthias Urlichs; LP: - #77438). - * Send casper-reconfigure error messages to stderr rather than stdout to - avoid interfering with debconf. - - [ Jani Monoses ] - * ubiquity-hooks/30accessibility, scripts/casper-bottom/30accessibility: - Fix v2 option to start orca in magnifier not speech mode. - Add v1, v2, v3, m1 and m2 Xubuntu options - - [ Tollef Fog Heen ] - * Apply patch from Luka Renko to support kde-guidance-powermanager and - ksmserver instead of klaptoprc as the latter is no longer used. - - -- Tollef Fog Heen Wed, 10 Jan 2007 20:37:30 +0100 - -casper (1.78) edgy; urgency=low - - * Mount the first squashfs as /rofs. Breaks showmounts and won't work - properly with stacked filesystems, but works around a kernel oops with - multiply-mounted squashfses for Edgy. - - -- Colin Watson Wed, 25 Oct 2006 12:46:05 +0100 - -casper (1.77+debian-6) unstable; urgency=medium - - * Improved snapshots features (even still experimental). - * Added "live-media-offset=BYTES" boot param, to enable "hiding" - feature, thanks to Sebastien Raveau . - * Now it creates /etc/resolv.conf if netbooted. - - -- Marco Amadori Fri, 1 Dec 2006 17:43:30 +0100 - -casper (1.77+debian-5) unstable; urgency=low - - * Fixed preseeding locale and keyboard's variant and options. - * Reorganized scans of /proc/cmdline. - * Improved manpages, thanks to Oliver Osburg for syntax corrections. - * Added "nopersistent" boot option to disable the "persistent" boot param. - * Added "xdebconf" boot option, that uses xdebconfigurator on the - rootfs to configure X (experimental). - - -- Marco Amadori Mon, 20 Nov 2006 22:12:18 +0100 - -casper (1.77+debian-4) unstable; urgency=medium - - * Removed -phigh from casper-reconfigure, not needed anymore. - * Fixed netboot /etc/network/interfaces generation, thanks to Hadar - . - * Fixed X keyboard setup. Thanks to for the idea. - * Fixed keyboard setup. - * Allow commandline-device to show up late, thanks to Bas Wijnen - for the code and the care (Closes: #397320). - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - -- Marco Amadori Mon, 6 Nov 2006 19:00:29 +0100 - -casper (1.77+debian-3) unstable; urgency=medium - - * Fixed "todisk=" parsing. - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - -- Marco Amadori Wed, 1 Nov 2006 11:15:56 +0100 - -casper (1.77+debian-2) unstable; urgency=medium - - [ Marco Amadori ] - * Improved snapshotting (but still experimental). - * Renamed "host=" boot parameter to "hostname=" and shell variable "HOST" to - "HOSTNAME" for consistence, with linux and with username/USERNAME, as - requested by many people. - * Fixed a "keyb=" typo. - * Added dependence on lsb-base (used by init-script and - casper-snapshot). - * Removed DM support (obsolete). - * Changed a bit locale and keyboard handling. - * Fixed locale generation. - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - [ Otavio Salvador ] - * Really lowered usplash conflicts since Debian doesn't has 0.4. - - -- Marco Amadori Mon, 30 Oct 2006 17:06:48 +0100 - -casper (1.77+debian-1) unstable; urgency=low - - * New upstream release. - * Added snapshot persistence feature (copy on boot, sync on reboot) via - different ways: squashfs, cpio.gz, and block device filesystems. - * Added boot parameter "live-media=" to force trying to boot from - a specified device. - * Added support for "todisk=" to copy the live media to a - device filesystem, subsequent boots could use "live-media=". - * Slightly polished locales and keyboards handling. - * Extendend manpages. - * Readded a missing "sleep 1", reworked how live_media is detected, - thanks to Bas Wijnen for the reports. - (Closes: #394308, #394554). - * Reworked casper-getty system, thanks to Alex Owen (Closes: #394686). - * Postint now rebuild all initramfs. - * Casper now Recommends also squashfs-tools and genext2fs, maybe - needed by casper-snapshot. - * Lowered usplash requirements, since usplash 0.4 is not in debian - yet. - - -- Marco Amadori Sun, 22 Oct 2006 20:25:38 +0200 - -casper (1.77) edgy; urgency=low - - * Honour console-setup/modelcode preseeding. Needed for Malone #66719, - #66774. - - -- Colin Watson Fri, 20 Oct 2006 19:59:39 +0100 - -casper (1.76) edgy; urgency=low - - [ Colin Watson ] - * Copy access=m2 accessibility changes into the corresponding ubiquity - hook. - * Remove spurious quoting from accessibility script. - * Clear console-setup/layoutcode and console-setup/variantcode if they - aren't supplied on the command line. - - [ Michael Vogt ] - * scripts/casper-bottom/35fix_language_selector: - - run fontconfig-voodoo if available to make sure that we have - optimal fontconfig settings for the CJK languages (lp: #49334) - - [ Henrik Nilsen Omma ] - * Fix a few accessibility items that were out of date, changing - gnopernicus -> orca and gok -> onboard (the gok entry was missing some - brackets as well; patch from Malone #58836, closes: Malone #65861). - - -- Colin Watson Mon, 16 Oct 2006 20:20:15 +0100 - -casper (1.75) edgy; urgency=low - - * Turn on accessibility in "Motor Difficulties - pointing devices" which - makes onboard start properly. closes: Malone: #65861. - - -- Tollef Fog Heen Fri, 13 Oct 2006 14:12:10 +0200 - -casper (1.74) edgy; urgency=low - - [ Tollef Fog Heen ] - * Sync up ubiquity-hooks/30accessibility with - scripts/casper-bottom/30accessibility fixing spelling errors and - enabling accessibility in KDE. - - [ Colin Watson ] - * Fix check for presence of gconf2 (closes: Malone #58836). - - -- Colin Watson Wed, 11 Oct 2006 11:18:00 +0100 - -casper (1.73) edgy; urgency=low - - * Never run install-keymap or preseed debian-installer/keymap if - console-setup is detected, even if console-setup wasn't explicitly - preseeded. Contributes to Malone #60067. - - -- Colin Watson Sat, 7 Oct 2006 01:56:20 +0100 - -casper (1.72) edgy; urgency=low - - * Force suspend and hibernate both off, since reconfiguring - gnome-power-manager kills usplash here. Fixes Malone: #61535 - completely. - - -- Tollef Fog Heen Fri, 6 Oct 2006 14:22:23 +0200 - -casper (1.71+debian-1) unstable; urgency=low - - * New upstream release. - * Added experimental casper-snapshot script and manpage. - * Tagged for debtags project. - - -- Marco Amadori Thu, 28 Sep 2006 16:04:54 +0200 - -casper (1.71) edgy; urgency=low - - * Use TEXT-URGENT in shutdown script to make sure we display the "please - remove disc and press enter" text. Malone: #61533 - * Increase usplash timeout since "TIMEOUT 0" no longer means "spin - forever". - * Don't move-mount all the squashfs-es into / since that confuses mono - (and some other apps too). Malone: #62756 - * Disable kwallet by default. Malone: #47743 - * Add -n to language selector to make it not whine about - not-fully-installed langpacks. Malone. #37568 - * Override definition of log_end_msg in casper-functions. Make sure all - casper-bottom scripts use this. - * Pulsate bar in casper-top and casper-bottom. Malone: #61535 - - -- Tollef Fog Heen Wed, 4 Oct 2006 09:52:06 +0200 - -casper (1.70) edgy; urgency=low - - * Check for new file= alias as well as preseed/file= (closes: Malone - #63145). - - -- Colin Watson Wed, 4 Oct 2006 08:59:53 +0100 - -casper (1.69) edgy; urgency=low - - [ Tollef Fog Heen ] - * Use grep -E in scripts/casper. Malone: #57620 - * Fix syntax error in accessibility script - - [ Colin Watson ] - * Run 'sh -n' over everything in build target to avoid future syntax - errors. - * Fix check for /etc/default/console-setup (closes: Malone #62775). - - -- Colin Watson Mon, 2 Oct 2006 10:58:19 +0100 - -casper (1.68+debian-3) unstable; urgency=low - - * Really add casper manpage (Closes: #389867). - * Lintian cleanness reached. - - -- Marco Amadori Thu, 28 Sep 2006 12:36:29 +0200 - -casper (1.68+debian-2) unstable; urgency=low - - * Changed "staticip=" boot param to just "ip=". - * Added a manpage for casper. - * Lintian cleanings. - - -- Marco Amadori Tue, 26 Sep 2006 00:45:21 +0200 - -casper (1.68+debian-1) unstable; urgency=low - - * New upstream release. - * Added static network configuration support. - * Fixed gnome-screensaver-lock differences between ubuntu. - * username, host, and userfullname are now also settable - via kernel parameters. - - -- Marco Amadori Fri, 8 Sep 2006 11:26:02 +0200 - -casper (1.68) edgy; urgency=low - - * Honour console-setup/layoutcode and console-setup/variantcode preseeding - (closes: Malone #61573). - - -- Colin Watson Fri, 22 Sep 2006 16:09:53 +0100 - -casper (1.67) edgy; urgency=low - - * Make sure to write xorg.conf md5sum to the installed system, not the - live system in ubiquity-hooks/20xconfig - * Implement support for setting KDE's accessibility options too, thanks - to Jonathan Riddell for the patch. - * Use usplash's TEXT-URGENT for important messages when doing md5 checks - * Fix flashing of progress bar on 32 bit arches - - -- Tollef Fog Heen Wed, 23 Aug 2006 14:34:57 +0200 - -casper (1.66+debian-1) unstable; urgency=low - - * Added "magic" to make it work seamlessy also on ubuntu systems. - * Default user password now "live". - - -- Marco Amadori Fri, 1 Sep 2006 17:18:07 +0200 - -casper (1.66) edgy; urgency=low - - * Fix use of db_get in ubiquity accessibility hook. - * Use sudo instead of su to get to the live session user from the - initramfs or to the newly-installed user from ubiquity. su's argument - handling has changed so that the previous code no longer worked, and su - was never all that good for arguments containing spaces anyway. - - -- Colin Watson Mon, 4 Sep 2006 15:46:55 +0100 - -casper (1.65+debian-1) unstable; urgency=low - - * New upstream release. - * Re-included ubiquity sources since it is here anyway in diff.gz. - * Included remote getty patch from Alex Owen (enable it with "casper-getty" - as kernel parameter). - - -- Marco Amadori Thu, 17 Aug 2006 14:06:10 +0200 - -casper (1.65) edgy; urgency=low - - * Update to call udevsettle/udevtrigger instead of udevplug - - -- Tollef Fog Heen Mon, 21 Aug 2006 19:37:58 +0200 - -casper (1.64) edgy; urgency=low - - * Fix moving of squashfs mount points so that /proc/mounts in the - installed system refers to them correctly (closes: Malone #55019). As a - bonus, this lets us mount them on subdirectories of /casper/ right from - the start. - * Treat locale= as equivalent to debian-installer/locale= (closes: Malone - #53444). - * Fix ubiquity-hooks/30accessibility not to use log_end_msg, and to chroot - to /target instead of /root (closes: Malone #53277). - - -- Colin Watson Thu, 3 Aug 2006 14:00:22 +0100 - -casper (1.63+debian-3) unstable; urgency=low - - * Really do not try to eject cd if netbooted. - * Fixed unionfs ro param in case of nfs netboot (Closes: 383346). - - -- Marco Amadori Wed, 16 Aug 2006 20:10:11 +0200 - -casper (1.63+debian-2) unstable; urgency=low - - * Working netboot support (Closes: #380506). - * Polished kernel parameters parsing a bit. - - -- Marco Amadori Sun, 13 Aug 2006 15:52:14 +0200 - -casper (1.63+debian-1) unstable; urgency=low - - [Marco Amadori] - * New upstream release. - * Fixed upstream changelog. - * Really fixed the user password issue, now really "debian". - * Reincluded casper-md5ckeck in debian/rules and 05mountpoints in - script/casper-bottom. - * Rewrote netboot support now will support all types of rootfs file images - (not only plain dirs) like cd/dvd one. - * Included a fix for USB by Davide Natalini - * Included support for plain directory as RO rootfs. - * Removed xfs support (not implemented in make-live, maybe useless). - - [Alex Owen] - * Added NFS netboot support (Closes: #380506). - * Fixed /etc/inittab editing (Closes: #380488). - * Do not try to eject cd if netbooted (Closes: #380502). - - [Daniel Baumann] - * Minor debian/rules reordering. - * Changed "Section:" from "admin" to "misc". - - -- Marco Amadori Sun, 30 Jul 2006 19:10:23 +0200 - -casper (1.63) edgy; urgency=low - - [ Tollef Fog Heen ] - * Change "Live CD user" to "live session user" in the adduser script. - Malone #46882 - * Wait for persistent devices for 30 seconds, not 1500. - * Make sure that readahead-list is installed before chmod -x'ing it. - * Only disable l-r-m and anacron if they are installed. - * Make sure laptop-detect is installed before trying to call it. - * Do not install init script from the initramfs any more. It should - have rc.d links already in the squashfs. - * Minor build system fixes. - * Only copy devmapper relevant files if devmapper is installed. - * Remove ubuntu-specific branding from the default casper. - * Install default configuration file and make it end up in the - initramfs. - * Get rid of CD references and replace with medium or other appropriate - terms. - * Add stacked file system support - - [ Marco Amadori ] - * Added possibility to set locale on chroot, not only at runtime. - * Updated 14locales to latest debian policy. - - [ Malcolm Gilles ] - * USB devices can have ID_PATH with pci-*-usb, too. - - -- Tollef Fog Heen Tue, 18 Jul 2006 10:20:51 +0200 - -casper (1.61+debian-2) unstable; urgency=low - - * Set password for user to 'debian'. - - -- Daniel Baumann Wed, 19 Jul 2006 20:56:00 +0200 - -casper (1.61+debian-1) unstable; urgency=low - - [ Daniel Baumann ] - * Rebuild tarball without debian directory. - * Using dpatch for upstream modifications. - * Added patch for proper GDM autologin from Arnaud Cornet - . - - [ Marco Amadori ] - * New upstream release (Resynced with 1.61, bzr 258). - * Usb discover patch from Malcom Gilles . - -- Marco Amadori Tue, 18 Jul 2006 23:34:59 +0200 - -casper (1.61) edgy; urgency=low - - * Move PATH setting to top of casper script to avoid silliness where - PATH isn't correctly set. - - -- Tollef Fog Heen Mon, 17 Jul 2006 12:53:59 +0200 - -casper (1.60) edgy; urgency=low - - * Change start symlinks to kill symlinks for anacron, to avoid it being - started by invoke-rc.d and similar. - * Rearrange source package. - * Redo how the init script works and require it to be installed in the - live fs. - * Bump version number to be higher than Debian's so we don't - automatically sync. - - -- Tollef Fog Heen Wed, 31 May 2006 00:01:40 +0200 - -casper (1.59+debian-1) unstable; urgency=low - - [ Daniel Baumann ] - * Upload to unstable (Closes: #354539). - - [ Marco Amadori ] - * Added possibility to set locale on chroot, not only at runtime. - * Removed "persistent" wait. - * Fixed persistence lock and added "homepersistence" boot parameter. - * Updated locales handling to latest debian policy. - * Cleanups - - -- Daniel Baumann Thu, 22 Jun 2006 06:21:00 +0200 - -casper (1.59+debian-0) UNRELEASED; urgency=low - - * Added "toram" boot parameter. - * Extendend fs support to ext2 and xfs file image. - * Changed debian-inexistant "-Q" modprobe option with "-q". - * Removed ubiquity code. - * USERNAME and HOST defaulted to "debian". - * Preliminary netboot (cifs) patch by - "Jason D. Clinton" - * Lowered dependence of dmsetup code (now only Suggests). - * Checks for replacing "udevplug" (ubuntu-only) with "udevtrigger". - * Reworked xorg and anacron patches from - Frederic Lehobey . - * scripts/casper-bottom/10adduser: configuring only the $USERNAME for sudo - instead of group 'admin'. - - -- Marco Amadori Fri, 16 Jun 2006 11:01:48 +0200 - -casper (1.58) dapper; urgency=low - - * Really rename properly, without dirname. - - -- Scott James Remnant Tue, 30 May 2006 22:47:04 +0100 - -casper (1.57) dapper; urgency=low - - * Rename the anacron rc.d/S* symlinks to K*, instead of removing them. - Because otherwise pbbuttonsd decides that starting anacron on the - LiveCD would be a clever thing to do. - - -- Scott James Remnant Wed, 24 May 2006 23:06:04 +0100 - -casper (1.56) dapper; urgency=low - - * Hopefully work a bit better when checking DVDs on 32 bit - architectures. - * Do an explicit read from /dev/console when waiting for keypress after - CD/DVD has been ejected. - - -- Tollef Fog Heen Mon, 22 May 2006 16:43:03 +0200 - -casper (1.55) dapper; urgency=low - - * Reconfigure gnome-power-manager when doing live installations. - Malone #45654 - - -- Tollef Fog Heen Mon, 22 May 2006 11:16:46 +0200 - -casper (1.54) dapper; urgency=low - - [ Luke Yelavich ] - * Set large print fonts for the v1 accessibility profile. Closes - Malone #45376. - - [ Colin Watson ] - * Fix preseed/file handling (closes: Malone #43683). - - -- Tollef Fog Heen Thu, 18 May 2006 19:36:24 +0200 - -casper (1.53) dapper; urgency=low - - [ Tollef Fog Heen ] - * Disable fglrx and nvidida drivers by default. Somewhat addresses - #43706 - - [ Colin Watson ] - * Pass all command-line preseed arguments (other than preseed/file) to - /root's debconf db. - - -- Tollef Fog Heen Sat, 13 May 2006 10:14:36 +0200 - -casper (1.52) dapper; urgency=low - - * Export the path in casper-reconfigure so X and friends actually have - sbin in their path. - - -- Tollef Fog Heen Thu, 11 May 2006 21:04:11 +0200 - -casper (1.51) dapper; urgency=low - - [ Luke Yelavich ] - * casper-bottom/30accessibility: - - Removed stale reference to acessx_applet. - - Fix some typos for gconf values that had to be set as lists. - - [ Colin Watson ] - * Pass debian-installer/locale to /root's debconf db (closes: Malone - #41896). - * Identify ourselves as casper when communicating with debconf. - * Factor out preseeding code into casper-preseed; this knows that it only - needs to register a question if it fails to set it, which saves memory - by avoiding debconf having to rewrite templates.dat. - * Preseed kbd-chooser/method as well as debian-installer/keymap, so that - kbd-chooser run from ubiquity picks up the selected keyboard (closes: - Malone #42202). - * Use new dpkg-reconfigure --no-reload option (debconf 1.4.72ubuntu6) to - avoid needlessly rewriting templates.dat. - - [ Tollef Fog Heen ] - * Add ... to the end of all usplash messages. Malone #43856 - * Add maybe_break casper-bottom to allow breaking before running bottom - scripts. Malone #43860 - * Don't show the name of the live cd user that's added. - * Mount COW filesystem if show-cow is present on the kernel command line. - Malone #43687 - * Disable the Kubuntu update notifier too. Malone #43806 - * Disable hibernation and enable sleep where appropriate. Malone #23882 - - -- Tollef Fog Heen Thu, 11 May 2006 12:11:08 +0200 - -casper (1.50) dapper; urgency=low - - [ Luke Yelavich ] - * Fixed some typos, and added missing settings to some accessibility - profiles, as they were either not working properly, or at all. Malone: - #39472, #39473 - * Removed the desktop wallpaper, and changed the background colour to gray - for the v1 accessibility profile. - * Set the whiteglass mouse theme for the v1 accessibility profile. - * Moved the gconftool-2 -s flag to individual gct calls, to allow for future - use of gconftool-2 flags that are incompatible with -s. - - [ Daniele Favara ] - * Allow custom HOST, USERNAME, USERFULLNAME. Malone: #42118 - * Add example file - - debian/casper.dir: Add examples dir - - debian/casper.conf: Explain briefly how to use new variables - - debian/rules: Install casper.conf as example_conf_casper - - [ Tollef Fog Heen ] - * Stylistic changes to Daniele's changes. - - -- Tollef Fog Heen Tue, 2 May 2006 14:12:31 +0200 - -casper (1.49) dapper; urgency=low - - * Also look for hardware named wlan* - - -- Scott James Remnant Wed, 26 Apr 2006 13:37:13 +0100 - -casper (1.48) dapper; urgency=low - - * Write /etc/network/interfaces entries for eth0, eth1, eth2, ath0 and - wlan0 if there's no hardware detected for them; as it may be plugged - in after boot. - - -- Scott James Remnant Wed, 26 Apr 2006 12:31:38 +0100 - -casper (1.47) dapper; urgency=low - - [ Tollef Fog Heen ] - * Turn on debugging of the X config. - * Log to a file which gets copied to /var/log/casper.log. Malone: #39895 - * Only pick UTF-8 locales. Malone: #40178 - * Use correct /root rather than /target for seeing what version of - gnome-panel-data is installed. - * Make festival (and probably some other apps) happier by using - 127.0.1.1 for our ubuntu hostname and 127.0.0.1 just resolves to - "localhost". - * Make casper-md5check read from tty8 since it wants to get keypresses - from the active console (where usplash runs). Malone: #40490. - * Copy /etc/modules when installing with ubiquity. Malone: #40311 - * /etc/gdm/gdm-cdd.conf can be a symlink. Cope with that. Malone: #40767 - - [ Colin Watson ] - * ubiquity-casper conflicts/replaces espresso-casper. - - -- Tollef Fog Heen Mon, 24 Apr 2006 09:41:14 +0200 - -casper (1.46) dapper; urgency=low - - * Use debian-installer/dummy for preseeding rather than espresso/dummy, - since the latter was removed in espresso 0.99.38. - * espresso is being renamed to ubiquity. Rename espresso-casper to - ubiquity-casper to match. - - -- Colin Watson Fri, 21 Apr 2006 12:52:48 +0100 - -casper (1.45) dapper; urgency=low - - [ Matt Zimmerman ] - * [share/shutdown] Disable the usplash timeout and wrap the prompt to two - lines - - [ Tollef Fog Heen ] - * Use devmapper for ia64, hppa and sparc. - - -- Tollef Fog Heen Wed, 19 Apr 2006 11:36:49 +0200 - -casper (1.44) dapper; urgency=low - - * Reset the timeout after casper-premount has run so we're sure that the - timeout is what we want it to be. Udev seems to change it too. - * Remove a few set -x commands to make the boot slightly less verbose. - * Fix 10adduser to actually install the correct icons for espresso. - - -- Tollef Fog Heen Wed, 12 Apr 2006 14:20:53 +0200 - -casper (1.43) dapper; urgency=low - - * Copy espresso-kdeui.desktop file to user's desktop - Branch at http://kubuntu.org/~jriddell/bzr/casper/trunk/ - - -- Jonathan Riddell Thu, 13 Apr 2006 15:37:49 +0100 - -casper (1.42) dapper; urgency=low - - [ Luke Yelavich ] - * casper-bottom/30accessibility: - - Removed some settings from accessibility profiles as these are now - in the relevant packages. - - [ Tollef Fog Heen ] - * Make sure to call gconftool as the right user. Malone #38408 - * Write an entry for / in fstab. Hopefully fixes Malone #34330 - * Change gdm-cdd.conf if it exists, not gdm.conf. Malone #37467 - * Really disable update-notifier, this time by removing the correct - file. - - -- Tollef Fog Heen Tue, 11 Apr 2006 15:43:24 +0200 - -casper (1.41) dapper; urgency=low - - * Don't mkdir then install -D, just install -D (this should prevent - ~ubuntu/Desktop being owned by root) - - -- Tollef Fog Heen Wed, 29 Mar 2006 10:52:42 +0200 - -casper (1.40) dapper; urgency=low - - * Add snd_powermac to /etc/modules on ppc. (Malone: #27862) - * Use chmod -x instead of mv to disable readahead in order to not - trigger unionfs bugs - * Reboot the system when a key is pressed at the end of the integrity - check. (Malone: #29203) - * Use usplash_write too when doing shutdown. (Malone: #34537) - - -- Tollef Fog Heen Tue, 28 Mar 2006 10:09:49 +0200 - -casper (1.39) dapper; urgency=low - - [ Tollef Fog Heen ] - * Disable update-notifier by default, as it won't make much sense for - most people. - - [ Colin Watson ] - * Clear out user-setup questions from the debconf database after creating - the live CD user, to avoid confusing espresso into offering "Ubuntu - LiveCD user" as the user's default full name. - - -- Tollef Fog Heen Mon, 13 Mar 2006 11:38:39 +0100 - -casper (1.38) dapper; urgency=low - - * Disable readahead since it breaks too much with squashfs and unionfs. - - -- Tollef Fog Heen Thu, 9 Mar 2006 09:43:39 +0100 - -casper (1.37) dapper; urgency=low - - * Add support for having the squashfs directly on a device, thanks to - Paul Sladen for idea and a patch. - * If a directory "Examples" exists in ~ after we've run adduser, move it - to the Desktop subdirectory for greater visibility. - - -- Tollef Fog Heen Sat, 4 Mar 2006 11:55:50 +0100 - -casper (1.36) dapper; urgency=low - - [ Tollef Fog Heen ] - * Fix typo in find_cow_device so block devices didn't work at all. - Malone #31639. Thanks to Richard Nemec for the catch. - * Update accessibility framework, thanks to Luke Yelavich. - - [ Colin Watson ] - * Move the /cdrom mount into the new root filesystem. - - -- Tollef Fog Heen Wed, 1 Mar 2006 11:13:54 +0100 - -casper (1.35) dapper; urgency=low - - * Check for preseed/file= in /proc/cmdline and feed any given file to - debconf-set-selections. - - -- Colin Watson Mon, 27 Feb 2006 17:32:02 +0000 - -casper (1.34) dapper; urgency=low - - [ Luke Yelavich ] - * Add initial accessibility support framework - - -- Tollef Fog Heen Wed, 22 Feb 2006 14:36:07 +0100 - -casper (1.33) dapper; urgency=low - - * Make sure Desktop and the espresso-$ui.desktop is owned by the Ubuntu - user. Malone #31991 - * Fix check for rc6.d/S90reboot at the bottom of 25configure_init to - actually look in the right place. - * Make me the maintainer of the package. - - -- Tollef Fog Heen Mon, 20 Feb 2006 09:49:02 +0100 - -casper (1.32) dapper; urgency=low - - * Fix copying of /usr/share/applications/espresso-gtkui.desktop. - - -- Colin Watson Thu, 16 Feb 2006 16:47:15 +0000 - -casper (1.31) dapper; urgency=low - - [ Tollef Fog Heen ] - * Print message about rebooting the system when the md5 check is - finished. - * Just have one copy of the casper shutdown scripts and symlink those - into the right place. Malone #20978 - - [ Colin Watson ] - * Copy /usr/share/applications/espresso-gtkui.desktop to the live CD - user's desktop. - - -- Tollef Fog Heen Tue, 14 Feb 2006 14:52:16 +0100 - -casper (1.30) dapper; urgency=low - - * Set a blank password for the ubuntu user. This hopefully resolves - Malone #30118 - * Pass keyboard layout information to xserver-xorg in the "new" scheme. - * Set up the right console keymap. - - -- Tollef Fog Heen Tue, 14 Feb 2006 14:48:14 +0100 - -casper (1.29) dapper; urgency=low - - [ Tollef Fog Heen ] - * Fix typo in 22gnome_panel_data - * Configure all detected network interfaces. - * Add support for putting the persistent storage in a loopback file on - vfat volumes - * Configure all detected network interfaces. - * Allow putting the live filesystem image on a VFAT volume - * Allow putting the persistent storage in a loopback file on a VFAT - volume - * Lots of cleanups - - [ Colin Watson ] - * Change casper-reconfigure to take the target root filesystem as its - first argument. - * Add espresso-casper package with hooks to repeat some things done by - casper in the installed system. - - -- Tollef Fog Heen Wed, 25 Jan 2006 14:25:45 +0100 - -casper (1.28) dapper; urgency=low - - * Depend on user-setup - * First shot at IEEE1394 support. Add sbp2 and ohci1394 as modules to - be copied into the initramfs. - - -- Tollef Fog Heen Mon, 16 Jan 2006 22:06:35 +0100 - -casper (1.27) dapper; urgency=low - - * Try using unionfs on ppc again - - -- Tollef Fog Heen Tue, 10 Jan 2006 20:55:19 +0100 - -casper (1.26) dapper; urgency=low - - * Add persistency support - * Usplash integration - - -- Tollef Fog Heen Tue, 10 Jan 2006 17:53:54 +0100 - -casper (1.25) dapper; urgency=low - - * Make /rofs available to in the target system. - - -- Tollef Fog Heen Mon, 9 Jan 2006 15:25:12 +0100 - -casper (1.24) dapper; urgency=low - - * For debconf-communicate, use a here-doc rather than trying to have \n - working in shell variables. - * The usplash fifo has moved, update paths accordingly. Also conflict - with the old usplash and depend on new enough initramfs-tools. - - -- Tollef Fog Heen Fri, 6 Jan 2006 14:20:37 +0100 - -casper (1.23) dapper; urgency=low - - * Move the building to binary-dep, since we're an arch: any package - now. - - -- Tollef Fog Heen Thu, 5 Jan 2006 10:37:31 +0100 - -casper (1.22) dapper; urgency=low - - * Bunch debconf-communicate commands together to speed up the boot a - little bit. - * Add integrity checker, this is compiled code, so casper is now arch: - any - - -- Tollef Fog Heen Wed, 4 Jan 2006 12:56:13 +0100 - -casper (1.21) dapper; urgency=low - - * If locale is unset, use en_US.UTF8, not whatever comes first in the - list of supported locales. - * Generate locale and set the locale in /etc/environment - * Use user-setup to create the user, rather than doing it ourselves. - * Various cleanups and fixes, such as making debconf-communicate silent - * Disable checkroot when booting - - -- Tollef Fog Heen Mon, 2 Jan 2006 11:00:25 +0100 - -casper (1.20) dapper; urgency=low - - * Remove a large bunch of debugging output - * Depend on dmsetup so the hook script can copy in that - * Handle both squashfs and cloop images, with run-time detection - * Use devmapper + cloop on powerpc, not unionfs, since unionfs is a - disaster there. - * Make sure we have both SCSI and IDE CDROM modules available in the - initramfs. - * Do some initial keyboard setup handling so X will, at least in some - cases, have a chance of giving the user a sane keymap. - - -- Tollef Fog Heen Mon, 19 Dec 2005 14:23:13 +0100 - -casper (1.19) dapper; urgency=low - - * Switch to initramfs, so casper only survives in spirit - * Use unionfs instead of a writeable devmapper snapshot - * Remove all debconfiscation, since we're an initramfs script now - * Make the postinst call update-initramfs -u - * Mount the CD read-only explicitly - * Make udevinfo silent if the device is not found. - - -- Tollef Fog Heen Tue, 13 Dec 2005 16:22:45 +0100 - -casper (1.18) breezy; urgency=low - - * Update translations from Rosetta: Greek, Spanish, French, Hungarian, - Brazilian Portuguese. - - -- Colin Watson Mon, 19 Sep 2005 20:05:02 +0100 - -casper (1.17) breezy; urgency=low - - * Set /apps/gnome-screensaver/lock if gnome-screensaver is installed - - -- Matt Zimmerman Fri, 16 Sep 2005 15:24:35 -0700 - -casper (1.16) breezy; urgency=low - - * Install a fake script in /lib/debian-installer.d/S72menu-exit after - pivoting that just calls sleep, to prevent scary console messages as d-i - tries to exit without its root filesystem. - - -- Colin Watson Wed, 14 Sep 2005 10:28:06 +0100 - -casper (1.15) breezy; urgency=low - - * Neutralize branding in startup message - * Use clear in addition to reset, in hopes of concealing error messages on - the console from d-i's death throes - - -- Matt Zimmerman Fri, 9 Sep 2005 11:24:14 -0700 - -casper (1.14) breezy; urgency=low - - * Set RUNNING_UNDER_GDM=yes in the user's environment to stop xscreensaver - locking the screen (Ubuntu #7150). - - -- Colin Watson Thu, 8 Sep 2005 13:37:00 +0100 - -casper (1.13) breezy; urgency=low - - * Use reset, rather than clear, to clean up after the colored dialogs on vt1 - - -- Matt Zimmerman Wed, 7 Sep 2005 16:09:45 -0700 - -casper (1.12) breezy; urgency=low - - * Kill bterm after pivoting so that we can use vt1 rather than vt2, - thereby avoiding a fight between gdm and the X server (closes: Ubuntu - #14851). - - -- Colin Watson Wed, 7 Sep 2005 15:48:40 +0100 - -casper (1.11) breezy; urgency=low - - * Remove debugging code which crept into 1.10 - * Revert changes to casper-udeb.postinst which were intended for - starting usplash earlier (pre-1.10) - - -- Matt Zimmerman Fri, 2 Sep 2005 13:43:03 -0700 - -casper (1.10) breezy; urgency=low - - * Instead of starting usplash directly, create an init script which will - start it later (after the new init), to avoid it being killed by - busybox init - - -- Matt Zimmerman Mon, 29 Aug 2005 20:26:58 -0700 - -casper (1.9) breezy; urgency=low - - * Remember to re-run 30copy-dev from 94usplash, in order to preserve the - device nodes clobbered by udev - * Redirect stdin of /etc/init.d/udev from /dev/console, to avoid - incredibly obnoxious 60-second sleep because it thinks we're - interactive - - -- Matt Zimmerman Mon, 29 Aug 2005 18:30:38 -0700 - -casper (1.8) breezy; urgency=low - - * Add usplash support - - -- Matt Zimmerman Mon, 29 Aug 2005 17:30:57 -0700 - -casper (1.7) breezy; urgency=low - - * Set DEBUG_XORG_PACKAGE=yes when reconfiguring xserver-xorg. The - output is only written to post.log and isn't visible to the user, and - can be invaluable for debugging - - -- Matt Zimmerman Mon, 22 Aug 2005 10:25:38 -0700 - -casper (1.6) breezy; urgency=low - - * Use debconf-copydb again (thanks, Tollef) - * Rename pre.d/20xconfig to pre.d/20prexconfig so that it is distinct from - post.d/20xconfig for purposes of the progress bar (no text for it; it's - very fast) - - -- Matt Zimmerman Wed, 17 Aug 2005 14:55:24 -0700 - -casper (1.5) breezy; urgency=low - - * Call MAKEDEV console in post.d/20xconfig as a workaround for bug - #13523 - - -- Matt Zimmerman Tue, 16 Aug 2005 15:24:06 -0700 - -casper (1.4) breezy; urgency=low - - * Revert to the old debconf hack; the debconf-copydb approach needs more - work - - -- Matt Zimmerman Mon, 15 Aug 2005 22:48:11 -0700 - -casper (1.3) breezy; urgency=low - - * Revert unintentional release of experimental unionfs code in 1.2 - - -- Matt Zimmerman Sat, 13 Aug 2005 11:19:50 -0700 - -casper (1.2) breezy; urgency=low - - * Fix debconf-copydb regex in 20xconfig - - -- Matt Zimmerman Sat, 13 Aug 2005 11:07:46 -0700 - -casper (1.1) breezy; urgency=low - - * Cope with xserver-xorg's rename of force_keyboard_detection to - autodetect_keyboard - - -- Matt Zimmerman Mon, 4 Jul 2005 02:52:07 -0700 - -casper (1.0) breezy; urgency=low - - * Version number bump (we've been through a stable Ubuntu release, after - all) - * Rename pre.d/10snapshot to post.d/10filesystem, as it is about to - become more generic - * Seed xserver-xorg/force_keyboard_detection to true in 20xconfig, so as - to cause the keyboard layout to (continue to) be autodetected based on - d-i settings - - -- Matt Zimmerman Thu, 16 Jun 2005 11:21:54 -0700 - -casper (0.65) breezy; urgency=low - - * As a performance optimization, only reconfigure gnome-panel-data if - booting on a laptop - * Disable the "lock screen" menu item (Ubuntu bug#7150) - - -- Matt Zimmerman Wed, 8 Jun 2005 16:02:14 -0700 - -casper (0.64) breezy; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--debconf-copydb--0 - - Use debconf-copydb rather than our temporary hack - - -- Matt Zimmerman Tue, 31 May 2005 12:08:51 -0700 - -casper (0.63) breezy; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--cdebconf-info--0 - - Update for cdebconf 0.75: use db_info rather than db_x_setbacktitle. - - -- Matt Zimmerman Mon, 18 Apr 2005 20:59:58 -0700 - -casper (0.62) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (nb) - - -- Matt Zimmerman Tue, 5 Apr 2005 09:01:02 -0700 - -casper (0.61) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (el, es, ro) - - -- Matt Zimmerman Tue, 5 Apr 2005 08:06:51 -0700 - -casper (0.60) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (hu, id, pl) - - -- Matt Zimmerman Mon, 28 Mar 2005 11:26:21 -0800 - -casper (0.59) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (de, pt_BR) - - -- Matt Zimmerman Fri, 25 Mar 2005 16:51:17 -0800 - -casper (0.58) hoary; urgency=low - - * Remove postfix shutdown links, as well as startup, to avoid an ugly error - - -- Matt Zimmerman Thu, 24 Mar 2005 18:24:03 -0800 - -casper (0.57) hoary; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--translations--0 up to - patch-2 - * Preseed netcfg/wireless_essid_again for noninteractive network setup, +new - in netcfg 1.08ubuntu3 [colin.watson@canonical.com--2005/casper--netcfg--0] - - -- Matt Zimmerman Wed, 23 Mar 2005 08:33:46 -0800 - -casper (0.56) hoary; urgency=low - - * Suppress error output from eject - * Remind the user to close the CD tray if they have one (Ubuntu #6668) - * Add arch-build target to debian/rules - - -- Matt Zimmerman Tue, 22 Mar 2005 10:21:41 -0800 - -casper (0.55) hoary; urgency=low - - * Remove the hack introduced in 0.54, xorg 6.8.2-5 should be fixed - - -- Matt Zimmerman Wed, 16 Mar 2005 18:11:05 -0800 - -casper (0.54) hoary; urgency=low - - * Temporarily set RECONFIGURE=true when reconfiguring xserver-xorg, to work - around a bug introduced in 6.8.2-3 - - -- Matt Zimmerman Wed, 16 Mar 2005 15:08:45 -0800 - -casper (0.53) hoary; urgency=low - - * Provide target-base-system (i.e. base system installed in /target, also - provided by base-installer). - - -- Colin Watson Tue, 15 Mar 2005 13:01:53 +0000 - -casper (0.52) hoary; urgency=low - - * Arrange for $LANG to be set after pivot_root, so that (e.g.) - xserver-xorg can use it to infer the keymap (Ubuntu #7138) - - -- Matt Zimmerman Sat, 12 Mar 2005 02:10:59 -0800 - -casper (0.51) hoary; urgency=low - - * Disable kpersonalizer startup on first login - - -- Matt Zimmerman Sat, 5 Mar 2005 13:47:13 -0800 - -casper (0.50) hoary; urgency=low - - * Add support for configuring kdm autologin - * Rename 15gdm-autologin to 15autologin, and the corresponding debconf template - * Remove obsolete XORG_FORCE_PROBE from 20xconfig - - -- Matt Zimmerman Thu, 3 Mar 2005 10:37:31 -0800 - -casper (0.49) hoary; urgency=low - - * Fix 20xconfig harder - - -- Matt Zimmerman Wed, 2 Mar 2005 21:20:03 -0800 - -casper (0.48) hoary; urgency=low - - * Source confmodule in 20xconfig - - -- Matt Zimmerman Wed, 2 Mar 2005 21:02:35 -0800 - -casper (0.47) hoary; urgency=low - - * Copy over the value of debian-installer/keymap into the target system, - to allow the new logic in xserver-xorg.config to work - - -- Matt Zimmerman Wed, 2 Mar 2005 20:45:38 -0800 - -casper (0.46) hoary; urgency=low - - * Lock the live user's password entirely. Since the user is now - automagically logged in, continuously, both on the console and in X, - their password is irrelevant. - - -- Matt Zimmerman Mon, 28 Feb 2005 08:31:13 -0800 - -casper (0.45) hoary; urgency=low - - * Enable TimedLogin in gdm, so that if the user logs out, they are - automatically logged back in after a few seconds (Ubuntu #6667) - - -- Matt Zimmerman Sun, 27 Feb 2005 16:06:16 -0800 - -casper (0.44) hoary; urgency=low - - * Configure init to spawn shells on virtual consoles, rather than login - prompts (Ubuntu #6666) - * Skip X configuration if a serial console is in use - * Set the live user's password to be blank, rather than "ubuntu". This - is, paradoxically, more secure if the user decides to install - openssh-server, since empty passwords are disallowed by default - - -- Matt Zimmerman Sun, 27 Feb 2005 15:40:15 -0800 - -casper (0.43) hoary; urgency=low - - * Override localechooser progress bar text to be more appropriate for the - live CD (closes: Ubuntu #6664). - - -- Colin Watson Thu, 24 Feb 2005 19:12:00 +0000 - -casper (0.42) hoary; urgency=low - - * Preseed netcfg/no_interfaces, to avoid prompt when no network interfaces - can be configured (closes: Ubuntu #6107). - * Remove redundant DH_COMPAT setting in debian/rules, since there's - already a (different) debian/compat. - - -- Colin Watson Tue, 22 Feb 2005 12:43:43 +0000 - -casper (0.41) hoary; urgency=low - - * Cope with change in default /etc/sudoers (admin group). - - -- Colin Watson Tue, 22 Feb 2005 09:14:30 +0000 - -casper (0.40) hoary; urgency=low - - * Copy /dev/tts to the live system as well as /dev/vc, for serial console. - - -- Colin Watson Mon, 21 Feb 2005 19:03:54 +0000 - -casper (0.39) hoary; urgency=low - - * Fix reboot operation (cache the reboot binary) - - -- Matt Zimmerman Thu, 10 Feb 2005 20:51:08 -0800 - -casper (0.38) hoary; urgency=low - - * Eject the CD during shutdown/reboot - - Awful hack to copy /dev/cdroms to the live system, because the CD is - mounted using devfs names - - Add /usr/share/casper/shutdown script to casper-udeb - - Copy /usr/share/casper/shutdown to /etc/rc[06].d in 25configure-init - * Remove caspermon binary package, inadvertently enabled (not even - remotely ready) - - -- Matt Zimmerman Thu, 10 Feb 2005 13:43:56 -0800 - -casper (0.37) hoary; urgency=low - - * Fix casper-udeb/runlevel template - - -- Matt Zimmerman Tue, 8 Feb 2005 19:37:43 -0800 - -casper (0.36) hoary; urgency=low - - * Rename post.d/25disable-init-scripts to 25configure-init - * Add casper-udeb/runlevel, to allow the default runlevel - to be set - - -- Matt Zimmerman Tue, 8 Feb 2005 19:14:16 -0800 - -casper (0.35) hoary; urgency=low - - * Preseed netcfg/wireless_essid - * Remove obsolete confmodule load from pre.d/12fstab - * Don't mount a tmpfs on /var/run; it doesn't save a huge amount of - snapshot space, and packages expect their directories there to be - persistent - - -- Matt Zimmerman Mon, 7 Feb 2005 15:46:52 -0800 - -casper (0.34) hoary; urgency=low - - * Use casper-reconfigure in 10adduser as well - * Add post.d/93save-logs to save copies of the bootstrap logs to - /var/log/casper - * Stop reconfiguring fontconfig; it insists on rebuilding the entire - font cache, and the only benefit was to unable subpixel hints - - -- Matt Zimmerman Wed, 2 Feb 2005 10:42:19 -0800 - -casper (0.33) hoary; urgency=low - - * Re-upload to fix borked source package - - -- Matt Zimmerman Sun, 30 Jan 2005 12:21:07 -0800 - -casper (0.32) hoary; urgency=low - - * Factor out debconf hackery into casper-reconfigure - * Mount sysfs earlier, so we don't need to mess with it in 20xconfig - * Break 22simple-reconfig into 22fontconfig and 22gnome-panel-data, and - create progress bar text for them - * Preseed netcfg/dhcp_failed, to avoid a prompt when DHCP fails - - -- Matt Zimmerman Sat, 29 Jan 2005 14:03:36 -0800 - -casper (0.31) hoary; urgency=low - - * Clear tty2 and print a nice message, before signalling init - - -- Matt Zimmerman Sat, 29 Jan 2005 13:15:44 -0800 - -casper (0.30) hoary; urgency=low - - * Reconfigure fontconfig, to enable subpixel rendering based on the - hardware in use - - -- Matt Zimmerman Thu, 27 Jan 2005 14:21:49 -0800 - -casper (0.29) hoary; urgency=low - - * Fix the problem described in 0.28 by preseeding a default for - netcfg/get_hostname - - -- Matt Zimmerman Tue, 25 Jan 2005 23:04:03 -0800 - -casper (0.28) hoary; urgency=low - - * Suppress network configuration questions - - - The goal is to make a reasonable effort to configure one interface - automatically, but if that is not possible, fall back to no - configuration. We aren't quite there yet. - - - If we fail to resolve our IP into a hostname using DNS, netcfg seems - to fall back to an empty value, rather than the default in the - template. - - -- Matt Zimmerman Tue, 25 Jan 2005 22:55:35 -0800 - -casper (0.27) hoary; urgency=low - - * Add post.d/22simple-reconfig - - Reconfigure gnome-panel-data if it is installed, to set up the GNOME - session based on whether the system is a laptop - - Corresponding progress template - - mount /proc earlier (needed for, e.g. laptop-detect) - * Warn about screen blanking in X configuration progress message - * Simplify post.d/20xconfig and pre.d/13swap a bit - * Update TODO - - -- Matt Zimmerman Sat, 22 Jan 2005 15:56:49 -0800 - -casper (0.26) hoary; urgency=low - - * Set NOPASSWD in /etc/sudoers for the initial user - - -- Matt Zimmerman Fri, 21 Jan 2005 16:53:49 -0800 - -casper (0.25) hoary; urgency=low - - * mount /proc before signalling init, as it now uses /proc to determine - what is and is not a kernel thread - - -- Matt Zimmerman Fri, 21 Jan 2005 16:04:52 -0800 - -casper (0.24) hoary; urgency=low - - * Add a backtitle properly - - -- Matt Zimmerman Fri, 21 Jan 2005 09:07:19 -0800 - -casper (0.23) hoary; urgency=low - - * Add a backtitle - - -- Matt Zimmerman Fri, 21 Jan 2005 09:02:01 -0800 - -casper (0.22) hoary; urgency=low - - * Search for swap on SCSI disks as well as IDE - - -- Matt Zimmerman Wed, 19 Jan 2005 14:27:09 -0800 - -casper (0.21) unstable; urgency=low - - * Cosmetic changes to debconf templates - * Fix 10adduser to register debconf questions before setting their - values and flags - - -- Matt Zimmerman Wed, 19 Jan 2005 14:14:20 -0800 - -casper (0.20) hoary; urgency=low - - * Remove legacy symlinks from casper/pre.d; they are now contained in - the relevant udebs - - -- Matt Zimmerman Wed, 19 Jan 2005 13:22:33 -0800 - -casper (0.19) hoary; urgency=low - - * Update TODO - * casper-udeb Depends: md-modules - - -- Matt Zimmerman Wed, 19 Jan 2005 11:23:51 -0800 - -casper (0.18) hoary; urgency=low - - * Enable new adduser code, using db_fset ... seen to suppress the questions - - -- Matt Zimmerman Tue, 18 Jan 2005 15:06:48 -0800 - -casper (0.17) hoary; urgency=low - - * Convert snapshot setup to use debconf instead of hardcoded parameters - * Remove obselete-before-being-used username template - * Convert post.d/10adduser to use debconf passthrough to the passwd package, - and thus share its user-adding code rather than duplicating it. - - But don't enable it yet, since we need to find a way to prevent its - questions from being asked - - -- Matt Zimmerman Tue, 18 Jan 2005 13:04:48 -0800 - -casper (0.16) hoary; urgency=low - - * casper-udeb Depends: casper-check, harddrive-detection - * Automatically find and enable swap devices - - -- Matt Zimmerman Tue, 18 Jan 2005 11:23:48 -0800 - -casper (0.15) hoary; urgency=low - - * Set anna/standard_modules to false at startup to suppress unnecessary - udeb retrieval. - - -- Colin Watson Tue, 18 Jan 2005 13:41:00 +0000 - -casper (0.14) hoary; urgency=low - - * Enable X autoconfiguration(!) - - -- Matt Zimmerman Sat, 15 Jan 2005 02:19:58 -0800 - -casper (0.13) hoary; urgency=low - - * Rename templates so that they are named after the {pre,post}.d hook - which uses them - * Remove some unused templates - - -- Matt Zimmerman Fri, 14 Jan 2005 10:11:02 -0800 - -casper (0.12) hoary; urgency=low - - * Add debconf templates for various things that we currently hardcode. - Not actually used yet due to need for testing, but having the - templates present greatly simplifies testing the remaining integration - work - - -- Matt Zimmerman Thu, 13 Jan 2005 20:32:39 -0800 - -casper (0.11) hoary; urgency=low - - * Update post.d/20xconfig to use debconf passthrough to cdebconf - (requires debconf 1.4.42 and cdebconf 0.75), but leave it disabled for - now - * Create /etc/fstab in the target (this also seems to solve the problem - with noatime disappearing, and so should reduce snapshot utilization) - - -- Matt Zimmerman Thu, 13 Jan 2005 18:25:36 -0800 - -casper (0.10) hoary; urgency=low - - * Remove rc?.d/K??hwclock.sh links, to avoid changing the system clock - during reboot or shutdown - - -- Matt Zimmerman Thu, 13 Jan 2005 18:13:31 -0800 - -casper (0.9) hoary; urgency=low - - * Fix gdm autologin configuration (broken in 0.8) - - -- Matt Zimmerman Wed, 12 Jan 2005 10:52:05 -0800 - -casper (0.8) hoary; urgency=low - - * Add debian-installer/casper-udeb/title template, to specify more - readable menu item text - * Create /usr/lib/casper/{pre,post}.d and move all of our internal logic - there - * Create temporary symlinks in pre.d for the prebaseconfig.d items we - want - * Convert errors into proper error dialogs - * Make some pre.d scripts idempotent, for ease of testing - - -- Matt Zimmerman Tue, 11 Jan 2005 16:59:35 -0800 - -casper (0.7) hoary; urgency=low - - * Disable X configuration temporarily; need to resolve debconf issues - - -- Matt Zimmerman Tue, 11 Jan 2005 13:14:43 -0800 - -casper (0.6) hoary; urgency=low - - * Allow "modprobe ext2" to fail; apparently it's sometimes compiled in - - -- Matt Zimmerman Tue, 11 Jan 2005 12:12:28 -0800 - -casper (0.5) hoary; urgency=low - - * Attempt to configure X - - This doesn't work very well yet (PCI BusID doesn't seem to get - updated, for example), so we still don't start gdm by default) - * Conditionalize some of the configuration code, so we automatically do - the right thing if gdm or X isn't installed - * Add German translation from Andreas Mueller - * modprobe ext2, to let powerpc work (this should probably happen - elsewhere, but for now...) - - -- Matt Zimmerman Sun, 9 Jan 2005 17:49:56 -0800 - -casper (0.4) hoary; urgency=low - - * Mount tmpfs on /tmp and /var/run, should save many writes to the snapshot - - -- Matt Zimmerman Fri, 7 Jan 2005 18:35:26 -0800 - -casper (0.3) hoary; urgency=low - - * Disable anacron and postfix startup - * Don't cripple /bin/apt-install in d-i (this was a workaround to - prevent d-i from installing packages which should have been present in - the filesystem image anyway, but weren't) - - -- Matt Zimmerman Fri, 7 Jan 2005 18:10:55 -0800 - -casper (0.2) hoary; urgency=low - - * Use mount --move to move the cdrom mount point, so that we can unmount - /initrd and free up the memory used by d-i - * Use /dev/ram1 rather than /dev/ram0 for the COW stuff, since /dev/ram0 - is used for initrds and we want to avoid confusion - * Organize casper-udeb.postinst into shell functions - * Add a progress bar - * Add a debian/compat file (version 4) - - -- Matt Zimmerman Fri, 7 Jan 2005 08:01:21 -0800 - -casper (0.1) hoary; urgency=low - - * Initial Release. - - -- Matt Zimmerman Wed, 5 Jan 2005 14:30:28 -0800 diff --git a/docs/AUTHORS b/docs/AUTHORS new file mode 100644 index 0000000..dc44347 --- /dev/null +++ b/docs/AUTHORS @@ -0,0 +1,12 @@ +Main Authors: + + * Daniel Baumann + * Marco Amadori + +Original Authors: + + live-initramfs is a fork of casper . + casper was originally written by Tollef Fog Heen + and Matt Zimmerman . + + See the casper changelog for casper contributors. diff --git a/docs/CREDITS b/docs/CREDITS new file mode 100644 index 0000000..355eeab --- /dev/null +++ b/docs/CREDITS @@ -0,0 +1,17 @@ +Patches (alphabetical order): + + * Alexandre Garcia + * Alex Owen + * Arnaud Cornet + * Bas Wijnen + * Ben Armstrong + * Davide Natalini + * Frederic Lehobey + * Hadar Weiss + * Jason D. Clinton + * Jonathan Hall + * Malcom Gilles + * Mathieu Geli + * Oliver Osburg + * Otavio Salvador + * Sebastian Raveau diff --git a/docs/ChangeLog b/docs/ChangeLog new file mode 100644 index 0000000..9d2a4ee --- /dev/null +++ b/docs/ChangeLog @@ -0,0 +1,162 @@ +2007-05-12 Daniel Baumann + + * scripts/live: + - Renamed CASPERCONF to LIVECONF. + - Renamed CASPERGETTY to LIVE_GETTY. + - Renamed LIVEMEDIA_* to LIVE_MEDIA_*. + * Uploaded 1.87.3-1. + +2007-05-11 Daniel Baumann + + * hooks/live: + - Reformated. + * scripts/live, scripts/live-bottom/13swap: + - Added check for swapoff bootparameter to disable usage of local swap + partitions. + +2007-05-09 Daniel Baumann + + * manpages/*: + - Added language suffix. + - Partially rewritten and reformated. + +2007-05-08 Daniel Baumann + + * Makefile, doc/AUTHORS, doc/CREDITS: + - Added. + * doc: + - Renamed to docs. + +2007-05-07 Daniel Baumann + + * debian/control: + - Added suggests to genext2fs and squashfs-tools. + - Removed depends to dmsetup. + * scripts/live-bottom/10adduser: + - Added patch from Ben Armstrong to write + $HOME/.su-to-rootrc file. + * scripts/live, scripts/live-bottom/21xvideomode: + - Added patch from Mathieu Geli to have the + ability to force X video mode from kernel append line. + +2007-05-06 Daniel Baumann + + * Merging patches from casper 1.81+debian-4, see ChangeLog.casper. + * conf/live.conf: + - Renamed HOST to HOSTNAME. + * debian/init: + - Added quickreboot. + - Renamed /cdrom to /live_media. + * doc/ChangeLog.casper: + - Added missing debian uploads. + * manpages/live-initramfs.7: + - Updated. + * hooks/live: + - Reading live.conf earlier. + - Making some udev copies conditional for ubuntu. + - Allowing local keymap when using encrypted filesystems. + * scripts/live: + - Renamed HOST to HOSTNAME. + - Renamed /cdrom to /live_media. + - Added support for live-snapshot. + - Parsing commandline in one central place now. + - Added support for encrypted filesytem images. + - Added support for multiple filesystem images. + * scripts/live-bottom/01integrity_check: + - Renamed /cdrom to /live_media. + * scripts/live-bottom/02etc_live_conf: + - Added. + * scripts/live-bottom/05mountpoints: + - Renamed /cdrom to /live_media. + - Don't do anything if not required. + * scripts/live-bottom/10adduser: + - Changed default password. + - Disabling xscreensaver locking and copying ubiquity desktop only on + ubuntu. + * scripts/live-bottom/14locales: + - Added handling of locale bootparameter. + * scripts/live-bottom/15autologin: + - Added workaround for using gdm default config. + * scripts/live-bottom/18hostname: + - Renamed HOST to HOSTNAME. + * scripts/live-bottom/19keyboard: + - Added handling of keyboard bootparameter. + * scripts/live-bottom/20xconfig: + - Added handling of keyboard bootparameter. + - Added handling of locale bootparameter. + * scripts/live-bottom/23networking: + - Disabled loop over fixed network devices. + * scripts/live-bottom/24preseed: + - Added handling of multiple preseeding files. + - Removed locale handling. + * scripts/live-bottom/25configure_init: + - Added handling of serial ttys. + * scripts/live-bottom/30accessibility: + - Removed extra parsing of commandline. + * scripts/live-functions: + - Added function to really export variables. + * scripts/live-helpers: + - Added support for encrypted filesytem images. + +2007-05-06 Daniel Baumann + + * bin/casper-getty, casper-login, casper-preseed, casper-reconfigure, + casper-snapshot: + - Renamed to live-*. + * casper-md5check: + - Moved to bin. + - Renamed to live-md5check. + * casper.conf: + - Moved to conf/live.conf. + * caspermon: + - Removed. + * hooks/casper, scripts/casper, casper-bottom, casper-functions, + casper-helpers, casper-premount: + - Renamed to live*. + * bin/live-getty, live-login: + - Reformated. + * conf/live.conf: + - Reformated. + - Setting Debian defaults. + * bin/live-snapshot, debian/dirs, debian/install, debian/rules, + hooks/live, scripts/live: + - Replaces casper directory and file names with live-initramfs + directory and file names. + * debian/manpage: + - Moved to manpages. + - Renamed casper.7 to live-initramfs.7. + - Renamed casper-snapshot.1 to live-snapshot.1. + * debian/init: + - Changed activation parameter from boot=casper to boot=live. + * scripts/live-bottom/02_timezone: + - Fixed wrong script description. + * Uploaded 1.87.2-1. + +2007-04-30 Daniel Baumann + + * Forked casper 1.87. + * COPYING: + - Added. + * debian/control, debian/ubiquity-casper.install, ubiquity-hooks: + - Removed ubiquity support. + * debian/changelog: + - Moved old changelog to doc/ChangeLog.casper. + - Added new changelog for live-initramfs. + * debian/casper.dirs, casper.init, casper.install, casper.manpages, + casper.postinst: + - Renamed, removed packagename prefix from filename. + * debian/compat, copyright, dirs, manpages: + - Updated. + * debian/examples, links: + - Added. + * debian/rules: + - Updated. + - Added upstream target. + * debian/control: + - Updated. + - Added depends to file. + - Added conflicts/replaces to casper. + * debian/postinst: + - Running 'update-initramfs' for all kernel versions instead of latest + only. + * Uploaded 1.87.1-1. diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper new file mode 100644 index 0000000..e308906 --- /dev/null +++ b/docs/ChangeLog.casper @@ -0,0 +1,1677 @@ +casper (1.87) feisty; urgency=low + + [ Colin Watson ] + * Improve language at end of MD5 check (LP: #100088). + + [ Martin Pitt ] + * Add casper-bottom/33enable_apport_crashes: Enable apport crash + notifications. They are disabled now by default in the installed system + for the final release. + + -- Martin Pitt Mon, 9 Apr 2007 14:31:50 +0200 + +casper (1.86) feisty; urgency=low + + [ Luke Yelavich ] + * scripts/casper-bottom/30accessibility & + ubiquity-hooks/30accessibility: + - Point to new settings file for gnome-orca, as package was changed + from python-support to pycentral. (LP: #91868) + + -- Colin Watson Thu, 5 Apr 2007 16:42:54 +0100 + +casper (1.85) feisty; urgency=low + + * Stop disabling nvidia and fglrx drivers. LP: #94359 + + -- Tollef Fog Heen Mon, 2 Apr 2007 13:16:46 +0200 + +casper (1.84) feisty; urgency=low + + [ Jani Monoses ] + * scripts/casper-bottom/13swap: Call /bin/dd not dd so it + correctly detects and uses existing swap partitions (LP: #62868) + + [ Tollef Fog Heen ] + * Make sure that we are settled before trying to set up netbooting. + (LP: #96076) + * Bind-mount /dev too, when configuring X, this should make it easier + for X to be correctly configured on a lot of systems. + * Add /root/lib and /root/usr/lib to /etc/ld.so.conf in the initramfs. + * Add any sources on the CD to APT using apt-cdrom. + * Set the time zone to UTC. LP: #13782 + * Fix deletion of checkroot script. LP: #66585. + + [ Colin Watson ] + * Fix error message if do_netmount fails (LP: #95134). + + -- Tollef Fog Heen Fri, 30 Mar 2007 12:37:58 +0200 + +casper (1.83) feisty; urgency=low + + * Fix usplash version in Conflicts. + * Add XS-Vcs-Bzr field to debian/control. + * scripts/casper-bottom/25configure_init: Support for "respawn COMMAND" + has been dropped from upstart jobs; cope with /etc/event.d/tty* using + "respawn" plus "exec COMMAND" now instead (LP: #92928). + + -- Colin Watson Mon, 19 Mar 2007 16:44:22 +0000 + +casper (1.82) feisty; urgency=low + + [ Ben Collins ] + * Depends on eject package, and copy it into initramfs. + * Add log_wait_msg function to use usplash_write INPUTENTER. + * Conflict with usplash older than the one that fixes INPUTENTER. + * Add driver-updates hooks. + + [ Colin Watson ] + * Fix more leftover /live_media wreckage (LP: #84592). + * Add a ubiquity hook to install driver-updates on the target system. + + -- Colin Watson Mon, 5 Mar 2007 11:19:48 +0000 + +casper (1.81+debian-4) unstable; urgency=low + + * Added patch from Serkan Sakar to allow local keymap + for use with encryption. + + -- Daniel Baumann Wed, 11 Apr 2007 09:04:00 +0200 + +casper (1.81+debian-3) unstable; urgency=low + + * Added depends to eject. + * Removed recommends to live-package. + + -- Daniel Baumann Wed, 21 Mar 2007 00:30:00 +0100 + +casper (1.81+debian-2) unstable; urgency=low + + [ Daniel Baumann ] + * Applied patch from Sebastian Raveau to + add support for filesystem images encrypted with loop-aes. + + [ Marco Amadori ] + * Added a "quickreboot" boot parameter, that prevent casper to eject the + media, useful for remote rebooting of a casper system, thanks to + Jonathan Hall for the patch. + + -- Marco Amadori Fri, 16 Feb 2007 17:26:58 +0100 + +casper (1.81+debian-1) unstable; urgency=low + + * New upstream release. + * Some cleaning and renaming involved because most of the debian-only code + was merged in ubuntu sources, then back here. + * Extended manpage, thanks to Alex Owen and + Jonathan Hall (Closes: #409980). + * Included a slightly reworked and bug fixed version of "Allow specific + ordering of images" by Jonathan Hall with a new boot + parameter: module=NAME. + + -- Marco Amadori Thu, 15 Feb 2007 10:21:01 +0100 + +casper (1.81) feisty; urgency=low + + * Merge in Debian's changes. + + -- Tollef Fog Heen Wed, 7 Feb 2007 14:39:30 +0100 + +casper (1.80) feisty; urgency=low + + * scripts/casper-bottom/31disable_update_notifier: Allow update-notifier + to run for crash report handling, but disable its apt-check hook. + + -- Colin Watson Thu, 1 Feb 2007 00:11:06 +0000 + +casper (1.79+debian-3) unstable; urgency=low + + * Fix DEFCONSOLE for autoserial console, thanks to + "Alex Owen" . + + -- Marco Amadori Sun, 4 Feb 2007 20:12:08 +0100 + +casper (1.79+debian-2) unstable; urgency=low + + * It now depends also on "file" (Closes: #409308). + * Fixed LIVEMEDIA_TIMEOUT values (Closes: #409300). + Thanks for both to Jonathan Hall . + + -- Marco Amadori Sat, 3 Feb 2007 18:29:20 +0100 + +casper (1.79+debian-1) unstable; urgency=low + + * New Upstream release. + * Reverted: "Mount the first squashfs as /rofs." + + -- Marco Amadori Tue, 16 Jan 2007 12:12:34 +0100 + +casper (1.79) feisty; urgency=low + + [ Colin Watson ] + * ubiquity-hooks/30accessibility: Change /root to /target in + kderc_addtoprefixes (thanks, Jani Monoses). + * Call udevsettle after udevtrigger (thanks, Matthias Urlichs; LP: + #77438). + * Send casper-reconfigure error messages to stderr rather than stdout to + avoid interfering with debconf. + + [ Jani Monoses ] + * ubiquity-hooks/30accessibility, scripts/casper-bottom/30accessibility: + Fix v2 option to start orca in magnifier not speech mode. + Add v1, v2, v3, m1 and m2 Xubuntu options + + [ Tollef Fog Heen ] + * Apply patch from Luka Renko to support kde-guidance-powermanager and + ksmserver instead of klaptoprc as the latter is no longer used. + + -- Tollef Fog Heen Wed, 10 Jan 2007 20:37:30 +0100 + +casper (1.78) edgy; urgency=low + + * Mount the first squashfs as /rofs. Breaks showmounts and won't work + properly with stacked filesystems, but works around a kernel oops with + multiply-mounted squashfses for Edgy. + + -- Colin Watson Wed, 25 Oct 2006 12:46:05 +0100 + +casper (1.77+debian-7) testing; urgency=medium + + * Backported two 1 line fixes (both serious bugs) from casper-1.79+debian-1 + and casper-1.79+debian-3: + - It now depends also on "file" (Closes: #409308). + - Fix DEFCONSOLE for autoserial console, thanks to + "Alex Owen" . + + -- Marco Amadori Thu, 8 Feb 2007 11:19:46 +0100 + +casper (1.77+debian-6) unstable; urgency=medium + + * Improved snapshots features (even still experimental). + * Added "live-media-offset=BYTES" boot param, to enable "hiding" + feature, thanks to Sebastien Raveau . + * Now it creates /etc/resolv.conf if netbooted. + + -- Marco Amadori Fri, 1 Dec 2006 17:43:30 +0100 + +casper (1.77+debian-5) unstable; urgency=low + + * Fixed preseeding locale and keyboard's variant and options. + * Reorganized scans of /proc/cmdline. + * Improved manpages, thanks to Oliver Osburg for syntax corrections. + * Added "nopersistent" boot option to disable the "persistent" boot param. + * Added "xdebconf" boot option, that uses xdebconfigurator on the + rootfs to configure X (experimental). + + -- Marco Amadori Mon, 20 Nov 2006 22:12:18 +0100 + +casper (1.77+debian-4) unstable; urgency=medium + + * Removed -phigh from casper-reconfigure, not needed anymore. + * Fixed netboot /etc/network/interfaces generation, thanks to Hadar + . + * Fixed X keyboard setup. Thanks to for the idea. + * Fixed keyboard setup. + * Allow commandline-device to show up late, thanks to Bas Wijnen + for the code and the care (Closes: #397320). + * Urgency is set to medium to try reaching Etch with important + features/bugfixes. + + -- Marco Amadori Mon, 6 Nov 2006 19:00:29 +0100 + +casper (1.77+debian-3) unstable; urgency=medium + + * Fixed "todisk=" parsing. + * Urgency is set to medium to try reaching Etch with important + features/bugfixes. + + -- Marco Amadori Wed, 1 Nov 2006 11:15:56 +0100 + +casper (1.77+debian-2) unstable; urgency=medium + + [ Marco Amadori ] + * Improved snapshotting (but still experimental). + * Renamed "host=" boot parameter to "hostname=" and shell variable "HOST" to + "HOSTNAME" for consistence, with linux and with username/USERNAME, as + requested by many people. + * Fixed a "keyb=" typo. + * Added dependence on lsb-base (used by init-script and + casper-snapshot). + * Removed DM support (obsolete). + * Changed a bit locale and keyboard handling. + * Fixed locale generation. + * Urgency is set to medium to try reaching Etch with important + features/bugfixes. + + [ Otavio Salvador ] + * Really lowered usplash conflicts since Debian doesn't has 0.4. + + -- Marco Amadori Mon, 30 Oct 2006 17:06:48 +0100 + +casper (1.77+debian-1) unstable; urgency=low + + * New upstream release. + * Added snapshot persistence feature (copy on boot, sync on reboot) via + different ways: squashfs, cpio.gz, and block device filesystems. + * Added boot parameter "live-media=" to force trying to boot from + a specified device. + * Added support for "todisk=" to copy the live media to a + device filesystem, subsequent boots could use "live-media=". + * Slightly polished locales and keyboards handling. + * Extendend manpages. + * Readded a missing "sleep 1", reworked how live_media is detected, + thanks to Bas Wijnen for the reports. + (Closes: #394308, #394554). + * Reworked casper-getty system, thanks to Alex Owen (Closes: #394686). + * Postint now rebuild all initramfs. + * Casper now Recommends also squashfs-tools and genext2fs, maybe + needed by casper-snapshot. + * Lowered usplash requirements, since usplash 0.4 is not in debian + yet. + + -- Marco Amadori Sun, 22 Oct 2006 20:25:38 +0200 + +casper (1.77) edgy; urgency=low + + * Honour console-setup/modelcode preseeding. Needed for Malone #66719, + #66774. + + -- Colin Watson Fri, 20 Oct 2006 19:59:39 +0100 + +casper (1.76) edgy; urgency=low + + [ Colin Watson ] + * Copy access=m2 accessibility changes into the corresponding ubiquity + hook. + * Remove spurious quoting from accessibility script. + * Clear console-setup/layoutcode and console-setup/variantcode if they + aren't supplied on the command line. + + [ Michael Vogt ] + * scripts/casper-bottom/35fix_language_selector: + - run fontconfig-voodoo if available to make sure that we have + optimal fontconfig settings for the CJK languages (lp: #49334) + + [ Henrik Nilsen Omma ] + * Fix a few accessibility items that were out of date, changing + gnopernicus -> orca and gok -> onboard (the gok entry was missing some + brackets as well; patch from Malone #58836, closes: Malone #65861). + + -- Colin Watson Mon, 16 Oct 2006 20:20:15 +0100 + +casper (1.75) edgy; urgency=low + + * Turn on accessibility in "Motor Difficulties - pointing devices" which + makes onboard start properly. closes: Malone: #65861. + + -- Tollef Fog Heen Fri, 13 Oct 2006 14:12:10 +0200 + +casper (1.74) edgy; urgency=low + + [ Tollef Fog Heen ] + * Sync up ubiquity-hooks/30accessibility with + scripts/casper-bottom/30accessibility fixing spelling errors and + enabling accessibility in KDE. + + [ Colin Watson ] + * Fix check for presence of gconf2 (closes: Malone #58836). + + -- Colin Watson Wed, 11 Oct 2006 11:18:00 +0100 + +casper (1.73) edgy; urgency=low + + * Never run install-keymap or preseed debian-installer/keymap if + console-setup is detected, even if console-setup wasn't explicitly + preseeded. Contributes to Malone #60067. + + -- Colin Watson Sat, 7 Oct 2006 01:56:20 +0100 + +casper (1.72) edgy; urgency=low + + * Force suspend and hibernate both off, since reconfiguring + gnome-power-manager kills usplash here. Fixes Malone: #61535 + completely. + + -- Tollef Fog Heen Fri, 6 Oct 2006 14:22:23 +0200 + +casper (1.71+debian-1) unstable; urgency=low + + * New upstream release. + * Added experimental casper-snapshot script and manpage. + * Tagged for debtags project. + + -- Marco Amadori Thu, 28 Sep 2006 16:04:54 +0200 + +casper (1.71) edgy; urgency=low + + * Use TEXT-URGENT in shutdown script to make sure we display the "please + remove disc and press enter" text. Malone: #61533 + * Increase usplash timeout since "TIMEOUT 0" no longer means "spin + forever". + * Don't move-mount all the squashfs-es into / since that confuses mono + (and some other apps too). Malone: #62756 + * Disable kwallet by default. Malone: #47743 + * Add -n to language selector to make it not whine about + not-fully-installed langpacks. Malone. #37568 + * Override definition of log_end_msg in casper-functions. Make sure all + casper-bottom scripts use this. + * Pulsate bar in casper-top and casper-bottom. Malone: #61535 + + -- Tollef Fog Heen Wed, 4 Oct 2006 09:52:06 +0200 + +casper (1.70) edgy; urgency=low + + * Check for new file= alias as well as preseed/file= (closes: Malone + #63145). + + -- Colin Watson Wed, 4 Oct 2006 08:59:53 +0100 + +casper (1.69) edgy; urgency=low + + [ Tollef Fog Heen ] + * Use grep -E in scripts/casper. Malone: #57620 + * Fix syntax error in accessibility script + + [ Colin Watson ] + * Run 'sh -n' over everything in build target to avoid future syntax + errors. + * Fix check for /etc/default/console-setup (closes: Malone #62775). + + -- Colin Watson Mon, 2 Oct 2006 10:58:19 +0100 + +casper (1.68+debian-3) unstable; urgency=low + + * Really add casper manpage (Closes: #389867). + * Lintian cleanness reached. + + -- Marco Amadori Thu, 28 Sep 2006 12:36:29 +0200 + +casper (1.68+debian-2) unstable; urgency=low + + * Changed "staticip=" boot param to just "ip=". + * Added a manpage for casper. + * Lintian cleanings. + + -- Marco Amadori Tue, 26 Sep 2006 00:45:21 +0200 + +casper (1.68+debian-1) unstable; urgency=low + + * New upstream release. + * Added static network configuration support. + * Fixed gnome-screensaver-lock differences between ubuntu. + * username, host, and userfullname are now also settable + via kernel parameters. + + -- Marco Amadori Fri, 8 Sep 2006 11:26:02 +0200 + +casper (1.68) edgy; urgency=low + + * Honour console-setup/layoutcode and console-setup/variantcode preseeding + (closes: Malone #61573). + + -- Colin Watson Fri, 22 Sep 2006 16:09:53 +0100 + +casper (1.67) edgy; urgency=low + + * Make sure to write xorg.conf md5sum to the installed system, not the + live system in ubiquity-hooks/20xconfig + * Implement support for setting KDE's accessibility options too, thanks + to Jonathan Riddell for the patch. + * Use usplash's TEXT-URGENT for important messages when doing md5 checks + * Fix flashing of progress bar on 32 bit arches + + -- Tollef Fog Heen Wed, 23 Aug 2006 14:34:57 +0200 + +casper (1.66+debian-1) unstable; urgency=low + + * Added "magic" to make it work seamlessy also on ubuntu systems. + * Default user password now "live". + + -- Marco Amadori Fri, 1 Sep 2006 17:18:07 +0200 + +casper (1.66) edgy; urgency=low + + * Fix use of db_get in ubiquity accessibility hook. + * Use sudo instead of su to get to the live session user from the + initramfs or to the newly-installed user from ubiquity. su's argument + handling has changed so that the previous code no longer worked, and su + was never all that good for arguments containing spaces anyway. + + -- Colin Watson Mon, 4 Sep 2006 15:46:55 +0100 + +casper (1.65+debian-1) unstable; urgency=low + + * New upstream release. + * Re-included ubiquity sources since it is here anyway in diff.gz. + * Included remote getty patch from Alex Owen (enable it with "casper-getty" + as kernel parameter). + + -- Marco Amadori Thu, 17 Aug 2006 14:06:10 +0200 + +casper (1.65) edgy; urgency=low + + * Update to call udevsettle/udevtrigger instead of udevplug + + -- Tollef Fog Heen Mon, 21 Aug 2006 19:37:58 +0200 + +casper (1.64) edgy; urgency=low + + * Fix moving of squashfs mount points so that /proc/mounts in the + installed system refers to them correctly (closes: Malone #55019). As a + bonus, this lets us mount them on subdirectories of /casper/ right from + the start. + * Treat locale= as equivalent to debian-installer/locale= (closes: Malone + #53444). + * Fix ubiquity-hooks/30accessibility not to use log_end_msg, and to chroot + to /target instead of /root (closes: Malone #53277). + + -- Colin Watson Thu, 3 Aug 2006 14:00:22 +0100 + +casper (1.63+debian-3) unstable; urgency=low + + * Really do not try to eject cd if netbooted. + * Fixed unionfs ro param in case of nfs netboot (Closes: 383346). + + -- Marco Amadori Wed, 16 Aug 2006 20:10:11 +0200 + +casper (1.63+debian-2) unstable; urgency=low + + * Working netboot support (Closes: #380506). + * Polished kernel parameters parsing a bit. + + -- Marco Amadori Sun, 13 Aug 2006 15:52:14 +0200 + +casper (1.63+debian-1) unstable; urgency=low + + [Marco Amadori] + * New upstream release. + * Fixed upstream changelog. + * Really fixed the user password issue, now really "debian". + * Reincluded casper-md5ckeck in debian/rules and 05mountpoints in + script/casper-bottom. + * Rewrote netboot support now will support all types of rootfs file images + (not only plain dirs) like cd/dvd one. + * Included a fix for USB by Davide Natalini + * Included support for plain directory as RO rootfs. + * Removed xfs support (not implemented in make-live, maybe useless). + + [Alex Owen] + * Added NFS netboot support (Closes: #380506). + * Fixed /etc/inittab editing (Closes: #380488). + * Do not try to eject cd if netbooted (Closes: #380502). + + [Daniel Baumann] + * Minor debian/rules reordering. + * Changed "Section:" from "admin" to "misc". + + -- Marco Amadori Sun, 30 Jul 2006 19:10:23 +0200 + +casper (1.63) edgy; urgency=low + + [ Tollef Fog Heen ] + * Change "Live CD user" to "live session user" in the adduser script. + Malone #46882 + * Wait for persistent devices for 30 seconds, not 1500. + * Make sure that readahead-list is installed before chmod -x'ing it. + * Only disable l-r-m and anacron if they are installed. + * Make sure laptop-detect is installed before trying to call it. + * Do not install init script from the initramfs any more. It should + have rc.d links already in the squashfs. + * Minor build system fixes. + * Only copy devmapper relevant files if devmapper is installed. + * Remove ubuntu-specific branding from the default casper. + * Install default configuration file and make it end up in the + initramfs. + * Get rid of CD references and replace with medium or other appropriate + terms. + * Add stacked file system support + + [ Marco Amadori ] + * Added possibility to set locale on chroot, not only at runtime. + * Updated 14locales to latest debian policy. + + [ Malcolm Gilles ] + * USB devices can have ID_PATH with pci-*-usb, too. + + -- Tollef Fog Heen Tue, 18 Jul 2006 10:20:51 +0200 + +casper (1.61+debian-2) unstable; urgency=low + + * Set password for user to 'debian'. + + -- Daniel Baumann Wed, 19 Jul 2006 20:56:00 +0200 + +casper (1.61+debian-1) unstable; urgency=low + + [ Daniel Baumann ] + * Rebuild tarball without debian directory. + * Using dpatch for upstream modifications. + * Added patch for proper GDM autologin from Arnaud Cornet + . + + [ Marco Amadori ] + * New upstream release (Resynced with 1.61, bzr 258). + * Usb discover patch from Malcom Gilles . + + -- Marco Amadori Tue, 18 Jul 2006 23:34:59 +0200 + +casper (1.61) edgy; urgency=low + + * Move PATH setting to top of casper script to avoid silliness where + PATH isn't correctly set. + + -- Tollef Fog Heen Mon, 17 Jul 2006 12:53:59 +0200 + +casper (1.60) edgy; urgency=low + + * Change start symlinks to kill symlinks for anacron, to avoid it being + started by invoke-rc.d and similar. + * Rearrange source package. + * Redo how the init script works and require it to be installed in the + live fs. + * Bump version number to be higher than Debian's so we don't + automatically sync. + + -- Tollef Fog Heen Wed, 31 May 2006 00:01:40 +0200 + +casper (1.59+debian-1) unstable; urgency=low + + [ Daniel Baumann ] + * Upload to unstable (Closes: #354539). + + [ Marco Amadori ] + * Added possibility to set locale on chroot, not only at runtime. + * Removed "persistent" wait. + * Fixed persistence lock and added "homepersistence" boot parameter. + * Updated locales handling to latest debian policy. + * Cleanups + + -- Daniel Baumann Thu, 22 Jun 2006 06:21:00 +0200 + +casper (1.59+debian-0) UNRELEASED; urgency=low + + * Added "toram" boot parameter. + * Extendend fs support to ext2 and xfs file image. + * Changed debian-inexistant "-Q" modprobe option with "-q". + * Removed ubiquity code. + * USERNAME and HOST defaulted to "debian". + * Preliminary netboot (cifs) patch by + "Jason D. Clinton" + * Lowered dependence of dmsetup code (now only Suggests). + * Checks for replacing "udevplug" (ubuntu-only) with "udevtrigger". + * Reworked xorg and anacron patches from + Frederic Lehobey . + * scripts/casper-bottom/10adduser: configuring only the $USERNAME for sudo + instead of group 'admin'. + + -- Marco Amadori Fri, 16 Jun 2006 11:01:48 +0200 + +casper (1.58) dapper; urgency=low + + * Really rename properly, without dirname. + + -- Scott James Remnant Tue, 30 May 2006 22:47:04 +0100 + +casper (1.57) dapper; urgency=low + + * Rename the anacron rc.d/S* symlinks to K*, instead of removing them. + Because otherwise pbbuttonsd decides that starting anacron on the + LiveCD would be a clever thing to do. + + -- Scott James Remnant Wed, 24 May 2006 23:06:04 +0100 + +casper (1.56) dapper; urgency=low + + * Hopefully work a bit better when checking DVDs on 32 bit + architectures. + * Do an explicit read from /dev/console when waiting for keypress after + CD/DVD has been ejected. + + -- Tollef Fog Heen Mon, 22 May 2006 16:43:03 +0200 + +casper (1.55) dapper; urgency=low + + * Reconfigure gnome-power-manager when doing live installations. + Malone #45654 + + -- Tollef Fog Heen Mon, 22 May 2006 11:16:46 +0200 + +casper (1.54) dapper; urgency=low + + [ Luke Yelavich ] + * Set large print fonts for the v1 accessibility profile. Closes + Malone #45376. + + [ Colin Watson ] + * Fix preseed/file handling (closes: Malone #43683). + + -- Tollef Fog Heen Thu, 18 May 2006 19:36:24 +0200 + +casper (1.53) dapper; urgency=low + + [ Tollef Fog Heen ] + * Disable fglrx and nvidida drivers by default. Somewhat addresses + #43706 + + [ Colin Watson ] + * Pass all command-line preseed arguments (other than preseed/file) to + /root's debconf db. + + -- Tollef Fog Heen Sat, 13 May 2006 10:14:36 +0200 + +casper (1.52) dapper; urgency=low + + * Export the path in casper-reconfigure so X and friends actually have + sbin in their path. + + -- Tollef Fog Heen Thu, 11 May 2006 21:04:11 +0200 + +casper (1.51) dapper; urgency=low + + [ Luke Yelavich ] + * casper-bottom/30accessibility: + - Removed stale reference to acessx_applet. + - Fix some typos for gconf values that had to be set as lists. + + [ Colin Watson ] + * Pass debian-installer/locale to /root's debconf db (closes: Malone + #41896). + * Identify ourselves as casper when communicating with debconf. + * Factor out preseeding code into casper-preseed; this knows that it only + needs to register a question if it fails to set it, which saves memory + by avoiding debconf having to rewrite templates.dat. + * Preseed kbd-chooser/method as well as debian-installer/keymap, so that + kbd-chooser run from ubiquity picks up the selected keyboard (closes: + Malone #42202). + * Use new dpkg-reconfigure --no-reload option (debconf 1.4.72ubuntu6) to + avoid needlessly rewriting templates.dat. + + [ Tollef Fog Heen ] + * Add ... to the end of all usplash messages. Malone #43856 + * Add maybe_break casper-bottom to allow breaking before running bottom + scripts. Malone #43860 + * Don't show the name of the live cd user that's added. + * Mount COW filesystem if show-cow is present on the kernel command line. + Malone #43687 + * Disable the Kubuntu update notifier too. Malone #43806 + * Disable hibernation and enable sleep where appropriate. Malone #23882 + + -- Tollef Fog Heen Thu, 11 May 2006 12:11:08 +0200 + +casper (1.50) dapper; urgency=low + + [ Luke Yelavich ] + * Fixed some typos, and added missing settings to some accessibility + profiles, as they were either not working properly, or at all. Malone: + #39472, #39473 + * Removed the desktop wallpaper, and changed the background colour to gray + for the v1 accessibility profile. + * Set the whiteglass mouse theme for the v1 accessibility profile. + * Moved the gconftool-2 -s flag to individual gct calls, to allow for future + use of gconftool-2 flags that are incompatible with -s. + + [ Daniele Favara ] + * Allow custom HOST, USERNAME, USERFULLNAME. Malone: #42118 + * Add example file + - debian/casper.dir: Add examples dir + - debian/casper.conf: Explain briefly how to use new variables + - debian/rules: Install casper.conf as example_conf_casper + + [ Tollef Fog Heen ] + * Stylistic changes to Daniele's changes. + + -- Tollef Fog Heen Tue, 2 May 2006 14:12:31 +0200 + +casper (1.49) dapper; urgency=low + + * Also look for hardware named wlan* + + -- Scott James Remnant Wed, 26 Apr 2006 13:37:13 +0100 + +casper (1.48) dapper; urgency=low + + * Write /etc/network/interfaces entries for eth0, eth1, eth2, ath0 and + wlan0 if there's no hardware detected for them; as it may be plugged + in after boot. + + -- Scott James Remnant Wed, 26 Apr 2006 12:31:38 +0100 + +casper (1.47) dapper; urgency=low + + [ Tollef Fog Heen ] + * Turn on debugging of the X config. + * Log to a file which gets copied to /var/log/casper.log. Malone: #39895 + * Only pick UTF-8 locales. Malone: #40178 + * Use correct /root rather than /target for seeing what version of + gnome-panel-data is installed. + * Make festival (and probably some other apps) happier by using + 127.0.1.1 for our ubuntu hostname and 127.0.0.1 just resolves to + "localhost". + * Make casper-md5check read from tty8 since it wants to get keypresses + from the active console (where usplash runs). Malone: #40490. + * Copy /etc/modules when installing with ubiquity. Malone: #40311 + * /etc/gdm/gdm-cdd.conf can be a symlink. Cope with that. Malone: #40767 + + [ Colin Watson ] + * ubiquity-casper conflicts/replaces espresso-casper. + + -- Tollef Fog Heen Mon, 24 Apr 2006 09:41:14 +0200 + +casper (1.46) dapper; urgency=low + + * Use debian-installer/dummy for preseeding rather than espresso/dummy, + since the latter was removed in espresso 0.99.38. + * espresso is being renamed to ubiquity. Rename espresso-casper to + ubiquity-casper to match. + + -- Colin Watson Fri, 21 Apr 2006 12:52:48 +0100 + +casper (1.45) dapper; urgency=low + + [ Matt Zimmerman ] + * [share/shutdown] Disable the usplash timeout and wrap the prompt to two + lines + + [ Tollef Fog Heen ] + * Use devmapper for ia64, hppa and sparc. + + -- Tollef Fog Heen Wed, 19 Apr 2006 11:36:49 +0200 + +casper (1.44) dapper; urgency=low + + * Reset the timeout after casper-premount has run so we're sure that the + timeout is what we want it to be. Udev seems to change it too. + * Remove a few set -x commands to make the boot slightly less verbose. + * Fix 10adduser to actually install the correct icons for espresso. + + -- Tollef Fog Heen Wed, 12 Apr 2006 14:20:53 +0200 + +casper (1.43) dapper; urgency=low + + * Copy espresso-kdeui.desktop file to user's desktop + Branch at http://kubuntu.org/~jriddell/bzr/casper/trunk/ + + -- Jonathan Riddell Thu, 13 Apr 2006 15:37:49 +0100 + +casper (1.42) dapper; urgency=low + + [ Luke Yelavich ] + * casper-bottom/30accessibility: + - Removed some settings from accessibility profiles as these are now + in the relevant packages. + + [ Tollef Fog Heen ] + * Make sure to call gconftool as the right user. Malone #38408 + * Write an entry for / in fstab. Hopefully fixes Malone #34330 + * Change gdm-cdd.conf if it exists, not gdm.conf. Malone #37467 + * Really disable update-notifier, this time by removing the correct + file. + + -- Tollef Fog Heen Tue, 11 Apr 2006 15:43:24 +0200 + +casper (1.41) dapper; urgency=low + + * Don't mkdir then install -D, just install -D (this should prevent + ~ubuntu/Desktop being owned by root) + + -- Tollef Fog Heen Wed, 29 Mar 2006 10:52:42 +0200 + +casper (1.40) dapper; urgency=low + + * Add snd_powermac to /etc/modules on ppc. (Malone: #27862) + * Use chmod -x instead of mv to disable readahead in order to not + trigger unionfs bugs + * Reboot the system when a key is pressed at the end of the integrity + check. (Malone: #29203) + * Use usplash_write too when doing shutdown. (Malone: #34537) + + -- Tollef Fog Heen Tue, 28 Mar 2006 10:09:49 +0200 + +casper (1.39) dapper; urgency=low + + [ Tollef Fog Heen ] + * Disable update-notifier by default, as it won't make much sense for + most people. + + [ Colin Watson ] + * Clear out user-setup questions from the debconf database after creating + the live CD user, to avoid confusing espresso into offering "Ubuntu + LiveCD user" as the user's default full name. + + -- Tollef Fog Heen Mon, 13 Mar 2006 11:38:39 +0100 + +casper (1.38) dapper; urgency=low + + * Disable readahead since it breaks too much with squashfs and unionfs. + + -- Tollef Fog Heen Thu, 9 Mar 2006 09:43:39 +0100 + +casper (1.37) dapper; urgency=low + + * Add support for having the squashfs directly on a device, thanks to + Paul Sladen for idea and a patch. + * If a directory "Examples" exists in ~ after we've run adduser, move it + to the Desktop subdirectory for greater visibility. + + -- Tollef Fog Heen Sat, 4 Mar 2006 11:55:50 +0100 + +casper (1.36) dapper; urgency=low + + [ Tollef Fog Heen ] + * Fix typo in find_cow_device so block devices didn't work at all. + Malone #31639. Thanks to Richard Nemec for the catch. + * Update accessibility framework, thanks to Luke Yelavich. + + [ Colin Watson ] + * Move the /cdrom mount into the new root filesystem. + + -- Tollef Fog Heen Wed, 1 Mar 2006 11:13:54 +0100 + +casper (1.35) dapper; urgency=low + + * Check for preseed/file= in /proc/cmdline and feed any given file to + debconf-set-selections. + + -- Colin Watson Mon, 27 Feb 2006 17:32:02 +0000 + +casper (1.34) dapper; urgency=low + + [ Luke Yelavich ] + * Add initial accessibility support framework + + -- Tollef Fog Heen Wed, 22 Feb 2006 14:36:07 +0100 + +casper (1.33) dapper; urgency=low + + * Make sure Desktop and the espresso-$ui.desktop is owned by the Ubuntu + user. Malone #31991 + * Fix check for rc6.d/S90reboot at the bottom of 25configure_init to + actually look in the right place. + * Make me the maintainer of the package. + + -- Tollef Fog Heen Mon, 20 Feb 2006 09:49:02 +0100 + +casper (1.32) dapper; urgency=low + + * Fix copying of /usr/share/applications/espresso-gtkui.desktop. + + -- Colin Watson Thu, 16 Feb 2006 16:47:15 +0000 + +casper (1.31) dapper; urgency=low + + [ Tollef Fog Heen ] + * Print message about rebooting the system when the md5 check is + finished. + * Just have one copy of the casper shutdown scripts and symlink those + into the right place. Malone #20978 + + [ Colin Watson ] + * Copy /usr/share/applications/espresso-gtkui.desktop to the live CD + user's desktop. + + -- Tollef Fog Heen Tue, 14 Feb 2006 14:52:16 +0100 + +casper (1.30) dapper; urgency=low + + * Set a blank password for the ubuntu user. This hopefully resolves + Malone #30118 + * Pass keyboard layout information to xserver-xorg in the "new" scheme. + * Set up the right console keymap. + + -- Tollef Fog Heen Tue, 14 Feb 2006 14:48:14 +0100 + +casper (1.29) dapper; urgency=low + + [ Tollef Fog Heen ] + * Fix typo in 22gnome_panel_data + * Configure all detected network interfaces. + * Add support for putting the persistent storage in a loopback file on + vfat volumes + * Configure all detected network interfaces. + * Allow putting the live filesystem image on a VFAT volume + * Allow putting the persistent storage in a loopback file on a VFAT + volume + * Lots of cleanups + + [ Colin Watson ] + * Change casper-reconfigure to take the target root filesystem as its + first argument. + * Add espresso-casper package with hooks to repeat some things done by + casper in the installed system. + + -- Tollef Fog Heen Wed, 25 Jan 2006 14:25:45 +0100 + +casper (1.28) dapper; urgency=low + + * Depend on user-setup + * First shot at IEEE1394 support. Add sbp2 and ohci1394 as modules to + be copied into the initramfs. + + -- Tollef Fog Heen Mon, 16 Jan 2006 22:06:35 +0100 + +casper (1.27) dapper; urgency=low + + * Try using unionfs on ppc again + + -- Tollef Fog Heen Tue, 10 Jan 2006 20:55:19 +0100 + +casper (1.26) dapper; urgency=low + + * Add persistency support + * Usplash integration + + -- Tollef Fog Heen Tue, 10 Jan 2006 17:53:54 +0100 + +casper (1.25) dapper; urgency=low + + * Make /rofs available to in the target system. + + -- Tollef Fog Heen Mon, 9 Jan 2006 15:25:12 +0100 + +casper (1.24) dapper; urgency=low + + * For debconf-communicate, use a here-doc rather than trying to have \n + working in shell variables. + * The usplash fifo has moved, update paths accordingly. Also conflict + with the old usplash and depend on new enough initramfs-tools. + + -- Tollef Fog Heen Fri, 6 Jan 2006 14:20:37 +0100 + +casper (1.23) dapper; urgency=low + + * Move the building to binary-dep, since we're an arch: any package + now. + + -- Tollef Fog Heen Thu, 5 Jan 2006 10:37:31 +0100 + +casper (1.22) dapper; urgency=low + + * Bunch debconf-communicate commands together to speed up the boot a + little bit. + * Add integrity checker, this is compiled code, so casper is now arch: + any + + -- Tollef Fog Heen Wed, 4 Jan 2006 12:56:13 +0100 + +casper (1.21) dapper; urgency=low + + * If locale is unset, use en_US.UTF8, not whatever comes first in the + list of supported locales. + * Generate locale and set the locale in /etc/environment + * Use user-setup to create the user, rather than doing it ourselves. + * Various cleanups and fixes, such as making debconf-communicate silent + * Disable checkroot when booting + + -- Tollef Fog Heen Mon, 2 Jan 2006 11:00:25 +0100 + +casper (1.20) dapper; urgency=low + + * Remove a large bunch of debugging output + * Depend on dmsetup so the hook script can copy in that + * Handle both squashfs and cloop images, with run-time detection + * Use devmapper + cloop on powerpc, not unionfs, since unionfs is a + disaster there. + * Make sure we have both SCSI and IDE CDROM modules available in the + initramfs. + * Do some initial keyboard setup handling so X will, at least in some + cases, have a chance of giving the user a sane keymap. + + -- Tollef Fog Heen Mon, 19 Dec 2005 14:23:13 +0100 + +casper (1.19) dapper; urgency=low + + * Switch to initramfs, so casper only survives in spirit + * Use unionfs instead of a writeable devmapper snapshot + * Remove all debconfiscation, since we're an initramfs script now + * Make the postinst call update-initramfs -u + * Mount the CD read-only explicitly + * Make udevinfo silent if the device is not found. + + -- Tollef Fog Heen Tue, 13 Dec 2005 16:22:45 +0100 + +casper (1.18) breezy; urgency=low + + * Update translations from Rosetta: Greek, Spanish, French, Hungarian, + Brazilian Portuguese. + + -- Colin Watson Mon, 19 Sep 2005 20:05:02 +0100 + +casper (1.17) breezy; urgency=low + + * Set /apps/gnome-screensaver/lock if gnome-screensaver is installed + + -- Matt Zimmerman Fri, 16 Sep 2005 15:24:35 -0700 + +casper (1.16) breezy; urgency=low + + * Install a fake script in /lib/debian-installer.d/S72menu-exit after + pivoting that just calls sleep, to prevent scary console messages as d-i + tries to exit without its root filesystem. + + -- Colin Watson Wed, 14 Sep 2005 10:28:06 +0100 + +casper (1.15) breezy; urgency=low + + * Neutralize branding in startup message + * Use clear in addition to reset, in hopes of concealing error messages on + the console from d-i's death throes + + -- Matt Zimmerman Fri, 9 Sep 2005 11:24:14 -0700 + +casper (1.14) breezy; urgency=low + + * Set RUNNING_UNDER_GDM=yes in the user's environment to stop xscreensaver + locking the screen (Ubuntu #7150). + + -- Colin Watson Thu, 8 Sep 2005 13:37:00 +0100 + +casper (1.13) breezy; urgency=low + + * Use reset, rather than clear, to clean up after the colored dialogs on vt1 + + -- Matt Zimmerman Wed, 7 Sep 2005 16:09:45 -0700 + +casper (1.12) breezy; urgency=low + + * Kill bterm after pivoting so that we can use vt1 rather than vt2, + thereby avoiding a fight between gdm and the X server (closes: Ubuntu + #14851). + + -- Colin Watson Wed, 7 Sep 2005 15:48:40 +0100 + +casper (1.11) breezy; urgency=low + + * Remove debugging code which crept into 1.10 + * Revert changes to casper-udeb.postinst which were intended for + starting usplash earlier (pre-1.10) + + -- Matt Zimmerman Fri, 2 Sep 2005 13:43:03 -0700 + +casper (1.10) breezy; urgency=low + + * Instead of starting usplash directly, create an init script which will + start it later (after the new init), to avoid it being killed by + busybox init + + -- Matt Zimmerman Mon, 29 Aug 2005 20:26:58 -0700 + +casper (1.9) breezy; urgency=low + + * Remember to re-run 30copy-dev from 94usplash, in order to preserve the + device nodes clobbered by udev + * Redirect stdin of /etc/init.d/udev from /dev/console, to avoid + incredibly obnoxious 60-second sleep because it thinks we're + interactive + + -- Matt Zimmerman Mon, 29 Aug 2005 18:30:38 -0700 + +casper (1.8) breezy; urgency=low + + * Add usplash support + + -- Matt Zimmerman Mon, 29 Aug 2005 17:30:57 -0700 + +casper (1.7) breezy; urgency=low + + * Set DEBUG_XORG_PACKAGE=yes when reconfiguring xserver-xorg. The + output is only written to post.log and isn't visible to the user, and + can be invaluable for debugging + + -- Matt Zimmerman Mon, 22 Aug 2005 10:25:38 -0700 + +casper (1.6) breezy; urgency=low + + * Use debconf-copydb again (thanks, Tollef) + * Rename pre.d/20xconfig to pre.d/20prexconfig so that it is distinct from + post.d/20xconfig for purposes of the progress bar (no text for it; it's + very fast) + + -- Matt Zimmerman Wed, 17 Aug 2005 14:55:24 -0700 + +casper (1.5) breezy; urgency=low + + * Call MAKEDEV console in post.d/20xconfig as a workaround for bug + #13523 + + -- Matt Zimmerman Tue, 16 Aug 2005 15:24:06 -0700 + +casper (1.4) breezy; urgency=low + + * Revert to the old debconf hack; the debconf-copydb approach needs more + work + + -- Matt Zimmerman Mon, 15 Aug 2005 22:48:11 -0700 + +casper (1.3) breezy; urgency=low + + * Revert unintentional release of experimental unionfs code in 1.2 + + -- Matt Zimmerman Sat, 13 Aug 2005 11:19:50 -0700 + +casper (1.2) breezy; urgency=low + + * Fix debconf-copydb regex in 20xconfig + + -- Matt Zimmerman Sat, 13 Aug 2005 11:07:46 -0700 + +casper (1.1) breezy; urgency=low + + * Cope with xserver-xorg's rename of force_keyboard_detection to + autodetect_keyboard + + -- Matt Zimmerman Mon, 4 Jul 2005 02:52:07 -0700 + +casper (1.0) breezy; urgency=low + + * Version number bump (we've been through a stable Ubuntu release, after + all) + * Rename pre.d/10snapshot to post.d/10filesystem, as it is about to + become more generic + * Seed xserver-xorg/force_keyboard_detection to true in 20xconfig, so as + to cause the keyboard layout to (continue to) be autodetected based on + d-i settings + + -- Matt Zimmerman Thu, 16 Jun 2005 11:21:54 -0700 + +casper (0.65) breezy; urgency=low + + * As a performance optimization, only reconfigure gnome-panel-data if + booting on a laptop + * Disable the "lock screen" menu item (Ubuntu bug#7150) + + -- Matt Zimmerman Wed, 8 Jun 2005 16:02:14 -0700 + +casper (0.64) breezy; urgency=low + + * Merge colin.watson@canonical.com--2005/casper--debconf-copydb--0 + - Use debconf-copydb rather than our temporary hack + + -- Matt Zimmerman Tue, 31 May 2005 12:08:51 -0700 + +casper (0.63) breezy; urgency=low + + * Merge colin.watson@canonical.com--2005/casper--cdebconf-info--0 + - Update for cdebconf 0.75: use db_info rather than db_x_setbacktitle. + + -- Matt Zimmerman Mon, 18 Apr 2005 20:59:58 -0700 + +casper (0.62) hoary; urgency=low + + * Updated translations from + colin.watson@canonical.com--2005/casper--translations--0 (nb) + + -- Matt Zimmerman Tue, 5 Apr 2005 09:01:02 -0700 + +casper (0.61) hoary; urgency=low + + * Updated translations from + colin.watson@canonical.com--2005/casper--translations--0 (el, es, ro) + + -- Matt Zimmerman Tue, 5 Apr 2005 08:06:51 -0700 + +casper (0.60) hoary; urgency=low + + * Updated translations from + colin.watson@canonical.com--2005/casper--translations--0 (hu, id, pl) + + -- Matt Zimmerman Mon, 28 Mar 2005 11:26:21 -0800 + +casper (0.59) hoary; urgency=low + + * Updated translations from + colin.watson@canonical.com--2005/casper--translations--0 (de, pt_BR) + + -- Matt Zimmerman Fri, 25 Mar 2005 16:51:17 -0800 + +casper (0.58) hoary; urgency=low + + * Remove postfix shutdown links, as well as startup, to avoid an ugly error + + -- Matt Zimmerman Thu, 24 Mar 2005 18:24:03 -0800 + +casper (0.57) hoary; urgency=low + + * Merge colin.watson@canonical.com--2005/casper--translations--0 up to + patch-2 + * Preseed netcfg/wireless_essid_again for noninteractive network setup, +new + in netcfg 1.08ubuntu3 [colin.watson@canonical.com--2005/casper--netcfg--0] + + -- Matt Zimmerman Wed, 23 Mar 2005 08:33:46 -0800 + +casper (0.56) hoary; urgency=low + + * Suppress error output from eject + * Remind the user to close the CD tray if they have one (Ubuntu #6668) + * Add arch-build target to debian/rules + + -- Matt Zimmerman Tue, 22 Mar 2005 10:21:41 -0800 + +casper (0.55) hoary; urgency=low + + * Remove the hack introduced in 0.54, xorg 6.8.2-5 should be fixed + + -- Matt Zimmerman Wed, 16 Mar 2005 18:11:05 -0800 + +casper (0.54) hoary; urgency=low + + * Temporarily set RECONFIGURE=true when reconfiguring xserver-xorg, to work + around a bug introduced in 6.8.2-3 + + -- Matt Zimmerman Wed, 16 Mar 2005 15:08:45 -0800 + +casper (0.53) hoary; urgency=low + + * Provide target-base-system (i.e. base system installed in /target, also + provided by base-installer). + + -- Colin Watson Tue, 15 Mar 2005 13:01:53 +0000 + +casper (0.52) hoary; urgency=low + + * Arrange for $LANG to be set after pivot_root, so that (e.g.) + xserver-xorg can use it to infer the keymap (Ubuntu #7138) + + -- Matt Zimmerman Sat, 12 Mar 2005 02:10:59 -0800 + +casper (0.51) hoary; urgency=low + + * Disable kpersonalizer startup on first login + + -- Matt Zimmerman Sat, 5 Mar 2005 13:47:13 -0800 + +casper (0.50) hoary; urgency=low + + * Add support for configuring kdm autologin + * Rename 15gdm-autologin to 15autologin, and the corresponding debconf template + * Remove obsolete XORG_FORCE_PROBE from 20xconfig + + -- Matt Zimmerman Thu, 3 Mar 2005 10:37:31 -0800 + +casper (0.49) hoary; urgency=low + + * Fix 20xconfig harder + + -- Matt Zimmerman Wed, 2 Mar 2005 21:20:03 -0800 + +casper (0.48) hoary; urgency=low + + * Source confmodule in 20xconfig + + -- Matt Zimmerman Wed, 2 Mar 2005 21:02:35 -0800 + +casper (0.47) hoary; urgency=low + + * Copy over the value of debian-installer/keymap into the target system, + to allow the new logic in xserver-xorg.config to work + + -- Matt Zimmerman Wed, 2 Mar 2005 20:45:38 -0800 + +casper (0.46) hoary; urgency=low + + * Lock the live user's password entirely. Since the user is now + automagically logged in, continuously, both on the console and in X, + their password is irrelevant. + + -- Matt Zimmerman Mon, 28 Feb 2005 08:31:13 -0800 + +casper (0.45) hoary; urgency=low + + * Enable TimedLogin in gdm, so that if the user logs out, they are + automatically logged back in after a few seconds (Ubuntu #6667) + + -- Matt Zimmerman Sun, 27 Feb 2005 16:06:16 -0800 + +casper (0.44) hoary; urgency=low + + * Configure init to spawn shells on virtual consoles, rather than login + prompts (Ubuntu #6666) + * Skip X configuration if a serial console is in use + * Set the live user's password to be blank, rather than "ubuntu". This + is, paradoxically, more secure if the user decides to install + openssh-server, since empty passwords are disallowed by default + + -- Matt Zimmerman Sun, 27 Feb 2005 15:40:15 -0800 + +casper (0.43) hoary; urgency=low + + * Override localechooser progress bar text to be more appropriate for the + live CD (closes: Ubuntu #6664). + + -- Colin Watson Thu, 24 Feb 2005 19:12:00 +0000 + +casper (0.42) hoary; urgency=low + + * Preseed netcfg/no_interfaces, to avoid prompt when no network interfaces + can be configured (closes: Ubuntu #6107). + * Remove redundant DH_COMPAT setting in debian/rules, since there's + already a (different) debian/compat. + + -- Colin Watson Tue, 22 Feb 2005 12:43:43 +0000 + +casper (0.41) hoary; urgency=low + + * Cope with change in default /etc/sudoers (admin group). + + -- Colin Watson Tue, 22 Feb 2005 09:14:30 +0000 + +casper (0.40) hoary; urgency=low + + * Copy /dev/tts to the live system as well as /dev/vc, for serial console. + + -- Colin Watson Mon, 21 Feb 2005 19:03:54 +0000 + +casper (0.39) hoary; urgency=low + + * Fix reboot operation (cache the reboot binary) + + -- Matt Zimmerman Thu, 10 Feb 2005 20:51:08 -0800 + +casper (0.38) hoary; urgency=low + + * Eject the CD during shutdown/reboot + - Awful hack to copy /dev/cdroms to the live system, because the CD is + mounted using devfs names + - Add /usr/share/casper/shutdown script to casper-udeb + - Copy /usr/share/casper/shutdown to /etc/rc[06].d in 25configure-init + * Remove caspermon binary package, inadvertently enabled (not even + remotely ready) + + -- Matt Zimmerman Thu, 10 Feb 2005 13:43:56 -0800 + +casper (0.37) hoary; urgency=low + + * Fix casper-udeb/runlevel template + + -- Matt Zimmerman Tue, 8 Feb 2005 19:37:43 -0800 + +casper (0.36) hoary; urgency=low + + * Rename post.d/25disable-init-scripts to 25configure-init + * Add casper-udeb/runlevel, to allow the default runlevel + to be set + + -- Matt Zimmerman Tue, 8 Feb 2005 19:14:16 -0800 + +casper (0.35) hoary; urgency=low + + * Preseed netcfg/wireless_essid + * Remove obsolete confmodule load from pre.d/12fstab + * Don't mount a tmpfs on /var/run; it doesn't save a huge amount of + snapshot space, and packages expect their directories there to be + persistent + + -- Matt Zimmerman Mon, 7 Feb 2005 15:46:52 -0800 + +casper (0.34) hoary; urgency=low + + * Use casper-reconfigure in 10adduser as well + * Add post.d/93save-logs to save copies of the bootstrap logs to + /var/log/casper + * Stop reconfiguring fontconfig; it insists on rebuilding the entire + font cache, and the only benefit was to unable subpixel hints + + -- Matt Zimmerman Wed, 2 Feb 2005 10:42:19 -0800 + +casper (0.33) hoary; urgency=low + + * Re-upload to fix borked source package + + -- Matt Zimmerman Sun, 30 Jan 2005 12:21:07 -0800 + +casper (0.32) hoary; urgency=low + + * Factor out debconf hackery into casper-reconfigure + * Mount sysfs earlier, so we don't need to mess with it in 20xconfig + * Break 22simple-reconfig into 22fontconfig and 22gnome-panel-data, and + create progress bar text for them + * Preseed netcfg/dhcp_failed, to avoid a prompt when DHCP fails + + -- Matt Zimmerman Sat, 29 Jan 2005 14:03:36 -0800 + +casper (0.31) hoary; urgency=low + + * Clear tty2 and print a nice message, before signalling init + + -- Matt Zimmerman Sat, 29 Jan 2005 13:15:44 -0800 + +casper (0.30) hoary; urgency=low + + * Reconfigure fontconfig, to enable subpixel rendering based on the + hardware in use + + -- Matt Zimmerman Thu, 27 Jan 2005 14:21:49 -0800 + +casper (0.29) hoary; urgency=low + + * Fix the problem described in 0.28 by preseeding a default for + netcfg/get_hostname + + -- Matt Zimmerman Tue, 25 Jan 2005 23:04:03 -0800 + +casper (0.28) hoary; urgency=low + + * Suppress network configuration questions + + - The goal is to make a reasonable effort to configure one interface + automatically, but if that is not possible, fall back to no + configuration. We aren't quite there yet. + + - If we fail to resolve our IP into a hostname using DNS, netcfg seems + to fall back to an empty value, rather than the default in the + template. + + -- Matt Zimmerman Tue, 25 Jan 2005 22:55:35 -0800 + +casper (0.27) hoary; urgency=low + + * Add post.d/22simple-reconfig + - Reconfigure gnome-panel-data if it is installed, to set up the GNOME + session based on whether the system is a laptop + - Corresponding progress template + - mount /proc earlier (needed for, e.g. laptop-detect) + * Warn about screen blanking in X configuration progress message + * Simplify post.d/20xconfig and pre.d/13swap a bit + * Update TODO + + -- Matt Zimmerman Sat, 22 Jan 2005 15:56:49 -0800 + +casper (0.26) hoary; urgency=low + + * Set NOPASSWD in /etc/sudoers for the initial user + + -- Matt Zimmerman Fri, 21 Jan 2005 16:53:49 -0800 + +casper (0.25) hoary; urgency=low + + * mount /proc before signalling init, as it now uses /proc to determine + what is and is not a kernel thread + + -- Matt Zimmerman Fri, 21 Jan 2005 16:04:52 -0800 + +casper (0.24) hoary; urgency=low + + * Add a backtitle properly + + -- Matt Zimmerman Fri, 21 Jan 2005 09:07:19 -0800 + +casper (0.23) hoary; urgency=low + + * Add a backtitle + + -- Matt Zimmerman Fri, 21 Jan 2005 09:02:01 -0800 + +casper (0.22) hoary; urgency=low + + * Search for swap on SCSI disks as well as IDE + + -- Matt Zimmerman Wed, 19 Jan 2005 14:27:09 -0800 + +casper (0.21) unstable; urgency=low + + * Cosmetic changes to debconf templates + * Fix 10adduser to register debconf questions before setting their + values and flags + + -- Matt Zimmerman Wed, 19 Jan 2005 14:14:20 -0800 + +casper (0.20) hoary; urgency=low + + * Remove legacy symlinks from casper/pre.d; they are now contained in + the relevant udebs + + -- Matt Zimmerman Wed, 19 Jan 2005 13:22:33 -0800 + +casper (0.19) hoary; urgency=low + + * Update TODO + * casper-udeb Depends: md-modules + + -- Matt Zimmerman Wed, 19 Jan 2005 11:23:51 -0800 + +casper (0.18) hoary; urgency=low + + * Enable new adduser code, using db_fset ... seen to suppress the questions + + -- Matt Zimmerman Tue, 18 Jan 2005 15:06:48 -0800 + +casper (0.17) hoary; urgency=low + + * Convert snapshot setup to use debconf instead of hardcoded parameters + * Remove obselete-before-being-used username template + * Convert post.d/10adduser to use debconf passthrough to the passwd package, + and thus share its user-adding code rather than duplicating it. + - But don't enable it yet, since we need to find a way to prevent its + questions from being asked + + -- Matt Zimmerman Tue, 18 Jan 2005 13:04:48 -0800 + +casper (0.16) hoary; urgency=low + + * casper-udeb Depends: casper-check, harddrive-detection + * Automatically find and enable swap devices + + -- Matt Zimmerman Tue, 18 Jan 2005 11:23:48 -0800 + +casper (0.15) hoary; urgency=low + + * Set anna/standard_modules to false at startup to suppress unnecessary + udeb retrieval. + + -- Colin Watson Tue, 18 Jan 2005 13:41:00 +0000 + +casper (0.14) hoary; urgency=low + + * Enable X autoconfiguration(!) + + -- Matt Zimmerman Sat, 15 Jan 2005 02:19:58 -0800 + +casper (0.13) hoary; urgency=low + + * Rename templates so that they are named after the {pre,post}.d hook + which uses them + * Remove some unused templates + + -- Matt Zimmerman Fri, 14 Jan 2005 10:11:02 -0800 + +casper (0.12) hoary; urgency=low + + * Add debconf templates for various things that we currently hardcode. + Not actually used yet due to need for testing, but having the + templates present greatly simplifies testing the remaining integration + work + + -- Matt Zimmerman Thu, 13 Jan 2005 20:32:39 -0800 + +casper (0.11) hoary; urgency=low + + * Update post.d/20xconfig to use debconf passthrough to cdebconf + (requires debconf 1.4.42 and cdebconf 0.75), but leave it disabled for + now + * Create /etc/fstab in the target (this also seems to solve the problem + with noatime disappearing, and so should reduce snapshot utilization) + + -- Matt Zimmerman Thu, 13 Jan 2005 18:25:36 -0800 + +casper (0.10) hoary; urgency=low + + * Remove rc?.d/K??hwclock.sh links, to avoid changing the system clock + during reboot or shutdown + + -- Matt Zimmerman Thu, 13 Jan 2005 18:13:31 -0800 + +casper (0.9) hoary; urgency=low + + * Fix gdm autologin configuration (broken in 0.8) + + -- Matt Zimmerman Wed, 12 Jan 2005 10:52:05 -0800 + +casper (0.8) hoary; urgency=low + + * Add debian-installer/casper-udeb/title template, to specify more + readable menu item text + * Create /usr/lib/casper/{pre,post}.d and move all of our internal logic + there + * Create temporary symlinks in pre.d for the prebaseconfig.d items we + want + * Convert errors into proper error dialogs + * Make some pre.d scripts idempotent, for ease of testing + + -- Matt Zimmerman Tue, 11 Jan 2005 16:59:35 -0800 + +casper (0.7) hoary; urgency=low + + * Disable X configuration temporarily; need to resolve debconf issues + + -- Matt Zimmerman Tue, 11 Jan 2005 13:14:43 -0800 + +casper (0.6) hoary; urgency=low + + * Allow "modprobe ext2" to fail; apparently it's sometimes compiled in + + -- Matt Zimmerman Tue, 11 Jan 2005 12:12:28 -0800 + +casper (0.5) hoary; urgency=low + + * Attempt to configure X + - This doesn't work very well yet (PCI BusID doesn't seem to get + updated, for example), so we still don't start gdm by default) + * Conditionalize some of the configuration code, so we automatically do + the right thing if gdm or X isn't installed + * Add German translation from Andreas Mueller + * modprobe ext2, to let powerpc work (this should probably happen + elsewhere, but for now...) + + -- Matt Zimmerman Sun, 9 Jan 2005 17:49:56 -0800 + +casper (0.4) hoary; urgency=low + + * Mount tmpfs on /tmp and /var/run, should save many writes to the snapshot + + -- Matt Zimmerman Fri, 7 Jan 2005 18:35:26 -0800 + +casper (0.3) hoary; urgency=low + + * Disable anacron and postfix startup + * Don't cripple /bin/apt-install in d-i (this was a workaround to + prevent d-i from installing packages which should have been present in + the filesystem image anyway, but weren't) + + -- Matt Zimmerman Fri, 7 Jan 2005 18:10:55 -0800 + +casper (0.2) hoary; urgency=low + + * Use mount --move to move the cdrom mount point, so that we can unmount + /initrd and free up the memory used by d-i + * Use /dev/ram1 rather than /dev/ram0 for the COW stuff, since /dev/ram0 + is used for initrds and we want to avoid confusion + * Organize casper-udeb.postinst into shell functions + * Add a progress bar + * Add a debian/compat file (version 4) + + -- Matt Zimmerman Fri, 7 Jan 2005 08:01:21 -0800 + +casper (0.1) hoary; urgency=low + + * Initial Release. + + -- Matt Zimmerman Wed, 5 Jan 2005 14:30:28 -0800 diff --git a/hooks/live b/hooks/live index 94383ca..402f7ca 100755 --- a/hooks/live +++ b/hooks/live @@ -1,75 +1,118 @@ -#!/bin/sh -e -# initramfs hook for casper +#!/bin/sh -PREREQS="" +# initramfs hook for live-initramfs (Debian Live) + +set -e + +# initramfs-tools header + +PREREQ="" -# Output pre-requisites prereqs() { - echo "$PREREQ" + echo "${PREREQ}" } -case "$1" in - prereqs) - prereqs - exit 0 - ;; +case "${1}" in + prereqs) + prereqs + exit 0 + ;; esac . /usr/share/initramfs-tools/hook-functions -manual_add_modules unionfs +# live-initramfs hook -# We need losetup -copy_exec /sbin/losetup /sbin +# Handling live-initramfs + +# Configuration +if [ -r /etc/live.conf ] +then + . /etc/live.conf -# Casper hooks -mkdir -p ${DESTDIR}/lib/live-initramfs + mkdir -p "${DESTDIR}"/etc + cp /etc/live.conf "${DESTDIR}"/etc +fi + +# Directories +mkdir -p "${DESTDIR}"/lib/live-initramfs + +# Executables +copy_exec /usr/lib/live-initramfs/live-md5check /bin copy_exec /usr/share/live-initramfs/live-reconfigure /bin copy_exec /usr/share/live-initramfs/live-preseed /bin -mkdir -p ${DESTDIR}/lib/udev -copy_exec /lib/udev/cdrom_id /lib/udev -copy_exec /lib/udev/vol_id /lib/udev -copy_exec /lib/udev/path_id /lib/udev -copy_exec /usr/bin/udevinfo /bin +# Scripts +cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts +cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts + +# Handling binaries + +# losetup +copy_exec /sbin/losetup /sbin + +# mount.cifs +if [ -x /sbin/mount.cifs ] +then + copy_exec /sbin/mount.cifs /sbin +fi + +# eject copy_exec /usr/bin/eject /bin -# cifs boot -if [ -x /sbin/mount.cifs ]; then - copy_exec /sbin/mount.cifs /sbin - for x in cifs; do - manual_add_modules ${x} - done +# udev +if [ "${BUILD_SYSTEM}" = "Ubuntu" ] +then + mkdir -p "${DESTDIR}"/lib/udev + + copy_exec /lib/udev/cdrom_id /lib/udev + copy_exec /lib/udev/path_id /lib/udev + copy_exec /lib/udev/vol_id /lib/udev fi -# squashfs -manual_add_modules squashfs -manual_add_modules loop +copy_exec /sbin/udevtrigger /sbin +copy_exec /sbin/udevsettle /sbin +copy_exec /usr/bin/udevinfo /bin -# random file system modules -manual_add_modules vfat +# Handling kernel modules + +# Filesystem: cifs +if [ -x /sbin/mount.cifs ] +then + manual_add_modules cifs +fi + +# Filesystem: ext3 manual_add_modules ext3 -# needed for vfat. :-/ + +# Filesystem: squashfs +manual_add_modules loop +manual_add_modules squashfs + +# Filesystem: unionfs +manual_add_modules unionfs + +# Filesystem: vfat manual_add_modules nls_cp437 -manual_add_modules nls_utf8 manual_add_modules nls_iso8859-1 +manual_add_modules nls_utf8 +manual_add_modules vfat -# cdrom modules -manual_add_modules sr_mod +# Hardware: cdrom manual_add_modules ide-cd -manual_add_modules sbp2 manual_add_modules ohci1394 +manual_add_modules sbp2 +manual_add_modules sr_mod -# integrity check -copy_exec /usr/lib/live-initramfs/live-md5check /bin - -cp /usr/share/initramfs-tools/scripts/live-functions $DESTDIR/scripts -cp /usr/share/initramfs-tools/scripts/live-helpers $DESTDIR/scripts - +# Hardware: network auto_add_modules net -if [ -e /etc/live.conf ]; then - mkdir -p ${DESTDIR}/etc - cp /etc/live.conf ${DESTDIR}/etc +# Custom keymap (usefull when using encryption) +if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ] +then + copy_exec /bin/loadkeys /bin + + mkdir -p "${DESTDIR}"/etc + cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc fi diff --git a/manpages/live-initramfs.7 b/manpages/live-initramfs.7 deleted file mode 100644 index d35e018..0000000 --- a/manpages/live-initramfs.7 +++ /dev/null @@ -1,84 +0,0 @@ -.TH CASPER 7 "Thu, 28 Sep 2006" "1.69" "Initramfs-tools hook" - -.SH NAME -casper \- a hook for initramfs-tools to boot live systems. - -.SH SYNOPSIS -.B BOOT=casper -As kernel parameter boot prompt. - -.SH DESCRIPTION -Casper is a hook for initramfs-tools used to generate an initramfs capable to boot live systems as those created by make-live. This includes the Debian-Live isos, netboot tarballs, and usb stick images and Ubuntu live cds. At boot time it will look for a (read-only) media containing a "/casper" directory where a root filesystems (often a compressed squashfs) is stored. If found, it will create a writable environment, using unionfs, for debian like systems to boot from. - -.SH RECOGNIZED BOOT OPTIONS -.TP -.B live-getty -This enables a special "serial" login shell (experimental). -.TP -.B xdebconf -uses xdebconfigurator, if present on the rootfs, to configure X instead of the standard procedure (experimental). -.TP -.BI "hostname=" HOSTNAME " , userfullname=" USERFULLNAME " , username=" USERNAME -Those parameters lets you override values read from the config file. -.TP -.BI "{keyb|kbd-chooser/method}=" KEYBOARD " , {klayout|console-setup/layoutcode}=" LAYOUT " , {kvariant|console-setup/variantcode}=" VARIANT " , {kmodel|console-setup/modelcode}=" CODE " , koptions=" OPTIONS -Configure the running keyboard as specified, if this one misses casper behaves as if "keyb=us" was specified. It will be interfered from "locale=" if locale is only 2 lowecase letters as a special case. You could also specify console layout, variant, code, and options (no defaults). -.TP -.BI ip= IFACE,ADDRESS,NETMASK,GATEWAY [ :IFACE,ADDRESS,NETMASK,GATEWAY "]*" -Let you specify the name(s) and the options of the interface(s) that should be configured at boot time. Do not specify this if you want to use dhcp (default). -.TP -.BR ip[= frommedia ] -If this variable is set, dhcp and static configuration are just skipped and the system will use the (must be) media-preconfigured /etc/network/interfaces instead. -.TP -.BI "{live-media|bootfrom}=" DEVICE -If you specify one of this two equivalent forms, casper will first try to find this device for the "/casper" directory where the read-only root filesystem should reside. If it did not find something usable, the normal scan for block devices is performed. -.TP -.BI "live-media-offset=" BYTES -This way you could tell casper that your image starts at offset BYTES in the above specified or autodiscovered device, this could be useful to hide the debian-live iso or image inside another iso or image, to create "clean" images. -.TP -.BI "locale=" LOCALE " | debian-installer/locale=" LOCALE -Configure the running locale as specified, if not present the live-media rootfs configured locale will be used and if also this one misses casper behave as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified (like "it"), the "maybe wanted" locale is generated (like it:IT.UTF-8), in this case if also "keyb=" is unspecified is set with those 2 lowercase letters (keyb=it). -.TP -.BR "netboot[=" nfs "|" cifs ] -This tells casper to perform a network mount. The parameter "nfsroot=" (with optional "nfsopts="), should specify where is the location of the root filesystem. With no args, will try cifs first, and if it fails nfs. -.TP -.B persistent -Casper will look for persistent and snapshot partitions or files labeled "casper-rw", "home-rw", and files called "casper-sn*", "home-sn*" and will try to, in order: mount as /cow the first, mount the second in /home, and just copy the contents of the latter in appropriate locations (snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look at live-snapshot(1) for more informations. -.TP -.B nopersistent -disables the above mentioned "persistent" feature, useful if the bootloader (like syslinux) has been installed with persistent enabled. -.TP -.B "showmounts" -This parameter will make casper to show on "/" the ro filesystems (mostly compressed) on /casper. This is not enabled by default because could lead to problems by applications like "mono" which store binary paths on installation. -.TP -.BI "todisk=" DEVICE -Adding this parameter, casper will try to copy the entire read-only media to the specified device before mounting the root filesystem. It probably needs a lot of free space. Subsequent boots should then skip this step and just specify the "live-media=DEVICE" boot parameter with the same DEVICE used this time. -.TP -.B toram -Adding this parameter, casper will try to copy the whole read-only media to the computer's RAM before mounting the root filesystem. This could need a lot of ram, according to the space used by the read-only media. -.TP -.BI "{preseed/file|file}=" FILE -A path to a file present on the rootfs could be used to preseed debconf database. -.TP -.BI "package/question=" VALUE -All debian installed packages could be preseeded from command-line that way, beware of blanks spaces, they will interfere with parsing, use a preseed file in this case. - -.SH FILES -.B /etc/live.conf -some variables can be configured via this config file. - -.SH BUGS -.B casper -works fully on amd64, i386 and ppc, it should also run on other archs. - -.SH HOMEPAGE -Debian Live project - -.SH SEE ALSO -.BR live-snapshot(1), initramfs-tools(8), make-live(8), make-live.conf(5) - -.SH AUTHOR -casper was written by Tollen Fog Heen , Matt Zimmerman , and Marco Amadori . -.TP -This manual page was written by Marco Amadori , -for the Debian project (but may be used by others). diff --git a/manpages/live-initramfs.en.7 b/manpages/live-initramfs.en.7 new file mode 100644 index 0000000..03a1e7e --- /dev/null +++ b/manpages/live-initramfs.en.7 @@ -0,0 +1,95 @@ +.TH LIVE\-INITRAMFS 7 "2007\-05\-14" "1.81.3" "live\-initramfs" + +.SH NAME +live\-initramfs \- Debian Live initramfs generator + +.SH SYNOPSIS +.B BOOT=live +as kernel parameter at boot prompt. + +.SH DESCRIPTION +live\-initramfs is a hook for the initramfs\-tools, used to generate a initramfs capable to boot live systems, such as those created by \fIlive\-helper\fR(7). This includes the Debian Live isos, netboot tarballs, and usb stick images. +.PP +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. +.PP +live\-initramfs is a fork of casper <\fIhttp://packages.ubuntu.com/casper/\fR>. casper was originally written by Tollef Fog Heen <\fItfheen@canonical.com\fR> and Matt Zimmerman <\fImdz@canonical.com\fR>. + +.SH BOOT OPTIONS +Here is the complete list of recognized boot parameters by live\-initramfs. +.IP "\fBaccess=\fR\fIACCESS\fR" 4 +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 "\fBhostname=\fR\fIHOSTNAME\fR, \fBusername=\fR\fIUSERFULLNAME\fR, \fBusername=\fR\fIUSERNAME\fR"4 +Those parameters lets you override values read from the config file. +.IP "\fBintegrity\-check\fR" 4 +If specified, an MD5 sum is calculated on the live media during boot and compared to the value found in md5sum.txt found in the root directory of the live media. +.IP "\fBip=\fR\fIIFACE,ADDRESS,NETMASK,GATEWAY [:IFACE,ADDRESS,NETMASK,GATEWAY]\fR*" 4 +Let you specify the name(s) and the options of the interface(s) that should be configured at boot time. Do not specify this if you want to use dhcp (default). It will be changed in a future release to mimick official kernel boot param specification. +.IP "\fBip\fR[=frommedia]" 4 +If this variable is set, dhcp and static configuration are just skipped and the system will use the (must be) media\-preconfigured /etc/network/interfaces instead. +.IP "\fB{keyb|kbd\-chooser/method}=\fR\fIKEYBOARD\fR, \fB{klayout|console\-setup/layoutcode}=\fR\fILAYOUT\fR, \fB{kvariant|console\-setup/variantcode}=\fR\fIVARIANT\fR, \fB{kmodel|console\-setup/modelcode}=\fR\fICODE\fR, \fBkoptions=\fR\fIOPTIONS\fR" 4 +Configure the running keyboard as specified, if this one misses live\-initramfs behaves as if "keyb=us" was specified. It will be interfered from "locale=" if locale is only 2 lowecase letters as a special case. You could also specify console layout, variant, code, and options (no defaults). +.IP "\fBlive\-getty\fR" 4 +This changes the auto\-login on virtual terminals to use the (experimental) live\-getty code. With this option set the standard kernel argument "console=" is parsed and if a serial console is specified then live\-getty is used to autologin on the serial console. +.IP "\fB{live\-media|bootfrom}=\fR\fIDEVICE\fR" 4 +If you specify one of this two equivalent forms, live\-initramfs will first try to find this device for the "/live" directory where the read\-only root filesystem should reside. If it did not find something usable, the normal scan for block devices is performed. +.IP "\fB{live\-media\-encryption|encryption}=\fR\fITYPE\fR" 4 +live\-initramfs will mount the encrypted rootfs TYPE, asking the passphrase, useful to build paranoid live systems :\-). TYPE supported so far are "aes" for loop\-aes encryption type. +.IP "\fBlive\-media\-offset=\fR\fIBYTES\fR" 4 +This way you could tell live\-initramfs that your image starts at offset BYTES in the above specified or autodiscovered device, this could be useful to hide the Debian Live iso or image inside another iso or image, to create "clean" images. +.IP "\fBlive\-media\-timeout=\fR\fISECONDS\fR" 4 +Set the timeout in seconds for the device specified by "live\-media=" to become ready before giving up. +.IP "\fBlocale=\fR\fILOCALE\fR | \fBdebian\-installer/locale=\fR\fILOCALE\fR" 4 +Configure the running locale as specified, if not present the live\-media rootfs configured locale will be used and if also this one misses live\-initramfs behave as "locale=en_US.UTF\-8" was specified. If only 2 lowercase letter are specified (like "it"), the "maybe wanted" locale is generated (like ien:EN.UTF\-8), in this case if also "keyb=" is unspecified is set with those 2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales are supported by live\-initramfs. +.IP "\fBmodule=\fR\fINAME\fR" 4 +Instead of using the default optional file "order.lst" (see below) another file could be specified without the extension ".lst"; it should be placed on "/live" directory of the live medium. +.IP "\fBnetboot\fR[=nfs|cifs]" 4 +This tells live\-initramfs to perform a network mount. The parameter "nfsroot=" (with optional "nfsopts="), should specify where is the location of the root filesystem. With no args, will try cifs first, and if it fails nfs. +.IP "\fBpersistent\fR" 4 +live\-initramfs will look for persistent and snapshot partitions or files labeled "live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try to, in order: mount as /cow the first, mount the second in /home, and just copy the contents of the latter in appropriate locations (snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look at \fIlive\-snapshot\fR(1) for more informations. +.IP "\fBnopersistent\fR" 4 +disables the above mentioned "persistent" feature, useful if the bootloader (like syslinux) has been installed with persistent enabled. +.IP "\fBquickreboot\fR" 4 +This option causes live\-initramfs to reboot without attempting to eject the media and without asking the user to remove the boot media. +.IP "\fBshowmounts\fR" 4 +This parameter will make live\-initramfs to show on "/" the ro filesystems (mostly compressed) on "/live". This is not enabled by default because could lead to problems by applications like "mono" which store binary paths on installation. +.IP "\fBswapoff\fR" 4 +This parameter disables usage of local swap partitions. +.IP "\fBtodisk=\fR\fIDEVICE" 4 +Adding this parameter, live\-initramfs will try to copy the entire read\-only media to the specified device before mounting the root filesystem. It probably needs a lot of free space. Subsequent boots should then skip this step and just specify the "live\-media=DEVICE" boot parameter with the same DEVICE used this time. +.IP "\fBtoram\fR" 4 +Adding this parameter, live\-initramfs will try to copy the whole read\-only media to the computer's RAM before mounting the root filesystem. This could need a lot of ram, according to the space used by the read\-only media. +.IP "\fB{preseed/file|file}=\fR\fIFILE\fR" 4 +A path to a file present on the rootfs could be used to preseed debconf database. +.IP "\fBpackage/question=\fR\fIVALUE\fR" 4 +All debian installed packages could be preseeded from command\-line that way, beware of blanks spaces, they will interfere with parsing, use a preseed file in this case. +.IP "\fBxdebconf\fR" 4 +uses xdebconfigurator, if present on the rootfs, to configure X instead of the standard procedure (experimental). +.IP "\fBxvideomode=\fR\fIRESOLUTION\fR" 4 +doesn't do xorg autodetection, but enforces a given resolution. + +.SH FILES +.B /etc/live.conf +some variables can be configured via this config file (inside the live system). +.TP +.B /live/order.lst +This optional file (inside the live media) contains a list of white\-space or carriage\-return\-separated file names corresponding to disk images in the "/live" directory. If this file exists, only images listed here will be merged into the root unionfs, and they will be loaded in the order listed here. The first entry in this file will be the "lowest" point in the unionfs, and the last file in this list will be on the "top" of the unionfs, directly below /cow. Without this file, any images in the "/live" directory are loaded in alphanumeric order. + +.SH SEE ALSO +\fIlive\-snapshot\fR(1) +.PP +\fIlive\-helper\fR(7) +.PP +\fIinitramfs\-tools\fR(8) + +.SH BUGS +Report bugs against live\-initramfs <\fIhttp://packages.qa.debian.org/live\-initramfs/\fR>. + +.SH HOMEPAGE +More information about the Debian Live project can be found at <\fIhttp://debian\-live.alioth.debian.org/\fR> and <\fIhttp://wiki.debian.org/DebianLive/\fR>. + +.SH AUTHORS +live\-initramfs is maintained by Daniel Baumann <\fIdaniel@debian.org\fR> and Marco Amadori <\fImarco.amadori@gmail.com\fR> for the Debian project. +.PP +live\-initramfs is a fork of casper <\fIhttp://packages.ubuntu.com/casper/\fR>. casper was originally written by Tollef Fog Heen <\fItfheen@canonical.com\fR> and Matt Zimmerman <\fImdz@canonical.com\fR>. diff --git a/manpages/live-snapshot.1 b/manpages/live-snapshot.1 deleted file mode 100644 index 8f27412..0000000 --- a/manpages/live-snapshot.1 +++ /dev/null @@ -1,70 +0,0 @@ -.TH "CASPER-SNAPSHOT" 1 "Thu, 28 Sep 2006" "0.0.1" "User commands" - -.SH NAME -casper-snapshot \- a simple script to ease persistence usage. - -.SH SYNOPSIS -.B casper-snapshot -.RB [\| \-c \||\| \-\-cow -.IR DIRECTORY \|] -.RB [\| \-d \||\| \-\-device -.IR DEVICE \|] -.RB [\| \-e \||\| \-\-exclude\-list -.IR FILE \|] -.RB [\| \-o \||\| \-\-output -.IR FILE \|] -.RB [\| \-t \||\| \-\-type -.IR TYPE \|] -.PP -.B casper-snapshot -.RB \-r \||\| \-\-resync\-string -.IR STRING -.br -.B casper-snapshot -.RB \-h \||\| \-\-help -.br -.B casper-snapshot -.RB \-u \||\| \-\-usage -.br -.B casper-snapshot -.RB \-v \||\| \-\-version - -.SH DESCRIPTION -Casper-snapshot is a script which can be used to build the right types of persistent image files supported by casper. It is also used on exit by the casper init script to resync the boot-found snapshots devices. - -.SH OPTIONS -.TP -.BI "\-c, \-\-cow" DIRECTORY -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 casper as home. -.TP -.BI "\-d, \-\-device" DEVICE -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. -.TP -.BI "\-e, \-\-exclude\-list" FILE -a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse. -.TP -.BI "\-o, \-\-output" FILE -the filename/label used for the output file/partition. If left blank, casper-snapshot will search for a proper file on the device or use the whole partition. -.TP -.BI "\-r, \-\-resync\-string" STRING -internally used on resyncs. -.TP -.BI "\-t, \-\-type" TYPE -Type could be one of "cpio", "squashfs" or "ext2". - -.SH BUGS -.B casper-snapshot -Time (and BTS) will tell. - -.SH HOMEPAGE -Debian Live project - -.SH SEE ALSO -.BR casper(7) - -.SH AUTHOR -casper-snapshot was written Marco Amadori . -.TP -This manual page was written by Marco Amadori , -for the Debian project (but may be used by others). diff --git a/manpages/live-snapshot.en.1 b/manpages/live-snapshot.en.1 new file mode 100644 index 0000000..e7995db --- /dev/null +++ b/manpages/live-snapshot.en.1 @@ -0,0 +1,71 @@ +.TH LIVE\-SNAPSHOT 1 "2007\-05\-14" "1.81.3" "live\-initramfs" + +.SH NAME +live\-snapshot \- a simple script to ease persistence usage + +.SH SYNOPSIS +.B live\-snapshot +.RB [\| \-c \||\| \-\-cow +.IR DIRECTORY ] +.RB [\| \-d \||\| \-\-device +.IR DEVICE \|] +.RB [\| \-e \||\| \-\-exclude\-list +.IR FILE \|] +.RB [\| \-o \||\| \-\-output +.IR FILE \|] +.RB [\| \-t \||\| \-\-type +.IR TYPE \|] +.PP +.B live\-snapshot +.RB [\| \-r \||\| \-\-resync\-string +.IR STRING \|] +.PP +.B live\-snapshot +.RB [\| \-h \||\| \-\-help \|] +.br +.B live\-snapshot +.RB [\| \-u \||\| \-\-usage \|] +.br +.B live-snapshot +.RB [\| \-v \||\| \-\-version \|] + +.SH DESCRIPTION +live\-snapshot is a script which can be used to build the right types of persistent image files supported by \fIlive\-initramfs\fR(7). It is also used on exit by the live\-initramfs init script to resync the boot-found snapshots devices. + +.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. +.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 +a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse. +.IP "\fB\-o, \-\-output\fR \fIFILE\fR" 4 +the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition. +.IP "\fB\-r, \-\-resync\-string\fR \fISTRING\fR" 4 +internally used on resyncs. +.IP "\fB\-t, \-\-type\fR \fITYPE\fR" 4 +Type could be one of "cpio", "squashfs" or "ext2". +.PP +.IP "\fB\-h, \-\-help\fR" 4 +display help and exit +.IP "\fB\-u, \-\-usage\fR" 4 +show usage and exit +.IP "\fB\-v, \-\-version\fR" 4 +output version information and exit + +.SH SEE ALSO +\fIlive\-initramfs\fR(8) +.PP +This program is a part of live\-initramfs. + +.SH BUGS +Report bugs against live\-initramfs <\fIhttp://packages.qa.debian.org/live\-initramfs/\fR>. + +.SH HOMEPAGE +More information about the Debian Live project can be found at <\fIhttp://debian\-live.alioth.debian.org/\fR> and <\fIhttp://wiki.debian.org/DebianLive/\fR>. + +.SH AUTHORS +live\-initramfs is maintained by Daniel Baumann <\fIdaniel@debian.org\fR> and Marco Amadori <\fImarco.amadori@gmail.com\fR> for the Debian project. +.PP +live\-initramfs is a fork of casper <\fIhttp://packages.ubuntu.com/casper/\fR>. casper was originally written by Tollef Fog Heen <\fItfheen@canonical.com\fR> and Matt Zimmerman <\fImdz@canonical.com\fR>. diff --git a/scripts/live b/scripts/live index 9ab1ac5..04243d7 100755 --- a/scripts/live +++ b/scripts/live @@ -7,17 +7,22 @@ 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=/cdrom +mountpoint=/live_media + +root_persistence="live-rw" +home_persistence="home-rw" +root_snapshot_label="live-sn" +home_snapshot_label="home-sn" USERNAME=user -USERFULLNAME="Live session user" -HOST=live +USERFULLNAME="Live user" +HOSTNAME=host BUILD_SYSTEM=Custom mkdir -p $mountpoint [ -f /etc/live.conf ] && . /etc/live.conf -export USERNAME USERFULLNAME HOST BUILD_SYSTEM +export USERNAME USERFULLNAME HOSTNAME BUILD_SYSTEM . /scripts/live-helpers @@ -25,7 +30,103 @@ if [ ! -f /live.vars ]; then touch /live.vars fi -is_casper_path() { +parse_cmdline () +{ + PRESEEDS= + # looking for live-initramfs specifics options as kernel parameters + for x in $(cat /proc/cmdline); do + case $x in + userfullname=*) + export USERFULLNAME=${x#userfullname=} + export LIVECONF="changed" + ;; + hostname=*) + export HOSTNAME=${x#hostname=} + export LIVECONF="changed" + ;; + username=*) + export USERNAME=${x#username=} + export LIVECONF="changed" + ;; + netboot*) + export NETBOOT=${x#netboot=} ;; + access=*) + export ACCESS=${x#access=} ;; + xdebconf) + export XDEBCONF="Yes" ;; + xvideomode=*) + export XVIDEOMODE="${x#xvideomode=}" ;; + toram) + export TORAM="Yes" ;; + todisk=*) + export TODISK=${x#todisk=} ;; + swapoff) + export SWAPOFF="Yes" ;; + showmounts) + export SHOWMOUNTS="Yes" ;; + persistent) + export PERSISTENT="Yes" ;; + nopersistent) + export PERSISTENT="" ;; + ip*) + STATICIP=${x#ip=} + if [ "${STATICIP}" == "" ]; then + STATICIP="frommedia" + fi + export STATICIP ;; + live-getty) + export LIVE_GETTY=1 ;; + bootfrom=*|live-media=*) + export LIVE_MEDIA=${x#*=} ;; + live-media-encryption=*|encryption=*) + export LIVE_MEDIA_ENCRYPTION=${x#*=} ;; + live-media-timeout=*) + export LIVE_MEDIA_TIMEOUT=${x#live-media-timeout=} ;; + live-media-offset=*) + export LIVE_MEDIA_OFFSET=${x#live-media-offset=} ;; + locale=*|debian-installer/locale=*) + export LOCALE=${x#*=} ;; + keyb=*|kbd-chooser/method=*) + export KBD=${x#*=} ;; + klayout=*|console-setup/layoutcode=*) + export KLAYOUT=${x#*=} ;; + koptions=*) + export KOPTIONS=${x#koptions=} ;; + kvariant=*|console-setup/variantcode=*) + export KVARIANT=${x#*=} ;; + kmodel=*|console-setup/modelcode=*) + export KMODEL=${x#*=} ;; + module=*) + export MODULE=${x#module=} ;; + preseed/file=*|file=*) + export LOCATION="${x#*=}" ;; + */*=*) + question="${x%%=*}" + value="${x#*=}" + PRESEEDS="${PRESEEDS}\"${question}=${value}\" " + ;; + console=*) + export DEFCONSOLE="${x#*=}" ;; + esac + done + + # sort of compatibility with netboot.h from linux docs + if [ -z "${NETBOOT}" ]; then + if [ "${ROOT}" == "/dev/nfs" ]; then + NETBOOT="nfs" + export NETBOOT + elif [ "${ROOT}" == "/dev/cifs" ]; then + NETBOOT="cifs" + export NETBOOT + fi + fi + + if [ -z "${MODULE}" ]; then + MODULE=order + fi +} + +is_live_path() { path=$1 if [ -d "$path/live" ]; then if [ "$(echo $path/live/*.squashfs)" != "$path/live/*.squashfs" ] || @@ -40,7 +141,7 @@ is_casper_path() { get_backing_device() { case "$1" in *.squashfs|*.ext2) - echo $(setup_loop "$1" "loop" "/sys/block/loop*") + echo $(setup_loop "$1" "loop" "/sys/block/loop*" '0' "${LIVE_MEDIA_ENCRYPTION}") ;; *.dir) echo "directory" @@ -243,7 +344,7 @@ do_snap_copy () try_snap () { # Look for $snap_label.* in block devices and copy the contents to $snap_mount - # and remember the device and filename for resync on exit in casper.init + # and remember the device and filename for resync on exit in live-initramfs.init snap_label="${1}" snap_mount="${2}" @@ -320,24 +421,40 @@ setup_unionfs() { roopt="ro" fi - mkdir -p "${croot}" - for image_type in "ext2" "squashfs" "dir" ; do - for image in "${image_directory}"/*."${image_type}"; do - imagename=$(basename "${image}") - if [ -d "${image}" ]; then - # it is a plain directory: do nothing - rofsstring="${image}=${roopt}:${rofsstring}" - rofslist="${image} ${rofslist}" - elif [ -f "${image}" ]; then - backdev=$(get_backing_device "$image") - fstype=$(get_fstype "${backdev}") - if [ "${fstype}" = "unknown" ]; then - panic "Unknown file system type on ${backdev} (${image})" - fi - mkdir -p "${croot}/${imagename}" - mount -t "${fstype}" -o ro "${backdev}" "${croot}/${imagename}" || panic "Can not mount $backdev ($image) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}" - fi + # Read image names from ${MODULE}.lst if it exists + if [ -e "${image_directory}/${MODULE}.lst" ]; then + for image in $(cat "${image_directory}/${MODULE}.lst"); do + image_string="${image_string} ${image_directory}/${image}"; + done + else + # If ${MODULE}.lst does not exist, create a list of images + for image_type in "ext2" "squashfs" "dir"; do + for image in "${image_directory}"/*."${image_type}"; do + if [ -e "${image}" ]; then + image_string="${image_string} ${image}"; + fi + done done + # Now sort the list + image_string=$(echo ${image_string} | sed -e 's/ /\n/g' | sort ) + fi + + mkdir -p "${croot}" + for image in ${image_string}; do + imagename=$(basename "${image}") + if [ -d "${image}" ]; then + # it is a plain directory: do nothing + rofsstring="${image}=${roopt}:${rofsstring}" + rofslist="${image} ${rofslist}" + elif [ -f "${image}" ]; then + backdev=$(get_backing_device "$image") + fstype=$(get_fstype "${backdev}") + if [ "${fstype}" = "unknown" ]; then + panic "Unknown file system type on ${backdev} (${image})" + fi + mkdir -p "${croot}/${imagename}" + mount -t "${fstype}" -o ro "${backdev}" "${croot}/${imagename}" || panic "Can not mount $backdev ($image) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}" + fi done rofsstring=${rofsstring%:} @@ -386,17 +503,11 @@ setup_unionfs() { ;; esac done - # shows cow fs on /cow for use by live-snapshot - mkdir -p "${rootmnt}/cow" - mount -o bind /cow "${rootmnt}/cow" fi - # move the first mount; no head in busybox-initramfs - for d in $(mount -t squashfs | cut -d\ -f 3); do - mkdir -p "${rootmnt}/rofs" - mount -o move "${d}" "${rootmnt}/rofs" - break - done + # shows cow fs on /cow for use by live-snapshot + mkdir -p "${rootmnt}/cow" + mount -o bind /cow "${rootmnt}/cow" } check_dev () @@ -407,15 +518,15 @@ check_dev () devname=$(sys2dev "${sysdev}") fi - if [ -n "${LIVEMEDIA_OFFSET}" ]; then - loopdevname=$(setup_loop "${devname}" "loop" "/sys/block/loop*" "${LIVEMEDIA_OFFSET}") - devname="${loopdevname}" + if [ -n "${LIVE_MEDIA_OFFSET}" ]; then + loopdevname=$(setup_loop "${devname}" "loop" "/sys/block/loop*" "${LIVE_MEDIA_OFFSET}" '') + devname="${loopdevname}" fi fstype=$(get_fstype "${devname}") if is_supported_fs ${fstype}; then mount -t ${fstype} -o ro "${devname}" $mountpoint || continue - if is_casper_path $mountpoint; then + if is_live_path $mountpoint; then echo $mountpoint return 0 else @@ -423,7 +534,7 @@ check_dev () fi fi - if [ -n "${LIVEMEDIA_OFFSET}" ]; then + if [ -n "${LIVE_MEDIA_OFFSET}" ]; then losetup -d "${loopdevname}" fi return 1 @@ -432,14 +543,14 @@ check_dev () find_livefs() { timeout="${1}" # first look at the one specified in the command line - if [ ! -z "${LIVEMEDIA}" ]; then - if check_dev "null" "${LIVEMEDIA}"; then + if [ ! -z "${LIVE_MEDIA}" ]; then + if check_dev "null" "${LIVE_MEDIA}"; then return 0 fi fi # don't start autodetection before timeout has expired - if [ -n "${LIVEMEDIA_TIMEOUT}" ]; then - if [ "${timeout}" -lt "${LIVEMEDIA_TIMEOUT}" ]; then + if [ -n "${LIVE_MEDIA_TIMEOUT}" ]; then + if [ "${timeout}" -lt "${LIVE_MEDIA_TIMEOUT}" ]; then return 1 fi fi @@ -462,7 +573,7 @@ find_livefs() { "${fstype}" = "ext2" ]; then # This is an ugly hack situation, the block device has # an image directly on it. It's hopefully - # casper, so take it and run with it. + # live-initramfs, so take it and run with it. ln -s "${devname}" "${devname}.${fstype}" echo "${devname}.${fstype}" return 0 @@ -489,6 +600,8 @@ mountroot() { exec > live.log exec 2>&1 + parse_cmdline + set_usplash_timeout [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/live-premount" pulsate @@ -508,9 +621,9 @@ mountroot() { fi else # Scan local devices for the image - for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13; do + for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do livefs_root=$(find_livefs $i) - if [ "${livefs_root}" ]; then + if [ -n "${livefs_root}" ]; then break fi sleep 1 diff --git a/scripts/live-bottom/01integrity_check b/scripts/live-bottom/01integrity_check index d5bc5fe..46a5790 100755 --- a/scripts/live-bottom/01integrity_check +++ b/scripts/live-bottom/01integrity_check @@ -15,4 +15,4 @@ prereqs) ;; esac -grep integrity-check /proc/cmdline && live-md5check /cdrom /cdrom/md5sum.txt < /dev/tty8 +grep integrity-check /proc/cmdline && live-md5check /live_media /live_media/md5sum.txt < /dev/tty8 diff --git a/scripts/live-bottom/02etc_live_conf b/scripts/live-bottom/02etc_live_conf new file mode 100755 index 0000000..f0bbd96 --- /dev/null +++ b/scripts/live-bottom/02etc_live_conf @@ -0,0 +1,39 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Copying config on real root fs..." + +. /scripts/live-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +log_begin_msg "$DESCRIPTION" + +if [ -f /etc/live.conf ] ; then + if [ ! -z "${LIVECONF}" ]; then + # Updating live.conf + sed -i -e 's/\(USERNAME="\).*"/\1'"${USERNAME}"'"/g' \ + -e 's/\(USERFULLNAME="\).*"/\1'"${USERFULLNAME}"'"/g' \ + -e 's/\(HOSTNAME="\).*"/\1'"${HOSTNAME}"'"/g' /etc/live.conf + fi + cp -p /etc/live.conf /root/etc/live.conf + +else + cat </root/etc/live.conf +export USERNAME="$USERNAME" +export USERFULLNAME="$USERFULLNAME" +export HOSTNAME="$HOSTNAME" +EOF + +fi diff --git a/scripts/live-bottom/05mountpoints b/scripts/live-bottom/05mountpoints index 411660d..36c2972 100755 --- a/scripts/live-bottom/05mountpoints +++ b/scripts/live-bottom/05mountpoints @@ -21,7 +21,9 @@ esac log_begin_msg "$DESCRIPTION" # Move to the new root filesystem so that programs there can get at it. -mkdir -p /root/cdrom -mount -n -o move /cdrom /root/cdrom +if [ ! -d /root/live_media ]; then + mkdir -p /root/live_media + mount -n -o move /live_media /root/live_media +fi log_end_msg diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser index 9179f1b..394f007 100755 --- a/scripts/live-bottom/10adduser +++ b/scripts/live-bottom/10adduser @@ -20,16 +20,28 @@ esac log_begin_msg "$DESCRIPTION" +if [ "${BUILD_SYSTEM}" == "Debian" ]; then + user_crypted="8Ab05sVQ4LLps" # as in `echo "live" | mkpasswd -s` +else + user_crypted="U6aMy0wojraho" # "ubuntu" +fi + # U6aMy0wojraho is just a blank password chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null < /dev/null +if [ "${BUILD_SYSTEM}" == "Debian" ]; then + chroot /root /usr/bin/env -i HOME="/root" \ + TERM="${TERM}" PATH="/usr/sbin:/usr/bin:/sbin:/bin" \ + /usr/lib/user-setup/user-setup-apply > /dev/null +else + chroot /root /usr/lib/user-setup/user-setup-apply > /dev/null +fi # Clear out debconf database again to avoid confusing ubiquity later. chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null <> /root/etc/sudoers + + # XXX - awful hack to stop xscreensaver locking the screen (#7150) + echo 'RUNNING_UNDER_GDM="yes"' >> /root/etc/environment + + for file in /usr/share/applications/ubiquity-gtkui.desktop /usr/share/applications/kde/ubiquity-kdeui.desktop; do + if [ -f "/root/$file" ]; then + chroot /root install -D -o $USERNAME -g $USERNAME $file /home/$USERNAME/Desktop/$(basename "$file") + break + fi + done elif [ "${BUILD_SYSTEM}" = "Debian" ]; then - echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /root/etc/sudoers - fi -fi + echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /root/etc/sudoers + + chroot /root sudo -u "${USERNAME}" sh -c "echo 'SU_TO_ROOT_SU=sudo' >> /home/${USERNAME}/.su-to-rootrc" + + chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gksu/sudo-mode true + chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gksu/display-no-pass-info false -# XXX - awful hack to stop xscreensaver locking the screen (#7150) -echo 'RUNNING_UNDER_GDM="yes"' >> /root/etc/environment +chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/config && cat > /home/${USERNAME}/.kde/share/config/kdesurc" << EOF +[super-user-command] +super-user-command=sudo +EOF + + if [ -f /root/usr/share/apps/konsole/sumc.desktop ] + then + chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/apps/konsole && sed -e's/Exec=su.*$/Exec=sudo mc -c/' /usr/share/apps/konsole/sumc.desktop > /home/${USERNAME}/.kde/share/apps/konsole/sumc.desktop" + fi -for file in /usr/share/applications/ubiquity-gtkui.desktop /usr/share/applications/kde/ubiquity-kdeui.desktop; do - if [ -f "/root/$file" ]; then - chroot /root install -D -o $USERNAME -g $USERNAME $file /home/$USERNAME/Desktop/$(basename "$file") - break + if [ -f /root/usr/share/apps/konsole/su.desktop ] + then + chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/apps/konsole && sed -e's/Exec=su.*$/Exec=sudo -i/' /usr/share/apps/konsole/su.desktop > /home/${USERNAME}/.kde/share/apps/konsole/su.desktop" + fi fi -done +fi if [ -L /root/home/$USERNAME/Examples ]; then chroot /root install -o $USERNAME -g $USERNAME -d /home/$USERNAME/Desktop/ diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap index fcef76c..9d762f4 100755 --- a/scripts/live-bottom/13swap +++ b/scripts/live-bottom/13swap @@ -21,6 +21,11 @@ esac log_begin_msg "$DESCRIPTION" +if [ -n "${SWAPOFF}" ] +then + exit 0 +fi + devices="" for device in /dev/[hs]d[a-z][0-9]*; do if ! [ -b "$device" ]; then @@ -28,7 +33,7 @@ for device in /dev/[hs]d[a-z][0-9]*; do fi magic=$(/bin/dd if="$device" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue - + if [ "$magic" = "SWAPSPACE2" -o "$magic" = "SWAP-SPACE" ]; then # log "Found $device" devices="$devices $device" diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales index a03e0d1..2102569 100755 --- a/scripts/live-bottom/14locales +++ b/scripts/live-bottom/14locales @@ -33,19 +33,10 @@ else grep_file=/root/etc/default/locale fi -# commandline -for x in $(cat /proc/cmdline); do - case $x in - debian-installer/locale=*) - locale=${x#debian-installer/locale=} - set_locale="true" - ;; - locale=*) - locale=${x#locale=} - set_locale="true" - ;; - esac -done +if [ -n "${LOCALE}" ]; then + locale="${LOCALE}" + set_locale="true" +fi if [ -z "${locale}" ]; then # Set a default one @@ -54,10 +45,34 @@ if [ -z "${locale}" ]; then fi if [ "${set_locale}" ]; then + if echo "${locale}" | grep -sqE '^[[:lower:]]{2}$' ; then + # input is like "locale=it", so we will convert and setup also the keyboard if not already set + if [ -z "${KBD}" ]; then + # FIXME: look if this keyb is supported + KBD="${locale}" + really_export KBD + fi + uploc=$(echo "${locale}" | tr '[a-z]' '[A-Z]') + locale="${locale}_${uploc}.UTF-8" + fi LANG=$(grep "^${locale}" /root/usr/share/i18n/SUPPORTED | grep UTF-8 |sed -e 's, .*,,' -e q) - printf 'LANG="%s"\n' "${LANG}" >> "${grep_file}" - printf '%s UTF-8\n' "${LANG}" > /root/etc/locale.gen - chroot /root /usr/sbin/locale-gen "${LANG}" + if [ -z "${LANG}" ]; then + log_warning_message "Locale ${locale} is unsupported." + locale="en_US.UTF-8" + LANG="${locale}" + fi + + really_export LANG + + if [ "${BUILD_SYSTEM}" == "Ubuntu" ]; then + printf 'LANG="%s"\n' "${LANG}" > "${grep_file}" + chroot /root /usr/sbin/locale-gen "${LANG}" + live-preseed /root debian-installer/locale "${locale}" + else + printf 'LANG=%s\n' "${LANG}" > "${grep_file}" + printf '%s UTF-8\n' "${LANG}" > /root/etc/locale.gen + chroot /root /usr/sbin/locale-gen + fi fi log_end_msg diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin index 4b64dc7..6032437 100755 --- a/scripts/live-bottom/15autologin +++ b/scripts/live-bottom/15autologin @@ -27,6 +27,11 @@ else fi if chroot /root [ -f ${GDMCONF} ]; then + if [ "${BUILD_SYSTEM}" == "Debian" ]; then + # true hack ! -- nohar + chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf + fi + # Configure GDM autologin chroot /root sed -i \ -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \ diff --git a/scripts/live-bottom/18hostname b/scripts/live-bottom/18hostname index 591e4ec..3a54e87 100755 --- a/scripts/live-bottom/18hostname +++ b/scripts/live-bottom/18hostname @@ -20,10 +20,10 @@ esac log_begin_msg "$DESCRIPTION" -echo "$HOST" > /root/etc/hostname +echo "$HOSTNAME" > /root/etc/hostname cat > /root/etc/hosts < /dev/null < /dev/null < /dev/null < /dev/null << EOF +set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE} +set xserver-xorg/config/display/modes ${XVIDEOMODE} +EOF + + chroot /root dexconf + + umount /root/sys + umount /root/proc + umount /root/dev +fi + +log_end_msg diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking index 988206e..ad7ac95 100755 --- a/scripts/live-bottom/23networking +++ b/scripts/live-bottom/23networking @@ -85,7 +85,7 @@ EOF fi cat > /root/etc/resolv.conf <> "$IFFILE" <> "$IFFILE" </dev/\2 2>\&1|" /root/etc/inittab - fi - if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ]; then - for f in /root/etc/event.d/tty*; do - sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME /dev/$(basename $f) 2>\&1|" $f - done - fi + if [ ! -z "${LIVE_GETTY}" ]; then + if echo "${DEFCONSOLE}" | grep -qs ttyS; then + # AUTOMATIC SERIAL CONSOLE # + PORT=$(echo "${DEFCONSOLE}" | \ + sed -e 's%,.*%%') + SPEED=$(echo "${DEFCONSOLE}" | \ + sed -e 's%ttyS[0-9]\+,%%' \ + -e's%\([0-9]\+\).*%\1%') + if ! ( sed -n -e'/^[^#]/p' /root/etc/inittab | grep -qs ":respawn:/sbin/getty.*${PORT}" ) ; then + IDs="A B C D E F G H I J K L M N O P Q R S T Q U V V X Y Z 0 1 2 3 4 5 6 7 8 9" + for ID1 in $IDs; do + for ID2 in $IDs; do + ID="${ID1}${ID2}" + if ! grep "^${ID}:" /etc/inittab ; then + #make sure it is not already in use + break 2 + fi + done + done + echo "${ID}:2345:respawn:/sbin/live-getty -L ${PORT} ${SPEED} vt100" \ + >>/root/etc/inittab + fi + fi + if [ -f /root/etc/inittab ]; then + sed -i -e'/^[^#]/s%respawn:/sbin/getty%respawn:/sbin/live-getty%' /root/etc/inittab + fi + else + if [ -f /root/etc/inittab ]; then + sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f $USERNAME /dev/\2 2>\&1|" /root/etc/inittab + fi + if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ]; then + for f in /root/etc/event.d/tty*; do + sed -i -e "s|^respawn.*|respawn /bin/login -f $USERNAME /dev/$(basename $f) 2>\&1|" $f + done + fi + fi fi # This has the nice side effect of the cron.{daily,weekly,monthly} jobs in diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility index 127c48f..d8286e6 100755 --- a/scripts/live-bottom/30accessibility +++ b/scripts/live-bottom/30accessibility @@ -34,8 +34,7 @@ kderc_addtoprefixes() { fi } -for x in $(cat /proc/cmdline); do - case $x in +case ${ACCESS} in # Lesser Visual Impairment access=v1) gct -s -t string /desktop/gnome/interface/gtk_theme HighContrastLargePrint @@ -85,7 +84,7 @@ for x in $(cat /proc/cmdline); do kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/minor-motor-difficulties/ if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ]; then sed -i 's/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi + fi ;; # Motor Difficulties - pointing devices access=m2) @@ -99,8 +98,7 @@ for x in $(cat /proc/cmdline); do kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/minor-motor-difficulties/,/usr/share/kubuntu-default-settings/kde-profile/motor-difficulties-pointing-devices/ if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ]; then sed -i '/Sticky/ s/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi + fi ;; - esac -done +esac log_end_msg diff --git a/scripts/live-bottom/40install_driver_updates b/scripts/live-bottom/40install_driver_updates index 5822f8f..698ed02 100755 --- a/scripts/live-bottom/40install_driver_updates +++ b/scripts/live-bottom/40install_driver_updates @@ -30,7 +30,7 @@ mkdir "/root$install_dir" cp -a /tmp/driver-updates/*.deb "/root$install_dir/" # We cannot leave packages in a bad state. So if the install fails, remove -# it. This will get caught in casper.log. +# it. This will get caught in live.log. for deb in "/root$install_dir"/*; do if ! chroot /root dpkg -i "$install_dir/$deb"; then chroot /root dpkg -P "${deb%%_*}" diff --git a/scripts/live-functions b/scripts/live-functions index 60721b4..7100603 100644 --- a/scripts/live-functions +++ b/scripts/live-functions @@ -1,5 +1,6 @@ . /scripts/functions +. /live.vars # Override this so we don't call PROGRESS log_end_msg() @@ -19,3 +20,16 @@ log_wait_msg() fi _log_msg "Waiting: $@ ..." } + +really_export () +{ + STRING="${1}" + VALUE="$(eval echo -n \${$STRING})" + + if [ -f /live.vars ] && cat /live.vars | grep -sq "export ${STRING}" ; then + sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars + else + echo "export ${STRING}=\"${VALUE}\"" >> /live.vars + fi + eval export "${STRING}"="${VALUE}" +} diff --git a/scripts/live-helpers b/scripts/live-helpers index 8402d93..eac2175 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -1,4 +1,4 @@ -## Casper helper functions, used by casper on boot and by casper-snapshot +## live-initramfs helper functions, used by live-initramfs on boot and by live-snapshot if [ "${BUILD_SYSTEM}" = "Ubuntu" ]; then MP_QUIET="-Q" @@ -108,11 +108,20 @@ fs_size () echo "${size}" } +load_keymap() +{ + # Load custom keymap + if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ]; then + loadkeys /etc/boottime.kmap.gz + fi +} + setup_loop() { local fspath=$1 local module=$2 local pattern=$3 local offset=$4 + local encryption=$5 modprobe ${MP_QUIET} -b "$module" udevsettle @@ -120,10 +129,35 @@ setup_loop() { for loopdev in $pattern; do if [ "$(cat $loopdev/size)" -eq 0 ]; then dev=$(sys2dev "${loopdev}") - if [ -n "$offset" ]; then - losetup -o "$offset" "$dev" "$fspath" + options='' + if [ 0 -lt "${offset}" ]; then + options="${options} -o ${offset}" + fi + if [ -z "${encryption}" ]; then + losetup ${options} "${dev}" "${fspath}" else - losetup "$dev" "$fspath" + # Loop AES encryption + while true; do + load_keymap + echo -n "Enter passphrase for ${fspath}: " >&6 + read -s passphrase + echo "${passphrase}" > /tmp/passphrase + exec 9&6 + read answer + if [ 'no' = "${answer}" ]; then + unset answer + break + fi + done fi echo "$dev" return 0 -- cgit v1.2.3