public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: james <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: portage directory ownerships?
Date: Wed, 16 Sep 2015 13:46:23 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150916T145440-783@post.gmane.org> (raw)
In-Reply-To: 20150916085740.0a7cb2a3@digimed.co.uk

Neil Bothwick <neil <at> digimed.co.uk> writes:



> > Here, all of /etc/portage is root:root
> > The tree and all overlays are portage:portage

> Just to add some confusion to the mix

<snip>

Good example and it got me thinking....

> So some are portage:portage, some are root:root - all use /var/portage
> for $PORTDIR so that's not an issue. One of the portage:portage ones is
> the one that syncs with the mirrors and acts as an rsync host for the
> others, this may or may not be significant.

I might swith to /var/portage on a new install. Whats the pedantic 
reasons for for it? On an SSD for speed ? tmpdir? I'm curious, so tell me more.


1. So 'the tree' (/usr/portage/) is portage:portage  OK.

2. and /etc/portages is root:root  except for distfiles (root:portage) OK.

3. and /var/lib/layman  and subdirs are  root:root  ???
Note, these are the overlays I use but do not hack on.


4. and /usr/local/portage is    james:james
this where I hack on codes that are mostly other overlays that
need enhancements or raw codes I am processing into ebuilds.

5. /usr/local/experimental is  james:james   
where I working on codes that can compile
install or be removed without the baggage of portage/ebuilds. It
will be for embedded and cluster/cloud/vm movements of binaries
to attach directly to the 4.x kernel, dynamically.
I'm working on a new build semantic with DAGs, Tup, ninja and CheckInstall


So I can ignore (5) in make.conf. But I'm now getting ebuilds installed
in /usr/local/portage, I think because of this line in my make.conf::

PORTDIR_OVERLAY="source /etc/portage/repos.conf/layman.conf"
PORTDIR_OVERLAY="/usr/local/portage"

For goals of 1-5 what are improvements (any and all suggestions) on
make.conf I should make?  I need to ensure that overlays that I do
not modify stay separate for the ebuild I modify. In fact some packages
are in both 3 and 4.  I use git to seed category 4 so what caveates
do I use to ensure that git only seeds categroy 4 packages (ebuilds)once
and does not contaminant my 'old school; vim' hackery.


I think this is the only change I need::
PORTDIR_OVERLAY="/usr/local/portage" ==>
PORTDIR_OVERLAY="/var/lib/layman"

Or does layman and git (syncs) know where to place things. I do use
'git clone' to seed category 4 packages-->ebuilds and will
eventually be use more of git's features to push out updates.

I just gotta get this straight, consistent and keep things seperate
in my mind, because being an old fart, reading lots of codes, sometimes
I forget the origins of hacks. (yea yea document the code you old hack)

All suggestions welcome.
TIA,
James






  reply	other threads:[~2015-09-16 13:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 20:09 [gentoo-user] portage directory ownerships? james
2015-09-15 20:23 ` wabenbau
2015-09-15 20:25 ` Alan McKinnon
2015-09-15 22:36   ` Fernando Rodriguez
2015-09-16  2:19     ` [gentoo-user] " james
2015-09-16  6:09       ` Alan McKinnon
2015-09-16  6:01     ` [gentoo-user] " Alan McKinnon
2015-09-16  7:51       ` Fernando Rodriguez
2015-09-16  7:57   ` Neil Bothwick
2015-09-16 13:46     ` james [this message]
2015-09-16 14:19       ` [gentoo-user] " Alan McKinnon
2015-09-16 14:51         ` Neil Bothwick
2015-09-17  5:38           ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150916T145440-783@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox