🚧 buildiso: disable building in RAM by default

This commit is contained in:
Vladislav Nepogodin committed 2025-11-20 15:18:05 +04:00
1 parent 94480e21a8
commit c969851eee
1 file changed
+3 -3
+3 -3
View File
@@ -20,13 +20,13 @@ outFolder="${src_dir}/out"
build_list_iso="desktop" build_list_iso="desktop"
clean_first=true clean_first=true
verbose=false verbose=false
build_in_ram=true build_in_ram=false
remove_build_dir=false remove_build_dir=false
usage() { usage() {
echo "Usage: ${0##*/} [options]" echo "Usage: ${0##*/} [options]"
echo ' -c Disable clean work dir' echo ' -c Disable clean work dir'
echo ' -r Disable building in RAM on systems with more than 23GB RAM' echo ' -r Enable building in RAM on systems with more than 23GB RAM'
echo ' -w Remove build directory (not the ISO) after ISO file is built' echo ' -w Remove build directory (not the ISO) after ISO file is built'
echo " -p <profile> Buildset or profile [default: ${build_list_iso}]" echo " -p <profile> Buildset or profile [default: ${build_list_iso}]"
echo ' -v Verbose output to log file, show profile detail (-q)' echo ' -v Verbose output to log file, show profile detail (-q)'
@@ -44,7 +44,7 @@ while getopts "${opts}" arg; do
case "${arg}" in case "${arg}" in
c) clean_first=false ;; c) clean_first=false ;;
p) build_list_iso="$OPTARG" ;; p) build_list_iso="$OPTARG" ;;
r) build_in_ram=false ;; r) build_in_ram=true ;;
w) remove_build_dir=true ;; w) remove_build_dir=true ;;
v) verbose=true ;; v) verbose=true ;;
h|?) usage 0 ;; h|?) usage 0 ;;