common/travis: remove need for -C flag for xbps-src

This commit is contained in:
John 2018-05-21 16:04:22 +02:00 committed by Enno Boland
parent 77658ba6e9
commit 05099ab0e0
3 changed files with 5 additions and 7 deletions

View File

@ -15,9 +15,9 @@ env:
- ARCH=x86_64 BOOTSTRAP=x86_64 - ARCH=x86_64 BOOTSTRAP=x86_64
- ARCH=i686 BOOTSTRAP=i686 - ARCH=i686 BOOTSTRAP=i686
- ARCH=aarch64 BOOTSTRAP=x86_64 - ARCH=aarch64 BOOTSTRAP=x86_64
- ARCH=armv7hf BOOTSTRAP=x86_64 - ARCH=armv7l BOOTSTRAP=x86_64
- ARCH=x86_64-musl BOOTSTRAP=x86_64-musl - ARCH=x86_64-musl BOOTSTRAP=x86_64-musl
- ARCH=armv6hf-musl BOOTSTRAP=x86_64-musl - ARCH=armv6l-musl BOOTSTRAP=x86_64-musl
- ARCH=aarch64-musl BOOTSTRAP=x86_64-musl - ARCH=aarch64-musl BOOTSTRAP=x86_64-musl
before_script: before_script:

View File

@ -11,7 +11,7 @@ fi
PKGS=$(./xbps-src sort-dependencies $(cat /tmp/templates)) PKGS=$(./xbps-src sort-dependencies $(cat /tmp/templates))
for pkg in ${PKGS}; do for pkg in ${PKGS}; do
./xbps-src -H $HOME/hostdir $arch -C pkg "$pkg" ./xbps-src -H $HOME/hostdir $arch pkg "$pkg"
[ $? -eq 1 ] && exit 1 [ $? -eq 1 ] && exit 1
done done

View File

@ -4,14 +4,12 @@
[ "$XLINT" ] && exit 0 [ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then export XBPS_TARGET_ARCH="$2"
arch="-a $2"
fi
for pkg in $(cat /tmp/templates); do for pkg in $(cat /tmp/templates); do
for subpkg in $(xsubpkg $pkg); do for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m" /bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
./xbps-src -H $HOME/hostdir $arch show-files "$subpkg" xbps-query --repository=$HOME/hostdir/binpkgs -f "$subpkg"
done done
done done