summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/qemuboot.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-08 17:55:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-09 13:22:00 +0100
commitafcd4b9cbcda5a631679a962a0a5479101539e29 (patch)
tree2accd4dedfdb2a8ff5c250abf3443736cba8d736 /meta/classes-recipe/qemuboot.bbclass
parente9a09c8012931c8b4b22cb1de3fc7d967af11f0a (diff)
downloadpoky-afcd4b9cbcda5a631679a962a0a5479101539e29.tar.gz
qemuboot/runqemu: Fix 6.2 and later kernel network device naming
With kernel 6.2 and later network devices are renamed by systemd. This does not match with the current network device naming assumed in our configuration. We may or may not change that naming but for now, pass the right kernel commandline so things work as expected with newer kernels and removing a blocker on upgrading to the 6.4 kernel by default. (From OE-Core rev: 9e9c33d51e401fe2b4a632db74ccb3449e4b23ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/qemuboot.bbclass')
-rw-r--r--meta/classes-recipe/qemuboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass
index 444871438d..12d0a509f1 100644
--- a/meta/classes-recipe/qemuboot.bbclass
+++ b/meta/classes-recipe/qemuboot.bbclass
@@ -102,7 +102,7 @@ QB_RNG ?= "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-p
102QB_OPT_APPEND ?= "" 102QB_OPT_APPEND ?= ""
103QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" 103QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@"
104QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" 104QB_CMDLINE_IP_SLIRP ?= "ip=dhcp"
105QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" 105QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0"
106QB_ROOTFS_EXTRA_OPT ?= "" 106QB_ROOTFS_EXTRA_OPT ?= ""
107QB_GRAPHICS ?= "" 107QB_GRAPHICS ?= ""
108QB_NFSROOTFS_EXTRA_OPT ?= "" 108QB_NFSROOTFS_EXTRA_OPT ?= ""