mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 00:37:26 -04:00
scripts: update malta kernel path in qemustart
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>
This commit is contained in:
@@ -224,7 +224,7 @@ start_qemu_malta() {
|
|||||||
qemu_exe="qemu-system-mips$is64$isel"
|
qemu_exe="qemu-system-mips$is64$isel"
|
||||||
[ -n "$is64" ] && cpu="MIPS64R2-generic" || cpu="24Kc"
|
[ -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" ] || {
|
[ -z "$rootfs" ] || {
|
||||||
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
|
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user