factor.sh: Propogated NO_UI=1 flag into the bootstrap via -exclude="ui ui.tools"

db4
otoburb 2011-04-01 03:24:22 +00:00
parent 906e6f73dc
commit 938d6413d8
1 changed files with 5 additions and 1 deletions

View File

@ -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
}