Massimiliano Ziccardi writes: > I'm trying to apply the workaround suggested in the BUG at > http://bugs.gentoo.org/show_bug.cgi?id=268285 > > I've changed the file accordingly, however, everytime I emerge mkinitrd, > the file (obviously) get overwritten. > > I tried to search, but didn't find anything... > > Is there an emerge flag to instruct emerge to compile what it finds in > /var instead of downloading it?
To try it out once, you can do it like this: ebuild /usr/portage/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild unpack change things in /var/tmp/portage/sys-apps/mkinitrd-3.5.7-r3 ebuild /usr/portage/sys-apps/mkinitrd/mkinitrd-3.5.7-r3.ebuild merge The cleaner way would be to modify the ebuild and put it into your overlay (along with the modified mkinitrd-3.5.7-dietssp.patch), but on the other hand the bug might already be fixed anyway when you emerge the package the next time. Wonko