[OE-core] [PATCH v3 0/2] Make systemd as default init manager and configure wired network

kai.kang at windriver.com kai.kang at windriver.com
Thu May 23 08:25:56 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

v3:
* add the patch to make systemd as default init manager
* rename the .network with wired.network
* call to bb.utils.contains('OVERRIDES', ...) is not right. Install
  wired.network unconditionally and remove in in do_install_append_qemuall()
  BTW, bb.utils.contains('IMAGE_CLASSES', 'qemuboot', ...) from layer
  meta-yoe doesn't work for genericx86 that why I didn't use it.

Testededed on genericx86-64.

Run testimage with qemux86-64:
  MACHINE ?= "qemux86-64"
  IMAGE_CLASSES += "testimage"
  QEMU_USE_SLIRP = "1"
  TEST_SERVER_IP = "xxx"

$ bitbake  core-image-sato -c testimage
SUMMARY:
core-image-sato () - Ran 60 tests in 1042.949s
core-image-sato - OK - All required tests passed (successes=42, skipped=18, failures=0, errors=0)
NOTE: Tasks Summary: Attempted 723 tasks of which 722 didn't need to be rerun and all succeeded.


Kai Kang (2):
  local.conf.sample: make systemd as default init manager
  systemd-conf: configure wired network with dhcp

 meta-poky/conf/local.conf.sample                     | 9 +++++++++
 meta-poky/conf/local.conf.sample.extended            | 9 ---------
 meta/recipes-core/systemd/systemd-conf/wired.network | 9 +++++++++
 meta/recipes-core/systemd/systemd-conf_242.bb        | 6 ++++++
 4 files changed, 24 insertions(+), 9 deletions(-)
 create mode 100644 meta/recipes-core/systemd/systemd-conf/wired.network

--
2.18.0



More information about the Openembedded-core mailing list