summaryrefslogtreecommitdiff
path: root/configs/profile/rebuild.sh
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-02-27 17:59:08 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2019-05-07 09:23:28 -0400
commit1b1621bee189a09f331ff71fd0e43c548b2b3901 (patch)
tree768ad76aec52d6ebccf6bf5edc6e78fb36476688 /configs/profile/rebuild.sh
parentc70babd1e401242b4becdf39e6323c5ca7461ef8 (diff)
sq - housekeeping
Diffstat (limited to 'configs/profile/rebuild.sh')
-rwxr-xr-xconfigs/profile/rebuild.sh20
1 files changed, 11 insertions, 9 deletions
diff --git a/configs/profile/rebuild.sh b/configs/profile/rebuild.sh
index a7e1af3..02f9999 100755
--- a/configs/profile/rebuild.sh
+++ b/configs/profile/rebuild.sh
@@ -4,27 +4,29 @@ readonly MODE='wipe' # total wipe of work dir optionally preservi
readonly PRESERVE_CACHE='false' # preserve package cache in 'wipe' mode
# readonly MODE='rebuild' # full update rebuild preserving work dir
# readonly MODE='tweak' # apply chroot customization tweaks only
-#readonly TARGET='dual' # dual-arch (default)
-readonly TARGET='i686' # i686 target only
-# readonly TARGET='x86_64' # x86_64 target only
-# readonly EDITION='OpenRC/CLI' # OpenRC/CLI init/WM-DE pair
-readonly EDITION='OpenRC/LXDE' # OpenRC/LXDE init/WM-DE pair
+# readonly TARGET='dual' # dual-arch (default)
+# readonly TARGET='i686' # i686 target only
+readonly TARGET='x86_64' # x86_64 target only
+readonly EDITION='OpenRC/CLI' # OpenRC/CLI init/WM-DE pair
+# readonly EDITION='OpenRC/LXDE' # OpenRC/LXDE init/WM-DE pair
# readonly EDITION='SystemD/CLI' # SystemD/CLI init/WM-DE pair (default)
# readonly EDITION='SystemD/LXDE' # SystemD/LXDE init/WM-DE pair
readonly TALKING='' # speech and braille disabled (default)
-#readonly TALKING='-S' # speech and braille enabled
+# readonly TALKING='-S' # speech and braille enabled
readonly CACHE='' # net-install (default)
-#readonly CACHE='-O' # offline install
+# readonly CACHE='-O' # offline install
readonly VERSION="`date +%Y.%m.%d`" # for ISO filename (default)
# readonly VERSION="`date +%Y.%m.%d-%H.%M`-alpha"
+readonly OUT_DIR=./out/new/
# prepare build command
-readonly CMD="./build.sh -v -E $EDITION -T $TARGET $TALKING $CACHE -V $VERSION $*"
+readonly CMD="./build.sh -v -E $EDITION -T $TARGET $TALKING $CACHE -V $VERSION -o $OUT_DIR $*"
# sanity checks
-((`id -u`)) && echo "This script must be run with root privileges." && exit
+((`id -u`)) && echo "This script must be run with root privileges." && exit || \
+ echo "Preparing (${MODE} mode): ${CMD}"
# cleanup in case of previous aborted run