From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RyKwn-0006j9-Jd for garchives@archives.gentoo.org; Fri, 17 Feb 2012 10:21:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0A2AE0AB9; Fri, 17 Feb 2012 10:21:36 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id A648CE0AB2 for ; Fri, 17 Feb 2012 10:19:49 +0000 (UTC) Received: by werp13 with SMTP id p13so2115513wer.40 for ; Fri, 17 Feb 2012 02:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=aTDgvrPaUBAiGsNQGNM0UPH1SEg0cvAL9GkIxHZNSLw=; b=r0WCcL5j2pzmLEDQSqE4U6/niahBwHH0DmQQfG+0BlAWhx1/OrnB+jKS3OH3Mzsqw3 G1WS7XY3Qdmc2kd6hvhnPEnyktqY4t7QxdeknvpkFvz1X/wMKOKvUeVRYl9y40ATzPcj wFvvjVNSrDDwcIrrV/u+4qibCO59SmmPXivLc= Received: by 10.180.80.8 with SMTP id n8mr2582420wix.14.1329473988940; Fri, 17 Feb 2012 02:19:48 -0800 (PST) Received: from khamul.example.com (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPS id s8sm6533210wiz.8.2012.02.17.02.19.46 (version=SSLv3 cipher=OTHER); Fri, 17 Feb 2012 02:19:48 -0800 (PST) Date: Fri, 17 Feb 2012 12:18:44 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay Message-ID: <20120217121844.49cdc4cc@khamul.example.com> In-Reply-To: <4F3E0960.4030702@st.com> References: <4F3CB731.5010009@st.com> <4F3CBB6A.8030100@fu-berlin.de> <4F3DFF85.4040001@st.com> <20120217094841.1a828f55@khamul.example.com> <4F3E0960.4030702@st.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 57030525-3a6f-4664-8556-827d6419b1d5 X-Archives-Hash: 24b5b92fa17a740b6c4f75fa78b466ec On Fri, 17 Feb 2012 09:01:36 +0100 Raffaele BELARDI 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.mckinnon@gmail.com