From e333a4da817678370d1d39f00bba75000643cf6b Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 29 Oct 2011 21:46:19 +0200 Subject: 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 --- archbuild.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'archbuild.in') 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 \ -- cgit v1.2.3-54-g00ecf