From d2c9b686790d01d256e0980180a27dc3b05cfdde Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sun, 5 Aug 2018 11:33:10 +0200 Subject: [PATCH] Simplify APK repository modification by using alpine-chroot-install params --- build | 5 ----- install-and-chroot.sh | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build b/build index 19a00a3..f7d81eb 100755 --- a/build +++ b/build @@ -24,9 +24,4 @@ git clone https://github.com/lukc/pkgxx && \ cd .. && \ 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 diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 78b4598..d5f9393 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -23,6 +23,7 @@ fi # Install Alpine if ! test -d "$DIR" || ! [[ "$FORCE_EXEC" == 0 ]]; then sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \ + -r /srv/pkgxx/dev \ -p abuild \ -p bash \ -p build-base \