Hi all, This is just a small feature request: It would be a great help to those of us creating *really* customized LiveCD's (or USB sticks) using catalyst (or any other method, really) if one could specify the path to a custom /linuxrc script as an argument to genkernel instead of having to actually put it in /usr/share/genkernel/${ARCH}/linuxrc. A couple of reasons off the top of my head: - It's currently very difficult to make a self-contained "build-a-default-kernel-with-custom-linuxrc" script without having to mess with the user's genkernel directory directly or having to modify the initrd after it's been built. - Catalyst builds the kernel, initrd and everything else in a chroot and it seems one has to jump through all sorts of hoops to make it possible to use a custom /linuxrc. In the end, I just gave up and went for manually updating the initrd once it was built (a very tiresome producedure, btw, after having done it 100 times :)). The only option I could find which seemed relevant would be --arch-override which could be used by copying the default files into a new directory and overwriting the linuxrc. But that seems like a bit of a hack to me. It should be a *relatively* easy addition, but I'm not really comfortable enough with the genkernel code to offer a patch. Cheers,
Created attachment 43633 [details, diff] adds --linuxrc argument to genkernel This patch implements a user specified linuxrc. I needed this patch for myself, and just happened to run across this bug. It applies to the sources currently in cvs.
Ok, patch in genkernel-3.0.2c, should reach rsync shortly. Please reopen this bug if you have any problems. Thanks!