summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-09 23:27:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-11 10:53:44 +0000
commit2a3e849326592d8213cf29fcb6f49d10136f32d6 (patch)
tree6e0ff751386050cc32ff3564a085c6f0da4c5778 /meta/classes
parent6ba5808ebf41faa5377b52a2183f53149cc90f4b (diff)
downloadpoky-2a3e849326592d8213cf29fcb6f49d10136f32d6.tar.gz
qemuboot/runqemu: fully form the ip= kernel parameter
New systemd is actually parsing this in systemd-network-generator and fails if it is not fully formed. 'off' means 'static ip, do nothing': https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt (From OE-Core rev: 2cf12c8dde0f05917797f8b4a80883dc0647b95d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/qemuboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index 95cd1d6c4a..cc1cbce69d 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -93,7 +93,7 @@ QB_RNG ?= "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-p
93QB_OPT_APPEND ?= "" 93QB_OPT_APPEND ?= ""
94QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" 94QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@"
95QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" 95QB_CMDLINE_IP_SLIRP ?= "ip=dhcp"
96QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0" 96QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8"
97QB_ROOTFS_EXTRA_OPT ?= "" 97QB_ROOTFS_EXTRA_OPT ?= ""
98QB_GRAPHICS ?= "" 98QB_GRAPHICS ?= ""
99 99