From 938d6413d8671d05d9187d07dfc4d86e6e70361f Mon Sep 17 00:00:00 2001 From: otoburb Date: Fri, 1 Apr 2011 03:24:22 +0000 Subject: [PATCH] factor.sh: Propogated NO_UI=1 flag into the bootstrap via -exclude="ui ui.tools" --- build-support/factor.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-support/factor.sh b/build-support/factor.sh index 52a989b78d..35ee32706c 100755 --- a/build-support/factor.sh +++ b/build-support/factor.sh @@ -493,7 +493,11 @@ copy_fresh_image() { } bootstrap() { - ./$FACTOR_BINARY -i=$BOOT_IMAGE + if [[ -z $NO_UI ]]; then + ./$FACTOR_BINARY -i=$BOOT_IMAGE + else + ./$FACTOR_BINARY -i=$BOOT_IMAGE -exclude="ui ui.tools" + fi copy_fresh_image }