Shinkan wrote: > Hi everyone, > > I want to patch hardened-sources to make them really hardened, because it's > ROFL shit. > Just kidding... sorry. > > Seriously, I would like to patch hardened-sources with just one patch. > I want to make it clean, so I think I would : > cp sys-kernel/hardened-sources to /usr/local/portage/ and set this dir as my > portage overlay in /etc/make.conf. > cp latest hardened-sources ebuild, in my portage overlay, and modify it so > that its name as a more recent -r number, and that it'll apply my patch. > > The problem is that I'm new to ebuild. I get the philosophy globally, but I > noticed by reading an hardened-sources ebuild that it's different. > How can I proceed to just tell by ebuild to add a patch to the kernel ? > > Many thanks in advance for all your wisdom. > > You could do it by modifying the ebuild and having it doiwnload the patch and apply it automatically, but an easier way if you have just one patch is to do it manually. When the hardened kernel is emerged, its source is unpacked to /usr/src/linux-2.6.28-r9 with a symbolic link /usr/src/linux pointing to it. Before compiling, apply the patch manually there.
-- Anthony G. Basile, Ph.D. Chair of Information Technology D'Youville College Buffalo, NY 14201 USA (716) 829-8197
signature.asc
Description: OpenPGP digital signature