]> code.ossystems Code Review - openembedded-core.git/commit
scripts/runqemu: avoid overridden user input for bootparams
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Tue, 21 Feb 2017 15:18:08 +0000 (17:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Mar 2017 10:42:33 +0000 (10:42 +0000)
commit3f68b5c8d24b52aed5bb3ed970dd8f779b65b1b3
tree1b8eeb4ceb585aa47a73172bbdfd90d4f9d65ac2
parentab8d1a73ad5285dbc86352813b24db2adb3c6367
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.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu