Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208106 - netboot2 target can't use root_overlay.
Summary: netboot2 target can't use root_overlay.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 22:01 UTC by Justin Bronder (RETIRED)
Modified: 2008-06-19 16:05 UTC (History)
0 users

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


Attachments
patch (catalyst-2.0.5-netboot2-root_overlay.patch,390 bytes, patch)
2008-01-29 22:02 UTC, Justin Bronder (RETIRED)
Details | Diff
netboot2 + linuxrc support. (catalyst-2.0.5-nb2-linuxrc.patch,862 bytes, patch)
2008-02-06 15:27 UTC, Justin Bronder (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Bronder (RETIRED) gentoo-dev 2008-01-29 22:01:06 UTC
In order to pass a new a new init to genkernel when building a netboot2 target, one needs to get that file into the the buildroot.  However, I don't see any clean method to do this without using root_overlay.

A one line change to netboot2_target.py fixes this.


Reproducible: Always
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2008-01-29 22:02:26 UTC
Created attachment 142158 [details, diff]
patch

This adds root_overlay to netboot2.
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2008-02-05 20:47:46 UTC
Well that, or adding netboot2/linuxrc is just as much fun :)
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-06 00:33:31 UTC
Eh, I hate having the overlay just for the purpose of copying in a file to use with genkernel. However, the change isn't going to hurt anything.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-06 00:37:43 UTC
This is in SVN.
Comment 5 Justin Bronder (RETIRED) gentoo-dev 2008-02-06 15:27:34 UTC
Created attachment 142832 [details, diff]
netboot2 + linuxrc support.

I didn't like using the root_overlay either.  Patch adds netboot2/linuxrc key and also adds --initramfs-overlay to the genkernel arguments for netboot2 targets.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-06 15:40:19 UTC
Works for me. I've applied the patch as is. I didn't know the foo/linuxrc option even existed. That certainly makes things easier :P

The automatic --initramfs-overlay is something I've been meaning to look into and never gotten around to.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2008-06-19 16:05:34 UTC
This is in catalyst 2.0.6, which is in the tree and stable.  If there's still a problem with this, please REOPEN this bug.

Thanks!