]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
scripts: update malta kernel path in qemustart
authorPaul Spooren <mail@aparcar.org>
Sun, 8 Feb 2026 19:14:43 +0000 (20:14 +0100)
committerPaul Spooren <mail@aparcar.org>
Tue, 10 Feb 2026 23:08:34 +0000 (00:08 +0100)
Update the default kernel path in start_qemu_malta() to match the new
image naming scheme after the malta target was converted to the Device
macro system with device name 'generic'.

Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/qemustart

index 6c4c9be4cb0a898a34f518476b12badec41383d2..42d692575d5c78719f2a956e837012da8e04b857 100755 (executable)
@@ -224,7 +224,7 @@ start_qemu_malta() {
        qemu_exe="qemu-system-mips$is64$isel"
        [ -n "$is64" ] && cpu="MIPS64R2-generic" || cpu="24Kc"
 
-       [ -n "$kernel" ] || kernel="$o_bindir/openwrt-malta-${o_subtarget%-*}-vmlinux-initramfs.elf"
+       [ -n "$kernel" ] || kernel="$o_bindir/openwrt-malta-${o_subtarget%-*}-generic-initramfs-kernel.bin"
 
        [ -z "$rootfs" ] || {
                if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then