[SCM] debian-live/live-initramfs branch, master, updated. 1.119.1-1-8-g9b5686b

Daniel Baumann daniel at debian.org
Fri Mar 21 06:58:51 UTC 2008


The following commit has been merged in the master branch:
commit 9b5686b328e7a7740236695db26e046e3cde74eb
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Mar 21 07:58:25 2008 +0100

    Adjusting live-snapshot to live-initramfs.

diff --git a/bin/live-snapshot b/bin/live-snapshot
index 6e4409c..5135ce3 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -331,20 +331,24 @@ Defaults ()
 				;;
 		esac
 
-               case "${TYPE}" in
-                       cpio)
-                               DEST="${MOUNTP}/casper-sn.cpio.gz" ;;
-                       squashfs)
-                               DEST="${MOUNTP}/casper-sn.squashfs" ;;
-                       ext2)
-                               DEST="${MOUNTP}/casper-sn.ext2" ;;
-                       *)
-                               echo "Internal error."
-                               exit 1
-                               ;;
-               esac
-		#if [ -d
-		#if Is_same_mount
+		case "${TYPE}" in
+			cpio)
+				DEST="${MOUNTP}/live-sn.cpio.gz"
+				;;
+
+			squashfs)
+				DEST="${MOUNTP}/live-sn.squashfs"
+				;;
+
+			ext2)
+				DEST="${MOUNTP}/live-sn.ext2"
+				;;
+
+			*)
+				echo "Internal error."
+				exit 1
+			;;
+		esac
 	fi
 
 	# check vars

-- 
debian-live/live-initramfs



More information about the debian-live-changes mailing list