mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
fix PATH export in 'chroot' mode
This commit is contained in:
parent
88321dcefd
commit
de1d516338
1 changed files with 1 additions and 1 deletions
|
|
@ -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}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue