Commit Graph

15 Commits

Author SHA1 Message Date
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