Browse Source

FIX - Configuration file was overwritten.

master
Olivier DOSSMANN 4 years ago
parent
commit
ffec3b0d98
  1. 6
      install-and-chroot.sh

6
install-and-chroot.sh

@ -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

Loading…
Cancel
Save