Simplify APK repository modification by using alpine-chroot-install params
This commit is contained in:
parent
ec0e7d30d4
commit
d2c9b68679
5
build
5
build
@ -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
|
||||||
|
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user