[SCM] live-initramfs branch, master, updated. debian/1.173.4-1-7-gb12a59e

Daniel Baumann daniel at debian.org
Sun Mar 14 22:06:50 UTC 2010


The following commit has been merged in the master branch:
commit b12a59e03d4796ce9dfc4e031b1e932e2aa3e690
Author: Tanguy Ortolo <tanguy+debian at ortolo.eu>
Date:   Sun Mar 14 23:02:11 2010 +0100

    Also respecting persistent-path parameter for snapshots (Closes: #570162).

diff --git a/scripts/live b/scripts/live
index d162f75..f79eaff 100755
--- a/scripts/live
+++ b/scripts/live
@@ -996,7 +996,7 @@ find_snap ()
 	if [ "${PERSISTENT}" != "nofiles" ]
 	then
 		# search for image files
-		snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4 ${snap_label}.jffs2")
+		snapdata=$(find_files "${PERSISTENT_PATH}${snap_label}.squashfs ${PERSISTENT_PATH}${snap_label}.cpio.gz ${PERSISTENT_PATH}${snap_label}.ext2 ${PERSISTENT_PATH}${snap_label}.ext3 ${PERSISTENT_PATH}${snap_label}.ext4 ${PERSISTENT_PATH}${snap_label}.jffs2")
 	fi
 
 	if [ -z "${snapdata}" ]

-- 
live-initramfs



More information about the debian-live-changes mailing list