diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-08 17:55:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-09 13:22:00 +0100 |
commit | afcd4b9cbcda5a631679a962a0a5479101539e29 (patch) | |
tree | 2accd4dedfdb2a8ff5c250abf3443736cba8d736 /meta/classes-recipe/qemuboot.bbclass | |
parent | e9a09c8012931c8b4b22cb1de3fc7d967af11f0a (diff) | |
download | poky-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.bbclass | 2 |
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 | |||
102 | QB_OPT_APPEND ?= "" | 102 | QB_OPT_APPEND ?= "" |
103 | QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" | 103 | QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" |
104 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" | 104 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" |
105 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" | 105 | QB_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" |
106 | QB_ROOTFS_EXTRA_OPT ?= "" | 106 | QB_ROOTFS_EXTRA_OPT ?= "" |
107 | QB_GRAPHICS ?= "" | 107 | QB_GRAPHICS ?= "" |
108 | QB_NFSROOTFS_EXTRA_OPT ?= "" | 108 | QB_NFSROOTFS_EXTRA_OPT ?= "" |