[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-4-g43b47da
Daniel Baumann
daniel at debian.org
Thu May 14 08:55:04 UTC 2009
The following commit has been merged in the master branch:
commit 7c4142ec63ff7174f061d4b6f6e9abd46d8872d3
Author: Marco Amadori <amadorim at vdavda.com>
Date: Tue May 12 17:16:38 2009 +0200
Partition snapshots works again.
diff --git a/scripts/live b/scripts/live
index ef7f64d..56c0a14 100755
--- a/scripts/live
+++ b/scripts/live
@@ -944,7 +944,7 @@ try_snap ()
snap_mount="${2}"
snap_type="${3}"
- if [ ! -z "${snapdata}" ]
+ if [ -n "${snapdata}" ] && [ ! -b "${snapdata}" ]
then
log_success_msg "found snapshot: ${snapdata}"
snapdev="$(echo ${snapdata} | cut -f1 -d ' ')"
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list