mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
run_guest_kernel: s/python/python3/
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
6de69564bd
commit
680f1c9bd9
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ fi
|
|||
|
||||
if [ -n "$initramfs" ]; then
|
||||
initramfs_size=$(stat --printf='%s' "$initramfs")
|
||||
python - << EOF >>"$TMPDIR/m1n1-linux.bin"
|
||||
python3 - << EOF >>"$TMPDIR/m1n1-linux.bin"
|
||||
import os, sys
|
||||
|
||||
magic = b'm1n1_initramfs'
|
||||
|
@ -59,8 +59,8 @@ EOF
|
|||
fi
|
||||
|
||||
echo "Chainloading to updated m1n1..."
|
||||
python "$base"/chainload.py -r "$base"/../../build/m1n1.bin
|
||||
python3 "$base"/chainload.py -r "$base"/../../build/m1n1.bin
|
||||
echo "Starting guest..."
|
||||
exec python "$base"/run_guest.py \
|
||||
exec python3 "$base"/run_guest.py \
|
||||
-c "load_system_map('$kernel_base/System.map')" "$@" \
|
||||
-r "$TMPDIR/m1n1-linux.bin"
|
||||
|
|
Loading…
Reference in a new issue