Apparently this prompts for a path on the host

This commit is contained in:
Salt 2020-11-29 21:47:32 -06:00
parent aa9d02670b
commit e0ee1818ca

View File

@ -127,8 +127,7 @@ build-gentoo() {
# Now we need to pivot into a chroot and finish configuration natively # Now we need to pivot into a chroot and finish configuration natively
# Buuuut... since we're using systemd, we get to just spawn a systemd-nspawn container # Buuuut... since we're using systemd, we get to just spawn a systemd-nspawn container
popd popd
cp "$0" "$_optdest/gentoostrap.sh" sudo systemd-nspawn --directory="$_optdest" "$0 -c"
sudo systemd-nspawn --directory="$_optdest" "/gentoostrap.sh -c"
} }
build-gentoo-chroot() { build-gentoo-chroot() {
# Build Gentoo, but from within the chroot environment # Build Gentoo, but from within the chroot environment