[SCM] live-boot branch, debian, updated. debian/3.0_a27-1
Tails developers
amnesia at boum.org
Mon Apr 9 16:59:18 UTC 2012
The following commit has been merged in the debian branch:
commit c857e16ba065ab92476bad582dc28f1150e21502
Author: Tails developers <amnesia at boum.org>
Date: Mon Apr 9 16:11:16 2012 +0200
Only try copying snapshots if we actually found any.
diff --git a/scripts/live b/scripts/live
index 772ccc5..780c5de 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1215,9 +1215,9 @@ setup_unionfs ()
done
# Look for other snapshots to copy in
- try_snap "${root_snapdata}" "${rootmnt}" "ROOT"
+ [ -n "${root_snapdata}" ] && try_snap "${root_snapdata}" "${rootmnt}" "ROOT"
# This second type should be removed when snapshot grow smarter
- try_snap "${home_snapdata}" "${rootmnt}" "HOME" "/home"
+ [ -n "${home_snapdata}" ] && try_snap "${home_snapdata}" "${rootmnt}" "HOME" "/home"
fi
mkdir -p "${rootmnt}/live"
--
live-boot
More information about the debian-live-changes
mailing list