From 668052af61e98e504dbdd214819bbd6dea96f324 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Sun, 25 Sep 2022 20:57:10 +0530 Subject: [PATCH] Set new defaults and made small fixes to bldpkg.conf --- bldpkg.conf | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/bldpkg.conf b/bldpkg.conf index 0b8eca8..212942c 100644 --- a/bldpkg.conf +++ b/bldpkg.conf @@ -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" )