Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/nanobsd/defaults.sh
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | |||||
# Root partition will be ${NANO_LABEL}s{1,2} | # Root partition will be ${NANO_LABEL}s{1,2} | ||||
# /cfg partition will be ${NANO_LABEL}s3 | # /cfg partition will be ${NANO_LABEL}s3 | ||||
# /data partition will be ${NANO_LABEL}s4 | # /data partition will be ${NANO_LABEL}s4 | ||||
NANO_LABEL="" | NANO_LABEL="" | ||||
NANO_SLICE_ROOT=s1 | NANO_SLICE_ROOT=s1 | ||||
NANO_SLICE_ALTROOT=s2 | NANO_SLICE_ALTROOT=s2 | ||||
NANO_SLICE_CFG=s3 | NANO_SLICE_CFG=s3 | ||||
NANO_SLICE_DATA=s4 | NANO_SLICE_DATA=s4 | ||||
NANO_PARTITION_ROOT=a | |||||
NANO_PARTITION_ALTROOT=a | |||||
jlduran_gmail.com: Don't know if it makes sense to derive them from `NANO_ROOT`/`NANO_ALTROOT` and… | |||||
Done Inline ActionsI don't think this makes sense because these variables are set later and also set in config files. imp: I don't think this makes sense because these variables are set later and also set in config… | |||||
NANO_ROOT=s1a | NANO_ROOT=s1a | ||||
NANO_ALTROOT=s2a | NANO_ALTROOT=s2a | ||||
# Default ownwership for nopriv build | # Default ownwership for nopriv build | ||||
NANO_DEF_UNAME=root | NANO_DEF_UNAME=root | ||||
NANO_DEF_GNAME=wheel | NANO_DEF_GNAME=wheel | ||||
####################################################################### | ####################################################################### | ||||
▲ Show 20 Lines • Show All 676 Lines • ▼ Show 20 Lines | printf "%s %.${1}s %s\n" "`date -u -r $runtime +%H:%M:%S`" "#####" "$2" 1>&3 | ||||
fi | fi | ||||
) | ) | ||||
usage ( ) { | usage ( ) { | ||||
( | ( | ||||
echo "Usage: $0 [-bfhiKknqvwX] [-c config_file]" | echo "Usage: $0 [-bfhiKknqvwX] [-c config_file]" | ||||
echo " -b suppress builds (both kernel and world)" | echo " -b suppress builds (both kernel and world)" | ||||
echo " -c specify config file" | echo " -c specify config file" | ||||
echo " -f suppress code slice extraction" | echo " -f suppress code slice extraction (implies -i)" | ||||
echo " -h print this help summary page" | echo " -h print this help summary page" | ||||
echo " -i suppress disk image build" | echo " -i suppress disk image build" | ||||
echo " -K suppress installkernel" | echo " -K suppress installkernel" | ||||
echo " -k suppress buildkernel" | echo " -k suppress buildkernel" | ||||
echo " -n add -DNO_CLEAN to buildworld, buildkernel, etc" | echo " -n add -DNO_CLEAN to buildworld, buildkernel, etc" | ||||
echo " -q make output more quiet" | echo " -q make output more quiet" | ||||
echo " -v make output more verbose" | echo " -v make output more verbose" | ||||
echo " -w suppress buildworld" | echo " -w suppress buildworld" | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |
Don't know if it makes sense to derive them from NANO_ROOT/NANO_ALTROOT and NANO_SLICE_ROOT/NANO_SLICE_ALTROOT to prevent foot-shootings: