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
This commit is contained in:
parent
86045b965e
commit
e333a4da81
|
@ -58,6 +58,13 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
|
||||||
-M "@pkgdatadir@/makepkg-${arch}.conf" \
|
-M "@pkgdatadir@/makepkg-${arch}.conf" \
|
||||||
"${chroots}/${repo}-${arch}/root" \
|
"${chroots}/${repo}-${arch}/root" \
|
||||||
"${base_packages[@]}"
|
"${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
|
else
|
||||||
setarch ${arch} mkarchroot \
|
setarch ${arch} mkarchroot \
|
||||||
-u \
|
-u \
|
||||||
|
|
|
@ -46,7 +46,7 @@ Architecture = auto
|
||||||
# If you wish to check signatures but avoid local sign and trust issues, use
|
# If you wish to check signatures but avoid local sign and trust issues, use
|
||||||
# the following line. This will treat any key imported into pacman's keyring as
|
# the following line. This will treat any key imported into pacman's keyring as
|
||||||
# trusted.
|
# trusted.
|
||||||
SigLevel = Optional TrustAll
|
#SigLevel = Optional TrustAll
|
||||||
# Disable signature checks for now
|
# Disable signature checks for now
|
||||||
SigLevel = Never
|
SigLevel = Never
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue