Simplify APK repository modification by using alpine-chroot-install params

This commit is contained in:
Olivier DOSSMANN 2018-08-05 11:33:10 +02:00
parent ec0e7d30d4
commit d2c9b68679
2 changed files with 1 additions and 5 deletions

5
build
View File

@ -24,9 +24,4 @@ git clone https://github.com/lukc/pkgxx && \
cd .. && \ cd .. && \
rm -rf pkgxx || exit 1 rm -rf pkgxx || exit 1
# APK configuration
echo "> Configure APK to use pkg++ as supplementary repository…"
grep -q "^/srv/pkgxx/dev$" /etc/apk/repositories || \
echo "/srv/pkgxx/dev" >> /etc/apk/repositories
# FIXME: DL yunoconfig # FIXME: DL yunoconfig

View File

@ -23,6 +23,7 @@ fi
# Install Alpine # Install Alpine
if ! test -d "$DIR" || ! [[ "$FORCE_EXEC" == 0 ]]; then if ! test -d "$DIR" || ! [[ "$FORCE_EXEC" == 0 ]]; then
sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \ sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \
-r /srv/pkgxx/dev \
-p abuild \ -p abuild \
-p bash \ -p bash \
-p build-base \ -p build-base \