[SCM] debian-live/live-helper branch, master, updated. 1.0_a43-1-4-g9d4ea53

Daniel Baumann daniel at debian.org
Fri Apr 11 16:18:08 UTC 2008


The following commit has been merged in the master branch:
commit 9d4ea537179040356039b0dc383f28f625e0d9d0
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Apr 11 18:18:04 2008 +0200

    Also adding a packages.txt when building etch images, although there is a casper/filesystem.manifest already.

diff --git a/helpers/lh_binary_manifest b/helpers/lh_binary_manifest
index 8251de7..2bce9e1 100755
--- a/helpers/lh_binary_manifest
+++ b/helpers/lh_binary_manifest
@@ -42,24 +42,20 @@ Check_lockfile .lock
 # Creating lock file
 Create_lockfile .lock
 
-case "${LH_INITRAMFS}" in
-	casper)
-		# Add filesystem.manifest
-		Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
-		;;
-
-	live-initramfs)
-		# Add packages.list
+if [ "${LH_INITRAMFS}" = "casper" ]
+then
+	# Add filesystem.manifest
+	Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
+fi
 
+# Add packages.list
 cat > binary/packages.txt << EOF
 This file contains the list of all packages installed in this live system.
 
 
 EOF
 
-		Chroot "dpkg -l" >> binary/packages.txt
-		;;
-esac
+Chroot "dpkg -l" >> binary/packages.txt
 
 # Creating stage file
 Create_stagefile .stage/binary_manifest

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list