summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-05-26 16:42:38 -0400
committerLevente Polyak <anthraxx@archlinux.org>2019-08-09 19:41:53 +0200
commit8e4293034b1d29fde3bbcb8398d014674d27b97f (patch)
tree0ab0570eb9bca5fe70e66d4f25e57cc2468a2bf8 /makechrootpkg.in
parentb7893a2ca8e09062197129881bce3fd6700a573a (diff)
downloaddevtools-8e4293034b1d29fde3bbcb8398d014674d27b97f.tar.xz
makechrootpkg: also downgrade packages when updating chroots
Packages should never be getting downgraded... unless a package is pulled from testing, e.g. for example if gcc9 totally breaks the linux kernel. In such cases, the master repo says there is a downgrade, so we'd better go with that. Basically, ensure that packages match the repo they are being built against. Consistency at all costs! Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index f69c781..7c3cc93 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -361,7 +361,7 @@ fi
(( update_first )) && arch-nspawn "$copydir" \
"${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \
- pacman -Syu --noconfirm
+ pacman -Syuu --noconfirm
if [[ -n ${install_pkgs[*]:-} ]]; then
install_packages