fix #2 - Add a pkg++ configuration example file into chroot

This commit is contained in:
2018-08-04 17:37:11 +02:00
parent 1bd33896a3
commit b37e66b399
3 changed files with 11 additions and 10 deletions

View File

@ -36,6 +36,10 @@ fi
# Set rc_sys="prefix" to not disturb systemd on current system
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
# Insert pkg++ configuration in chroot
sudo mkdir -p /opt/pkgxx/dev && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
# Launch chroot
sh $DIR/enter-chroot ./build