On 02/17/2012 11:18 AM, Alan McKinnon wrote:
> On Fri, 17 Feb 2012 09:01:36 +0100
> Raffaele BELARDI <raffaele.bela...@st.com> wrote:
>> 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.

I'm probably oversimplifying because I don't know much about overlays.

I'm not using layman at all but I am using a local overlay for mythtv.
>From what I understand the 'overlayed' mythtv ebuild is responsible for
the overlay update though a script installed in /etc/portage/postsync.d/
which basically performs a 'git pull'. So unless there is a new git
snapshot upstream the modified ebuild will not get overwritten, correct?

raf

Reply via email to