View Single Post

   
  #2 (permalink)  
Old 05-10-2008, 02:02 PM
AZ Nomad
 
Posts: n/a
Default Re: Gentoo - Replacing base files with custom built alternatives

On Fri, 09 May 2008 21:08:15 GMT, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
>I am using Gentoo. I would like to replace some of my core files with
>custom built alternatives. For example, I would like to replace
>/bin/echo, /bin/ls, and lots of other base binaries.


>Is there a way to lock these files out of the portage database,
>preventing them from ever being overridden by portage.


>Also, I would like to replace /etc/passwd, /etc/group, etc/shadow,
>/etc/gshadow, and other key configuration files.


>Is there a way to prevent these from being updated by portage?


equery belongs <file> to find what package has them
then put the package in /etc/portage/profile/package.provided


>Thanks in advance to anyone who can help.


>Mark.


Reply With Quote