Browse Source

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

master
Olivier DOSSMANN 4 years ago
parent
commit
d2c9b68679
  1. 5
      build
  2. 1
      install-and-chroot.sh

5
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

1
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 \

Loading…
Cancel
Save