[SCM] debian-live branch, master, updated. 1.0_a47-1-54-gbcd8472
Chris Lamb
chris at chris-lamb.co.uk
Fri Jun 20 00:45:18 UTC 2008
The following commit has been merged in the master branch:
commit 5bee701f291b4129d4a772d85b16eb05f2aa1b3f
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Fri Jun 20 01:33:49 2008 +0100
Abort build if building from the root directory (/) as this causes misc build failures.
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
diff --git a/helpers/lh_build b/helpers/lh_build
index 7a83558..835a4b7 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -29,6 +29,12 @@ then
Echo_warning "No config/ directory; using defaults for all options"
fi
+if [ "$(pwd)" = "/" ]
+then
+ Echo_error "Cannot build live image from the root directory (/)"
+ exit 1
+fi
+
# Bootstrapping system
lh_bootstrap ${*}
--
debian-live
More information about the debian-live-changes
mailing list