From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KxOHv-0006lm-4f for garchives@archives.gentoo.org; Tue, 04 Nov 2008 15:57:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABA89E043B; Tue, 4 Nov 2008 15:57:49 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by pigeon.gentoo.org (Postfix) with ESMTP id 84774E043A for ; Tue, 4 Nov 2008 15:57:49 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d40so276886and.1 for ; Tue, 04 Nov 2008 07:57:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=Z8Qf6VegiBGHVZpm0GjRyGnXa1lcix0ci91+5MN5DJE=; b=sarMf4lADvcon6bCUSCn+pLIdCufnYzl+zn0GSXhN1QyNZc1mGrXAAOdlJBgQRt6Q3 bWXPE25jqMN6y01UiwLdKg5P6WzWaidiHOf9paeMqeNrIrjzNFYjC2TjbA1LJ+9d0lZE 3Hd+/vtWkHCvoOSX44tiwFe1Ki3NmQnpiwqRo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=f/fzxJOh1mUb2b3F8wnOAzrxOEqE8ttzk5pbAZwBWIY4SYg2BmiStq55iJThMb6g3t DC5Pt75aa6Qo7stpE49yppyrlXzj5ldz7Ss5ZVa0ErugIiCP98omK7/6I7PmZLgXWJNN Oz322hanqnTD2oa/u5KFCCjfTrLn/C5/HaYyo= Received: by 10.64.208.20 with SMTP id f20mr2294722qbg.89.1225814267360; Tue, 04 Nov 2008 07:57:47 -0800 (PST) Received: from ?10.0.0.4? (dsl-243-211-235.telkomadsl.co.za [41.243.211.235]) by mx.google.com with ESMTPS id k8sm20849105qba.5.2008.11.04.07.57.44 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Nov 2008 07:57:46 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] e17 overlay bug Date: Tue, 4 Nov 2008 17:57:41 +0200 User-Agent: KMail/1.9.10 References: <38af3d670811040536ga03bbddic628f4f6e0fa3253@mail.gmail.com> In-Reply-To: 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="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811041757.41872.alan.mckinnon@gmail.com> X-Archives-Salt: d4aeffcd-583b-4e52-a7df-5305e1e78117 X-Archives-Hash: 8e914f406ecee802a3d0c314a720f49e On Tuesday 04 November 2008 15:42:21 Hazen Valliant-Saunders wrote: > Good Day all; > > Sorry to sound like a luddite; > > Where would I create my own user overlay? (so I may go about fiddling with > the settings?) It's in the handbook somewhere :-) But I can't be bothered finding it, so I'll type it. All it really is, is a directory somewhere and you tell portage where it is. In that directory you have a sub-directory structure that looks the same as the portage tree, but with just the categories you have ebuilds for. I have my portage tree at /var/portage (yes, I'm a stickler for detail and the tree is a database so it should not go into /usr/ per LFS and in case I mount /usr/ read-only....). The normal place for overlays is thus /var/portage/local: $ ls -l /var/portage/local/ total 3 drwxrwsr-x 15 root portage 1024 Oct 28 10:31 alan drwxr-sr-x 8 alan portage 1024 Sep 25 10:28 e17 drwxrwsr-x 5 root portage 1024 Oct 12 18:27 layman Ignore layman, that's a gentoo tool to make it easy to use gentoo dev's own overlays that they publish. My private overlays are alan and e17. Inside alan I have: $ ls -l /var/portage/local/alan/ total 23 -rw-rw-r-- 1 root portage 1161 Jun 6 17:51 TODO drwxr-sr-x 3 root portage 1024 Oct 28 10:31 app-doc drwxrwsr-x 3 root portage 1024 Jun 4 10:49 app-misc drwxrwsr-x 2 root portage 1024 Mar 16 2008 app-text drwxrwsr-x 3 root portage 1024 Jan 3 2008 dev-util drwxrwsr-x 2 root portage 1024 Aug 29 14:58 eclass -rw-rw-r-- 1 alan portage 0 Feb 27 2008 manifest1_obsolete drwxr-sr-x 4 root portage 1024 Sep 15 16:36 net-libs drwxrwsr-x 3 root portage 1024 May 3 2008 net-mail drwxr-sr-x 5 root portage 1024 Sep 15 21:16 net-misc drwxrwsr-x 2 root portage 1024 Jun 26 13:13 profiles drwxrwsr-x 2 alan portage 1024 Sep 9 14:24 x11-libs drwxrwsr-x 3 alan portage 1024 Apr 27 2008 x11-misc drwxrwsr-x 8 root portage 1024 Sep 15 16:37 x11-plugins drwxrwsr-x 146 root portage 9216 Nov 2 18:38 x11-themes It looks just like a piece of a portage tree. Tell portage where the overlay is with an edit to make.conf: $ grep -i overlay /etc/make.conf PORTDIR_OVERLAY="$PORTDIR_OVERLAY /var/portage/local/e17 /var/portage/local/alan" and you are all set. Put ebuilds in the obvious place in the directory. The only extra step before you can use them is to build a manifest for each package with an ebuild: ebuild /path/to/your/ebuild/-.ebuild manifest Do this once per package (it manifests all files in the directory, not just that one ebuild) and emerge. -- alan dot mckinnon at gmail dot com