mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
tools/run_guest_kernel.sh: Fix initramfs support
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
4f0be4aa2c
commit
f09c10b5fa
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ if [ ! -z "$args" ]; then
|
|||
fi
|
||||
|
||||
cat "$kernel_base"/arch/arm64/boot/dts/apple/*.dtb "$kernel_base"/arch/arm64/boot/Image.gz >>/tmp/m1n1-linux.bin
|
||||
if [ ! -z "$initramfs" ]; then
|
||||
cat "$initramfs" >>/tmp/m1n1-linux.bin
|
||||
fi
|
||||
echo "Chainloading to updated m1n1..."
|
||||
python chainload.py -r ../../build/m1n1.bin
|
||||
echo "Starting guest..."
|
||||
|
|
Loading…
Reference in a new issue