diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 67f6570..9933684 100755 --- a/install-and-chroot.sh +++ b/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