On Fri, 17 Feb 2012 09:01:36 +0100
Raffaele BELARDI <raffaele.bela...@st.com> wrote:

> On 02/17/2012 08:48 AM, Alan McKinnon wrote:
> > On Fri, 17 Feb 2012 08:19:33 +0100
> > Your changes will be overwritten and reverted next time you resync
> > the portage tree and every time thereafter.
> > 
> > Editing the ebuild is not the simplest route, it is a vastly more
> > complex route. Instead, put the ebuild in the local overlay where
> > portage knows not to touch it. A local overlay does not require
> > layman.
> 
> The change was done in the mythtv overlay
> (/usr/local/mythtv_portage/), would that be overwritten by a resync?
> I understood that overlay gets updated only when there is a mythtv
> update upstream.


It will be overwritten with every layman update/resync

layman will notice that you have a file that is different from the repo
and will revert it, and you cannot stop this happening. It does not
depend on whether the remote file has changed, it only depends on you
locally having a file that is different to the repo.

Seriously, the gentoo docs are full or warning to not do what you did.
Use the local overlay, it was designed for exactly this purpose.


-- 
Alan McKinnnon
alan.mckin...@gmail.com


Reply via email to