[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-46-g9a11741

Daniel Baumann daniel at debian.org
Sat May 2 06:47:13 UTC 2009


The following commit has been merged in the master branch:
commit 9a117417933050e28ff7f0e7ab38609a4e4eb644
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat May 2 08:42:22 2009 +0200

    Adding update-initramfs call back in lh_chroot_hacks, but only for netboot.

diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index f23853f..03fa50b 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -40,6 +40,12 @@ Create_lockfile .lock
 # Removing udev mac caching rule
 rm -f chroot/etc/udev/rules.d/*persistent-net.rules
 
+# Remove resume
+if [ "${LH_DISTRIBUTION}" = "etch" ] && [ -e /etc/initramfs-tools/conf.d/resume ]
+then
+	rm -f /etc/initramfs-tools/conf.d/resume
+fi
+
 case "${LH_BINARY_IMAGES}" in
 	net)
 		if [ ! -f chroot/usr/bin/smbmount ]
@@ -60,15 +66,12 @@ BOOT=nfs
 NFSROOT=auto
 EOF
 		fi
+
+		# Update initramfs
+		Chroot "update-initramfs -k all -t -u"
 		;;
 esac
 
-# Remove resume
-if [ "${LH_DISTRIBUTION}" = "etch" ] && [ -e /etc/initramfs-tools/conf.d/resume ]
-then
-	rm -f /etc/initramfs-tools/conf.d/resume
-fi
-
 # Ensure readable permissions on initramfs. loop-aes-utils sets umask to
 # protect GPG keys, which live-helper does not support.
 # Note: Use find rather than chmod on the wildcard, one never knows what

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list