Update rootfs.sh

forgot a sudo
This commit is contained in:
Bastian Bittorf 2021-01-12 10:30:57 +01:00 committed by GitHub
parent 62a7b6e6bc
commit 88321dcefd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ find . | cpio -H newc -o | gzip > initramfs.igz
# Run
if [ "$QEMU_CMD" = 'chroot' ]; then
PATH="/after/bin:$PATH" chroot . /init
PATH="/after/bin:$PATH" sudo chroot . /init
else
$QEMU_CMD -enable-kvm \
-m "${QEMU_RAM:-8G}" \