diff options
author | Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> | 2017-02-21 17:18:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:18 +0000 |
commit | b4b2d6dec41b8b6c7a1e7c521e26e2d0345a94a0 (patch) | |
tree | d9b220c2cae111a2d42015efda9d031d030d3a1b /scripts/yocto-compat-layer.py | |
parent | 86d6b790eb70c330e351b2ab4d9a9787c114bdf4 (diff) | |
download | poky-b4b2d6dec41b8b6c7a1e7c521e26e2d0345a94a0.tar.gz |
scripts/runqemu: avoid overridden user input for bootparams
Currently runqemu hardcodes the "ip=" kernel boot parameter
when configuring QEMU to use tap or slirp networking. This makes
the guest system to have a network interface pre-configured
by kernel and causes systemd to fail renaming the interface
to whatever pleases it:
Feb 21 10:10:20 intel-corei7-64 systemd-udevd[201]: Error changing
net interface name 'eth0' to 'enp0s3': Device or resource busy,
Always append user input for kernel boot params after the ones
added by the script. This way user input has priority over runqemu's
default params.
(From OE-Core rev: 3f68b5c8d24b52aed5bb3ed970dd8f779b65b1b3)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-compat-layer.py')
0 files changed, 0 insertions, 0 deletions