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
Created attachment 142158 [details, diff] patch This adds root_overlay to netboot2.
Well that, or adding netboot2/linuxrc is just as much fun :)
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.
This is in SVN.
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.
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.
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!