From 1a9c7c81b558b0fd44571371b482c4017d1e0cce Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 20 Apr 2017 13:49:19 -0400 Subject: makechrootpkg: Also build --allsource packages 2018-08-02: - Do so outside of the chroot - Don't inject $pkgarch in to $SRCEXT --- makechrootpkg.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 802ab65..c099a71 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -259,6 +259,8 @@ _chrootnamcap() { # Usage: download_sources $copydir $makepkg_user # Globals: # - SRCDEST +# - SRCPKGDEST +# - PKGDEST download_sources() { local copydir=$1 local makepkg_user=$2 @@ -269,8 +271,8 @@ download_sources() { # Ensure sources are downloaded sudo -u "$makepkg_user" --preserve-env=GNUPGHOME \ - env SRCDEST="$SRCDEST" BUILDDIR="$builddir" \ - makepkg --config="$copydir/etc/makepkg.conf" --verifysource -o || + env SRCDEST="$SRCDEST" SRCPKGDEST="$SRCPKGDEST" PKGDEST="$PKGDEST" BUILDDIR="$builddir" \ + makepkg --config="$copydir/etc/makepkg.conf" --allsource || die "Could not download sources." # Clean up garbage from verifysource -- cgit v1.2.3-70-g09d2