Where am I in chroot?

master
Olivier DOSSMANN 2018-08-05 00:09:31 +02:00
parent 667b6b1df7
commit 64c5c17ed6
2 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ stages:
build:
stage: build
cache: {}
script:
- apt-get update && apt-get install -y wget sudo
- MOUNTBIN=`which mount` && rm -f $MOUNTBIN && ln -sf `which echo` $MOUNTBIN
- mkdir "/alpine$(pwd)" && cp build "/alpine$(pwd)"
- FORCE_EXEC=1 bash install-and-chroot.sh

View File

@ -39,7 +39,7 @@ fi
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
# Launch chroot
sh $DIR/enter-chroot ./build || exit 1
cp build $DIR/build && sh $DIR/enter-chroot /build || pwd
# Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \