Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31216 - [RFE] genkernel shouldn't always rebuild busybox
Summary: [RFE] genkernel shouldn't always rebuild busybox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 11:47 UTC by Alexander Papaspyrou
Modified: 2003-11-12 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Papaspyrou 2003-10-15 11:47:24 UTC
genkernel always rebuilds busybox. Is this necessary? If not, we should store
the prebuild busybox binaries somewhere and save us some time when running
genkernel again.

Reproducible: Always
Steps to Reproduce:
1. run genkernel
2. rerun genkernel
3. rerun genk... (you name it[tm])

Actual Results:  
1. busybox gets build
2. busybox gets build
3. busyb... (you name it[tm])


Expected Results:  
1. busybox gets build
2. genkernel uses a cached build of busybox (yay!)
3. genkernel uses a cach... (you name it[tm])


Skipping as irrelevant for this bug.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-10-22 19:29:35 UTC
Is there any way that we could use the existing busybox ebuild for this task?
Comment 2 Alexander Papaspyrou 2003-10-23 02:51:22 UTC
We could add an internal "genkernel" use flag. If set, the "sed -e 's:<funnythings>:<evenfunnierthings>:'"
stuff in genkernel could be done within the ebuild. Besides that, we would
have to hack src_install() to install elsewhere. Finally, genkernel would
have to emerge -b to build a package.

If it doesn't hurt busybox, we might also incorporate the sed stuff into
the normal busybox-<younameit>.ebuild and make genkernel RDEPEND on busybox.
Then, we'd only have to copy over files.

I'm not quite sure if this makes things really easier...
Comment 3 Bob Johnson (RETIRED) gentoo-dev 2003-11-12 12:02:51 UTC
busybox is only built first time, then that binary is used for next
builds in http://www.gentoo.org/~livewire/genkernel-beta.tar.bz2