diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-11-22 17:36:13 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-11-22 17:41:12 +0100 |
commit | c17684fbbbf55d530329c95f26cbb8bb7c503225 (patch) | |
tree | a9b79aa3ed0c58a410b00be3a35d4eb431154619 /bin/reproducible_setup_archlinux_schroot.sh | |
parent | 5978e7592fe7cebabb5ca48b22a536509d6fd531 (diff) | |
download | jenkins.debian.net-c17684fbbbf55d530329c95f26cbb8bb7c503225.tar.xz |
repro-al build: Use expac to get a full list of actual pkgbasesexpac-pkgbases
Previously we would just use whatever `pacman -Slq` outputs, but that is
full of split packages that aren't valid pkgbases, leading to lots of
uslessly failed builds. Instead we should use something like expac to
get only a list of valid pkgbases.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'bin/reproducible_setup_archlinux_schroot.sh')
-rwxr-xr-x | bin/reproducible_setup_archlinux_schroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh index b461791d..1c56ee23 100755 --- a/bin/reproducible_setup_archlinux_schroot.sh +++ b/bin/reproducible_setup_archlinux_schroot.sh @@ -109,7 +109,7 @@ if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then sed -i 's/^#*XferCommand.*/XferCommand = curl --insecure -C - -f %u > %o/' "$SCHROOT_BASE/$TARGET/etc/pacman.conf" fi $ROOTCMD bash -l -c 'pacman -Syu --noconfirm' -$ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools fakechroot asciidoc asp' +$ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools fakechroot asciidoc asp expac' $ROOTCMD bash -l -c 'yes | pacman -S gcc-multilib lib32-fakeroot lib32-libltdl' # configure sudo echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a /etc/sudoers |