[Debian-live-changes] r2403 - in dists/trunk/live-helper: docs helpers

otavio at alioth.debian.org otavio at alioth.debian.org
Thu Jul 5 20:03:32 UTC 2007


Author: otavio
Date: 2007-07-05 20:03:32 +0000 (Thu, 05 Jul 2007)
New Revision: 2403

Modified:
   dists/trunk/live-helper/docs/ChangeLog
   dists/trunk/live-helper/helpers/lh_binary_rootfs
Log:
lh_binary_rootfs: Fix inverted logic error to detect when exclude the kernel from the squashfs image.


Modified: dists/trunk/live-helper/docs/ChangeLog
===================================================================
--- dists/trunk/live-helper/docs/ChangeLog	2007-07-05 06:58:08 UTC (rev 2402)
+++ dists/trunk/live-helper/docs/ChangeLog	2007-07-05 20:03:32 UTC (rev 2403)
@@ -1,3 +1,9 @@
+2007-07-05  Otavio Salvador  <otavio at debian.org>
+
+	* helpers/lh_binary_rootfs:
+	  - Fix inverted logic error to detect when exclude the kernel
+	    from the squashfs image.
+
 2007-07-04  Otavio Salvador  <otavio at debian.org>
 
 	* helpers/lh_binary_hacks:

Modified: dists/trunk/live-helper/helpers/lh_binary_rootfs
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_rootfs	2007-07-05 06:58:08 UTC (rev 2402)
+++ dists/trunk/live-helper/helpers/lh_binary_rootfs	2007-07-05 20:03:32 UTC (rev 2403)
@@ -151,7 +151,7 @@
 			MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -info"
 		fi
 
-		if [ "${LIVE_PACKAGES_LISTS}" != "minimal" ] && [ "${LIVE_PACKAGES_LISTS}" != "mini" ]
+		if [ "${LIVE_PACKAGES_LISTS}" = "minimal" ] || [ "${LIVE_PACKAGES_LISTS}" = "mini" ]
 		then
 			MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -e chroot/boot/${LINUX}* chroot/boot/initrd.img* chroot/${LINUX}* chroot/initrd.img*"
 		fi




More information about the Debian-live-changes mailing list