summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-10-29 21:46:19 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-10-29 21:46:19 +0200
commite333a4da817678370d1d39f00bba75000643cf6b (patch)
treeac05334782d0d449af2e7e335ba3e595efd63007 /archbuild.in
parent86045b965e0b8439bc94d7af7c8bd5d1e6ea3fe2 (diff)
downloaddevtools-e333a4da817678370d1d39f00bba75000643cf6b.tar.xz
temporary workaround until pacman 4.0 moves to [core]
Pacman 3 refuses to work with the pacman 4 SigLevel config entry Also related: https://bugs.archlinux.org/task/26555
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/archbuild.in b/archbuild.in
index 92d2554..5b5ab21 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -58,6 +58,13 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
-M "@pkgdatadir@/makepkg-${arch}.conf" \
"${chroots}/${repo}-${arch}/root" \
"${base_packages[@]}"
+
+ # FIXME: temporary workaround until pacman 4.0 moves to [core]
+ case $repo in
+ core|extra|community|multilib)
+ sed -r '/^SigLevel.*/d' -i "${chroots}/${repo}-${arch}/root/etc/pacman.conf"
+ ;;
+ esac
else
setarch ${arch} mkarchroot \
-u \