[OE-core] [PATCH v2 0/4] Introduce packagegroup-core-base-utils

Tom Rini trini at konsulko.com
Wed Mar 6 14:36:09 UTC 2019


Over on the Yocto list[1] the topic of how to build an image without
busybox once again came up.  As part of that discussion I said I'd been
thinking about a packagegroup to make this easier to do as while
virtual/base-utils and VIRTUAL-RUNTIME_base-utils exist and work and allow
for this, the list of things we get from busybox is non-trivial.  In fact,
this exposed that in oe-core itself we have no editor aside from busybox
and are missing a number of common network utilities too.  To that end,
this series migrates vim and inetutils from meta-oe to oe-core, introduces
packagegroup-core-base-utils (and documents using it in
local.conf.sample.extended) and finally adds a testcase of building
(technically, making the dependency graph as that does what we need and is
much quicker, 5s vs 3 minute) core-image-sato with busybox disabled, so
that we can do our best to avoid introucing busybox as a hard requirement
in the future.

With respect to functionality, and since v2, this is basically 1:1 with
busybox.  I didn't add more "useful" utilities (which I would argue belong in
packagegroup-core-full-cmdline which follow up to this could be enhanced to
pull in this packagegroup and add to it).  In terms of deviation:
- On systemd, we use that for a trivial dhcp server.  On sysvinit we provide
  dhcp-server.
- We don't have fbset in oe-core, nor netcat-openbsd.  Both of these exist in
  meta-openembedded but I don't know if it's worth the overhead to move one or
  both of those to oe-core as well for this.

[1]: https://lists.yoctoproject.org/pipermail/yocto/2019-February/044317.html
-- 
Tom


More information about the Openembedded-core mailing list