Merging casper 1.168.
authorDaniel Baumann <daniel@debian.org>
Mon, 26 Oct 2009 12:43:05 +0000 (13:43 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:06 +0000 (17:48 +0100)
docs/ChangeLog.casper
scripts/live
scripts/live-bottom/43disable_updateinitramfs

index 6f1b59b..59e09ef 100644 (file)
@@ -1,3 +1,13 @@
+casper (1.168) jaunty; urgency=low
+
+  * Fix writing of "$@" to diverted update-initramfs script (here-documents
+    perform parameter expansion unless the delimiter is quoted).
+  * Don't bring up a temporary network interface while fetching the preseed
+    file when netbooting, as that will disconnect our root filesystem
+    (LP: #351982).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 31 Mar 2009 15:39:29 +0100
+
 casper (1.167) jaunty; urgency=low
 
   * Disable kwallet from KDE 4 in 34disable_kde_services
index 9bbf8be..2753d5e 100755 (executable)
@@ -390,9 +390,9 @@ Arguments ()
                                mount -o bind /dev /root/dev
 
                                mkdir -p /root/var/run/network
-                               chroot /root dhclient eth0
+                               [ "${NETBOOT}" ] || chroot /root dhclient eth0
                                chroot /root wget -P /tmp "${location}"
-                               chroot /root ifconfig eth0 down
+                               [ "${NETBOOT}" ] || chroot /root ifconfig eth0 down
 
                                umount /root/sys
                                umount /root/proc
index dab2290..fa0ecac 100755 (executable)
@@ -33,7 +33,7 @@ chroot /root dpkg-divert --add --rename --quiet \
 if [ -w /cdrom ]
 then
 
-cat > /root/usr/sbin/update-initramfs << EOF
+cat > /root/usr/sbin/update-initramfs << 'EOF'
 #!/bin/sh
 
 update-initramfs.distrib "$@"