Commit Graph

24 Commits

Author SHA1 Message Date
Adrian Freihofer
8e7b015b35 busybox-initrd: auto pv from busybox
Not hardcoding the version of busybox from the core layer in this layer
is a small improvement for maintenance.

But the main motivation is to support the following layer combination
without getting a parse error from bitbake:
- poky LTS, branch = kirkstone
- meta-lts-mixins, branch = kirkstone/go
- meta-lts-mixins, branch = kirkstone/rust
- meta-virtualization, branch = master

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-17 11:44:51 -04:00
Bruce Ashfield
e6a578bbb8 busybox-initrd: update include
OEcore has an update to busybox, and since we include the core
recipe directly, we have to update our PV to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-31 22:50:41 -05:00
Bruce Ashfield
091d654875 busybox-initrd: update to 1.35.0
OE core commit a7d5150b621c2ab4e4 has bumped busybox to 1.35.0, so
we update our initrd recipe accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-01-11 08:20:26 -05:00
Bruce Ashfield
8a1b32e375 busybox-initrd: update version to match oe-core
OEcore has moved to 1.34.1 of busybox, so we do the same with our
initrd recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-11 20:55:43 -04:00
Martin Jansa
e9fa487c3b busybox-initrd: rename to match 1.34.0 version from oe-core
Upgraded in:
https://git.openembedded.org/openembedded-core/commit/?id=d0e694ef4ec7bd862bdefee494210e3878152b44

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27 10:50:45 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
zhengruoqin
25b8c5d981 initrd: bump busybox to 1.33.1 to match oe-core
OE core has updated busybox, so we bump to match.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-05-11 08:52:53 -04:00
Nathan Dunne
94501882dc busybox: Add nsenter for podman runtime
Add nsenter to Busybox configuration as it is required by Podman at runtime

Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-18 20:13:19 -04:00
Bruce Ashfield
26770b8058 initrd: bump busybox to 1.33 to match oe-core
OE core has updated busybox, so we bump to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-26 10:40:26 -05:00
Bruce Ashfield
b17bd2c4b0 busybox-initrd: move static configuration to 'vmsep' distro feature
We already have a distro feature that controls the static/non-static
configuration of libgcrypt: 'vmsep'

To avoid build errors on distros that don't have static libgcrypt
available, we move the CONFIG_STATIC config to a fragment and only
enable it whent he distro feature is set.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-28 18:27:51 -04:00
Bruce Ashfield
d0ef2f0bf7 busybox: add initrd variant
Add a busybox variant that inherits almost all of its support from
the core busybox recipe, but adds configuration values that are
appropriate to be used in an initrd.

In particular:

  - we build busybox statically
  - we enable runlevel and init functionality
  - mdev is always enabled
  - applet install support is enabled

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22 15:51:13 -04:00
Sai Hari Chandana Kalluri
1c32ed6a9a busybox_vmsep.inc: busybox changes for runx support
Runx needs busybox static binary that contains symlinks to mount.  However, in
zeus, busybox by default uses BUSYBOX_SPLIT_SUID = 1.  With the variable set,
busybox binary gets split into two busybox.suid and busybox.nosuid busybox.suid
contains links to mount while runx recipes pulls in busybox.nosuid.

When vmsep is enabled, set BUSYBOX_SPLIT_SUID = 0 so that an unstripped busybox
binary is generated which contains all the required links including mount.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02 11:09:32 -04:00
Bruce Ashfield
40f158dbf8 busybox: vmsep distro feature modifications
If "vmsep" is in distro features, we need to configure busybox
as a static build. This allows for it to be used as party of an
initrd.

We also ensure that the installer support is added to busybox, so
it can be installed to the initrd via: busybox --install

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
2020-03-11 12:20:04 -04:00
Armin Kuster
d4182f50f1 Refactor to conform to YP Compat requirements
This prevents the signature from being modified

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-23 12:38:50 -04:00
Paul Gortmaker
21391597e1 busybox: make append version independent
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-19 13:12:16 -05:00
Bruce Ashfield
142477933d busybox: update bbappend to match oe-core master
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-02-05 14:17:42 -05:00
David Nyström
19cb3d6615 busybox: Add getopt since lxc templates require it
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03 22:39:26 -04:00
Chris Patterson
3cd1544d73 busybox: migrate from defconfig to config fragments.
Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-06 00:39:55 -04:00
Bruce Ashfield
64f44848c0 busybox: remove SRC_URI reference to awk -F patch
The commit "busybox: remove awk -F patch" missed the SRC_URI
update for the dropped patch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-07-08 22:15:06 -04:00
Bruce Ashfield
40cba01e33 busybox: remove awk -F patch
The awk patch being carried by meta-virtualization is part of the
1.21.1 busybox release. So we can drop it from the bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-07-06 22:47:09 -04:00
Ting Liu
4c1c13675d busybox: Follow OE-Core update to 1.12.1 version
Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-07-05 23:41:54 -04:00
Bogdan Purcareata
ea1d9e46ad busybox awk: make -F STR interpret escape sequences
Patch implements functionality mentioned in the title and has
been applied to busybox 1.21.0. This patch is included into the
meta-virtualization layer since it provides awk functionality to
the lxc-clone command in the lxc containers package.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-05-17 09:47:32 -07:00
Mihai Prica
0d80b8bc3b busybox: updated bbappend for 1.20.2
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
2012-11-26 16:22:02 -07:00
Raymond Danks
e76cf22362 busybox: Add mdev, cifs, advanced ps, lspci, and lsusb for xen-minimal.
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
2012-06-21 15:03:33 -06:00