Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118213 - netboot2 (version 2) module support
Summary: netboot2 (version 2) module support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-01-07 11:42 UTC by Joshua Kinard
Modified: 2006-01-16 07:40 UTC (History)
0 users

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


Attachments
Catalyst2 Netboot2 Support (catalyst2-netboot2-support.patch,12.25 KB, patch)
2006-01-07 11:43 UTC, Joshua Kinard
Details | Diff
Spec File Example for Netboot2 (catalyst2-netboot2-mips.spec,6.44 KB, text/plain)
2006-01-07 11:44 UTC, Joshua Kinard
Details
Catalyst2 Netboot2 Support (catalyst2-netboot2-support-v2.patch,12.34 KB, patch)
2006-01-08 18:03 UTC, Joshua Kinard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Kinard gentoo-dev 2006-01-07 11:42:30 UTC
The attached patch allows Catalyst2 to built a different kind of netboot target.  It's different from the first in that it splits the work between catalyst and genkernel.

Catalyst will merge the packages and then copy specific files (defined in the spec file) to /tmp/image in the buildroot.  Genkernel takes over, and uses /tmp/image as an overlay to its cpio archive while adding in busybox, udev, klibc, then rolling this into each kernel build target.  Catalyst overwrites a few files in genkernel (in the buildroot) for this process to work, notably the busybox config.

This is currently tested only on mips, however preliminary support for sparc and ppc is also available when those archs are able to test.
Comment 1 Joshua Kinard gentoo-dev 2006-01-07 11:43:26 UTC
Created attachment 76469 [details, diff]
Catalyst2 Netboot2 Support
Comment 2 Joshua Kinard gentoo-dev 2006-01-07 11:44:28 UTC
Created attachment 76470 [details]
Spec File Example for Netboot2
Comment 3 Joshua Kinard gentoo-dev 2006-01-08 18:03:12 UTC
Created attachment 76572 [details, diff]
Catalyst2 Netboot2 Support

Modified targets/support/netboot2-final.sh to move kernel images to ${clst_target_path}kernels/ by default, and leave the case statement for archs that need to do post-processing of the images (i.e., sparc elftoaout).
Comment 4 Joshua Kinard gentoo-dev 2006-01-15 13:09:04 UTC
targets/support/netboot2-final.sh needs to be given the executable bit; unsure if CVS records these things or not, though.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-16 07:40:55 UTC
This should be fixed in 2.0_rc15.