Uncomment MAKEFLAGS
This commit is contained in:
parent
adc1c530e2
commit
9b9702cbb4
@ -96,6 +96,7 @@ createbuildroot() {
|
||||
sed -i -e '/MAKEFLAGS=/ s/^#*/#/' "${BUILDDIR}"/etc/makepkg.conf
|
||||
local -r CPUCORES=$(grep -c ^processor /proc/cpuinfo)
|
||||
sed -i "s/^MAKEFLAGS=.*/MAKEFLAGS=\"-j${CPUCORES}\"/" "${BUILDDIR}"/etc/makepkg.conf
|
||||
sed -i 's/^#MAKEFLAGS=/MAKEFLAGS=/g' "${BUILDDIR}"/etc/makepkg.conf
|
||||
}
|
||||
configurebuildroot() {
|
||||
if ! systemd-nspawn -a -D "${BUILDDIR}" useradd -r -m "${BUILDUSER}"; then
|
||||
|
Loading…
Reference in New Issue
Block a user