Set new defaults and made small fixes to bldpkg.conf

This commit is contained in:
PktSurf 2022-09-25 20:57:10 +05:30
parent 79e8188b06
commit 668052af61

View file

@ -31,11 +31,11 @@ extractprompt=0
# Whether to use distcc for distributed compilations. 0 to disable, 1 to
# enable.
globaldistcc=1
globaldistcc=0
# Whether to use ccache for faster consecutive rebuilds. Set 0 to disable,
# 1 to enable.
globalccache=1
globalccache=0
# Whether to use sccache for faster consecutive builds. Set 0 to disable,
# 1 to enable
@ -103,17 +103,16 @@ nontmpfsdir="$parenttmp/sml"
# may differ. This is for manual builds.
pkgdest=${pkgdest:-$parenttmp/sml/packages/}
# Whether you want to preserve the build directory which contains the
# extracted source, for example /tmp/sml/openssh.src/openssh-8.1.
# usetmpfs, if set to 1, will auto-reset this variable to 0 and the build
# directory will be deleted. Set 1 to preserve it, 0 to rm -rf it
# automatically at the end of each build
# Whether you want to preserve the build directory which contains the extracted source,
# for example /tmp/sml/openssh.src/openssh-8.1. usetmpfs variable, if set to 1, will
# auto-reset this variable to 0 and the directory will be deleted. Set 1 to
# preserve it, 0 to rm -rf it automatically at the end of each build
preservebuilddir=1
# Whether you want to preserve the package directory. for example
# /tmp/sml/package-openssh SM_USETMPFS, if set to 1, will auto-reset this
# variable to 0 and the package directory will be deleted. Set 1 to preserve
# it, 0 to rm -rf it automatically at the end of each build
# Whether you want to preserve the package staging directory. for example
# /tmp/sml/package-openssh. usetmpfs variable, if set to 1, will auto-reset this
# variable to 0 and the directory will be deleted. Set 1 to preserve it, 0 to
# rm -rf it automatically at the end of each build
preservepackagedir=1
# Whether to show build summary. Set to 1 to enable, 0 to disable.
@ -180,7 +179,7 @@ qtwebengine )
# expanded as an argument for rm -rf holds, so prevention is better.
# Populate this list appropriately and use it inside an if/else whenever
# rm -rf is about to be called.
protecteddirectories=( "/bin" "/boot" "/dev" "/etc" "/home" "/include" \
protecteddirectories=( "/" "/bin" "/boot" "/dev" "/etc" "/home" "/include" \
"/lib" "/libexec" "/local" "/man" "/media" "/mnt" "/opt" "/proc" \
"/root" "/run" "/sbin" "/share" "/srv" "/sys" "/usr" "/var" )