FIX - Configuration file was overwritten.

master
Olivier DOSSMANN 2018-08-04 17:53:49 +02:00
parent b1f70a1975
commit ffec3b0d98
1 changed files with 3 additions and 3 deletions

View File

@ -36,11 +36,11 @@ 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"
# Launch chroot
sh $DIR/enter-chroot ./build
# Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
# Launch chroot
sh $DIR/enter-chroot ./build
exit 0