From e0ee1818caaac14c8cbd2708470822d5bf8cc214 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 29 Nov 2020 21:47:32 -0600 Subject: [PATCH] Apparently this prompts for a path on the host --- gentoostrap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gentoostrap.sh b/gentoostrap.sh index 88e6bbe..5da6fc6 100755 --- a/gentoostrap.sh +++ b/gentoostrap.sh @@ -127,8 +127,7 @@ build-gentoo() { # 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 popd - cp "$0" "$_optdest/gentoostrap.sh" - sudo systemd-nspawn --directory="$_optdest" "/gentoostrap.sh -c" + sudo systemd-nspawn --directory="$_optdest" "$0 -c" } build-gentoo-chroot() { # Build Gentoo, but from within the chroot environment