From de1d5163385354a06c4c9b47dd4bfa7ad7d6bc1e Mon Sep 17 00:00:00 2001 From: Bastian Bittorf Date: Tue, 12 Jan 2021 12:17:47 +0100 Subject: [PATCH] fix PATH export in 'chroot' mode --- rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs.sh b/rootfs.sh index 69477b27..9575f25c 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -115,7 +115,7 @@ find . | cpio -H newc -o | gzip > initramfs.igz # Run if [ "$QEMU_CMD" = 'chroot' ]; then - PATH="/after/bin:$PATH" sudo chroot . /init + sudo PATH="/after/bin:$PATH" chroot . /init else $QEMU_CMD -enable-kvm \ -m "${QEMU_RAM:-8G}" \