diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-29 00:00:14 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-29 00:00:14 -0500 |
commit | 87be1dffeb7e6fae66f79cfe8e570fbcc0b85185 (patch) | |
tree | 79243f5b26fffd26739795adda4ec8d024b11bf4 /.travis/install | |
parent | 8ff9d4c6850d3dac96da8626e2cc0e2c35c33cc0 (diff) | |
download | gcompat-87be1dffeb7e6fae66f79cfe8e570fbcc0b85185.tar.gz gcompat-87be1dffeb7e6fae66f79cfe8e570fbcc0b85185.tar.bz2 gcompat-87be1dffeb7e6fae66f79cfe8e570fbcc0b85185.tar.xz gcompat-87be1dffeb7e6fae66f79cfe8e570fbcc0b85185.zip |
travis: Fixes
Diffstat (limited to '.travis/install')
-rwxr-xr-x[-rw-r--r--] | .travis/install | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis/install b/.travis/install index 87996af..d0b606f 100644..100755 --- a/.travis/install +++ b/.travis/install @@ -1,14 +1,14 @@ -#!/bin/sh +#!/bin/sh -e . $(dirname $0)/config -curl -O https://mirrormaster.adelielinux.org/adelie/apk-tools-static/x86_64.apk +curl -O https://distfiles.adelielinux.org/adelie/apk-tools-static/x86_64.apk tar -xzOf x86_64.apk sbin/apk.static > /tmp/apk.static mkdir -p "$NEWROOT"/etc/apk /tmp/apk.static -X "https://mirrormaster.adelielinux.org/adelie/current/system" --root "$NEWROOT" --initdb --no-progress add adelie-core bash-binsh musl-dev gcc binutils -pushd "$NEWROOT" +cd "$NEWROOT" mount -t proc none proc mount -t sysfs none sys @@ -17,6 +17,4 @@ mount -R /run run ln -s /run/shm dev/shm mkdir ./$CLONE_DIR mount -B $CLONE_DIR ./$CLONE_DIR -useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER - -popd +chroot "$NEWROOT" useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER |