[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-2-19-g79d1725
Marco Amadori
amadorim at vdavda.com
Wed Sep 17 06:52:06 UTC 2008
The following commit has been merged in the master branch:
commit 79d1725509622b7b4ab3ae48589247f31c6cb364
Author: Marco Amadori <amadorim at vdavda.com>
Date: Tue Sep 16 17:12:00 2008 +0200
Set -u in live-snapshot only in debug mode.
* Although is really fine to have checks for unboud variables, this
limits also included code, where unbound variables could be used as
feature. Set LIVE_SNAPSHOT_CHECK_UNBOUND to have it on again in your
test runs.
Signed-off-by: Marco Amadori <amadorim at vdavda.com>
diff --git a/bin/live-snapshot b/bin/live-snapshot
index b81a6af..f77541f 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -30,7 +30,12 @@
ROOTSNAP=""
HOMESNAP=""
-set -eu
+if [ -n "${LIVE_SNAPSHOT_CHECK_UNBOUND}" ]
+then
+ set -eu
+else
+ set -e
+fi
. /usr/share/initramfs-tools/scripts/live-helpers
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list