]> 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>
Mon, 4 Sep 2017 16:37:51 +0000 (17:37 +0100)
commit6050b4ac146722d6714589225ad58ccc26c9ca32
tree77572a7e711223919f2cb5fe02ec53f3b8a75cf8
parent20c39fdbb25c1b1867709c5bfb3ae2baef249be9
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/runqemu