Bug 235610 - RFE: minimal busybox subpackage for use with petitboot bootloader.
RFE: minimal busybox subpackage for use with petitboot bootloader.
Product: Fedora
Classification: Fedora
Component: busybox (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
Depends On:
Blocks: 235611
  Show dependency treegraph
Reported: 2007-04-07 19:12 EDT by David Woodhouse
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-10 16:02:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
config file for petitboot (16.89 KB, text/plain)
2007-04-07 19:12 EDT, David Woodhouse
no flags Details
CVS repository patch. (4.87 KB, patch)
2007-04-07 19:24 EDT, David Woodhouse
no flags Details | Diff
correct config file (16.89 KB, text/plain)
2007-04-10 01:06 EDT, David Woodhouse
no flags Details

  None (edit)
Description David Woodhouse 2007-04-07 19:12:08 EDT
Petitboot is a kexec-based bootloader intended primarily for use on PlayStation
3, where we put a kernel+initrd into flash to act as a bootloader.

In such a system we need a very minimal busybox, using something like the
attached config. Please could we build a 'busybox-petitboot' subpackage for it,
just like we do for the 'busybox-anaconda' subpackage?
Comment 1 David Woodhouse 2007-04-07 19:12:08 EDT
Created attachment 151922 [details]
config file for petitboot
Comment 2 David Woodhouse 2007-04-07 19:22:07 EDT
It seems that the addition of -lsepol to $(cmd_link) in Rules.mak, which is done
by busybox-1.2.0-selinux.patch, isn't actually needed. It gets added to
$(LIBRARIES) anyway. Removing that makes the minimal busybox.petitboot no longer
link against libsepol -- while the other two builds do still link against it

Having done that, we can remove busybox-1.2.0-gcc41.patch entirely -- it doesn't
do anything except add a single space on the line previously modified by the
selinux patch.
Comment 3 David Woodhouse 2007-04-07 19:24:45 EDT
Created attachment 151923 [details]
CVS repository patch.
Comment 4 David Woodhouse 2007-04-07 20:15:55 EDT
I think you have to turn off CONFIG_BUILD_AT_ONCE (in busybox-petitboot.config)
because it fails otherwise. It would save about 30KiB though, so I'll look into
fixing it at some point.
Comment 5 David Woodhouse 2007-04-10 01:06:21 EDT
Created attachment 152088 [details]
correct config file

This is the config file to use.

Note You need to log in before you can comment on or make changes to this bug.