Adding live-initramfs 1.91.1-1.
authorDaniel Baumann <daniel@debian.org>
Sun, 23 Sep 2007 12:46:38 +0000 (14:46 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:31:05 +0000 (17:31 +0100)
Makefile
debian/changelog
docs/CREDITS
docs/ChangeLog
docs/ChangeLog.casper
hooks/live
manpages/live-initramfs.en.7
manpages/live-snapshot.en.1
scripts/live-bottom/18hostname
scripts/live-bottom/40install_driver_updates
scripts/local-top/live [new file with mode: 0755]

index 18ae2e6..40fcf7b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,8 +117,8 @@ uninstall:
 update:
        set -e; for MANPAGE in manpages/*.en.*; \
        do \
-               sed -i  -e 's/2007\\-06\\-04/2007\\-06\\-11/' \
-                       -e 's/1.88.1/1.90.1/' \
+               sed -i  -e 's/2007\\-06\\-11/2007\\-06\\-18/' \
+                       -e 's/1.91.1/1.91.2/' \
                $$MANPAGE; \
        done
 
index 18c85ef..f673bc6 100644 (file)
@@ -1,3 +1,9 @@
+live-initramfs (1.91.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 18 Jun 2007 00:00:00 +0200
+
 live-initramfs (1.90.1-1) unstable; urgency=medium
 
   * New upstream release.
index 00293a9..c10f802 100644 (file)
@@ -16,3 +16,4 @@ Patches (alphabetical order):
   * Oliver Osburg <o.osburg@uni-jena.de>
   * Otavio Salvador <otavio@debian.org>
   * Sebastian Raveau <sebastien.raveau@epita.fr>
+  * Thomas Lange <lange@informatik.uni-koeln.de>
index c281ef9..612ad0d 100644 (file)
@@ -1,3 +1,17 @@
+2007-06-17  Daniel Baumann  <daniel@debiann.org>
+
+       * Added patch from Thomas Lange <lange@informatik.uni-koeln.de> to
+         properly load ide-generic after udev.
+
+2007-06-15  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.91.
+
+2007-06-14  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/18hostname:
+        - Appending to /etc/hosts to not overwrite custom settings.
+
 2007-06-08  Daniel Baumann  <daniel@debian.org>
 
        * Merging changes from casper 1.88.
index c4174e6..e125fa4 100644 (file)
@@ -1,3 +1,11 @@
+casper (1.91) gutsy; urgency=low
+
+  * Fix Maintainer field (ubuntu-devel-discuss, not ubuntu-devel).
+  * Remember to strip directories from paths when dealing with driver update
+    .debs (LP: #120217).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 14 Jun 2007 09:51:33 +0100
+
 casper (1.90) gutsy; urgency=low
 
   * Added to 22screensaver, to stop the screen automatically locking.
index e94590d..a2e5943 100755 (executable)
@@ -83,8 +83,8 @@ manual_add_modules nls_utf8
 manual_add_modules vfat
 
 # Hardware: cdrom
-force_load ide-generic
 manual_add_modules ide-cd
+manual_add_modules ide-generic
 manual_add_modules ohci1394
 manual_add_modules sbp2
 manual_add_modules sr_mod
index fb4a7d6..098882f 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-INITRAMFS 7 "2007\-06\-11" "1.90.1" "live\-initramfs"
+.TH LIVE\-INITRAMFS 7 "2007\-06\-18" "1.91.1" "live\-initramfs"
 
 .SH NAME
 live\-initramfs \- Debian Live initramfs hook
index 737edee..7149aa0 100644 (file)
@@ -1,4 +1,4 @@
-.TH LIVE\-SNAPSHOT 1 "2007\-06\-11" "1.90.1" "live\-initramfs"
+.TH LIVE\-SNAPSHOT 1 "2007\-06\-18" "1.91.1" "live\-initramfs"
 
 .SH NAME
 live\-snapshot \- a simple script to ease persistence usage
index e854eb2..430d0a0 100755 (executable)
@@ -27,7 +27,7 @@ log_begin_msg "Setting hostname..."
 # live-initramfs script
 
 echo "$HOSTNAME" > /root/etc/hostname
-cat > /root/etc/hosts <<EOF
+cat >> /root/etc/hosts <<EOF
 127.0.0.1 localhost
 127.0.1.1 $HOSTNAME
 
index 66ae123..d6f149a 100755 (executable)
@@ -38,8 +38,10 @@ 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 live.log.
 for deb in "/root$install_dir"/*; do
-       if ! chroot /root dpkg -i "$install_dir/$deb"; then
-               chroot /root dpkg -P "${deb%%_*}"
+       [ -f "$deb" ] || continue
+       debbase="${deb##*/}"
+       if ! chroot /root dpkg -i "$install_dir/$debbase"; then
+           chroot /root dpkg -P "${debbase%%_*}"
        fi
 done
 
diff --git a/scripts/local-top/live b/scripts/local-top/live
new file mode 100755 (executable)
index 0000000..7d9e6c2
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ="udev"
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-initramfs script
+
+modprobe ide-generic