public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Simple repos.conf layout please
@ 2015-05-02  1:40 Walter Dnes
  2015-05-02  1:46 ` Alec Ten Harmsel
  2015-05-02  2:01 ` »Q«
  0 siblings, 2 replies; 5+ messages in thread
From: Walter Dnes @ 2015-05-02  1:40 UTC (permalink / raw
  To: Gentoo Users List

  I'm running an update on my netbook, and I noticed the warning about
SYNC in make.conf no longer being supported.  I had a look at the
documentation, and gave up.  It appears to be written BY developers who
have several overlays on their machines, FOR developers who have several
overlays on their machines, and assumes significant knowledge in
managing multiple overlays on a machine.

  For those of us who run bog-standard machines without all those bells
and whistles, it comes as a shock to the system.  What is the
quickest-n-dirtiest conversion to the "new order"?  Can someone please
post a bog-standard example... *WITHOUT* inheriting a gazillion eclasses
and/or cascading multiple overlays?

  The SYNC statement in my make.conf is...

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

  My /etc/portage directory is...

aa1 portage # ls -l --group-directories-first
total 36
drwxr-xr-x 2 root root 4096 Mar 14 18:48 bin
drwxr-xr-x 2 root root 4096 Mar 14 18:48 postsync.d
drwxr-xr-x 2 root root 4096 May  1 15:20 repo.postsync.d
drwxr-xr-x 3 root root 4096 Sep  9  2014 savedconfig
-rw-r--r-- 1 root root 1891 Mar 26 23:59 make.conf
-rw-r--r-- 1 root root  627 Sep  9  2014 make.conf.catalyst
lrwxrwxrwx 1 root root   49 Sep  9  2014 make.profile -> ../../usr/portage/profiles/default/linux/x86/13.0
-rw-r--r-- 1 root root   87 Mar 24 21:54 package.keywords
-rw-r--r-- 1 root root   12 Mar 17 16:52 package.mask
-rw-r--r-- 1 root root  550 Mar 26 03:22 package.use


-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Simple repos.conf layout please
  2015-05-02  1:40 [gentoo-user] Simple repos.conf layout please Walter Dnes
@ 2015-05-02  1:46 ` Alec Ten Harmsel
  2015-05-02  5:49   ` Philip Webb
  2015-05-02  2:01 ` »Q«
  1 sibling, 1 reply; 5+ messages in thread
From: Alec Ten Harmsel @ 2015-05-02  1:46 UTC (permalink / raw
  To: gentoo-user



On 05/01/2015 09:40 PM, Walter Dnes wrote:
>   I'm running an update on my netbook, and I noticed the warning about
> SYNC in make.conf no longer being supported.  I had a look at the
> documentation, and gave up.  It appears to be written BY developers who
> have several overlays on their machines, FOR developers who have several
> overlays on their machines, and assumes significant knowledge in
> managing multiple overlays on a machine.
>
>   For those of us who run bog-standard machines without all those bells
> and whistles, it comes as a shock to the system.  What is the
> quickest-n-dirtiest conversion to the "new order"?  Can someone please
> post a bog-standard example... *WITHOUT* inheriting a gazillion eclasses
> and/or cascading multiple overlays?
>
>   The SYNC statement in my make.conf is...
>
> SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
>
>   My /etc/portage directory is...
>
> aa1 portage # ls -l --group-directories-first
> total 36
> drwxr-xr-x 2 root root 4096 Mar 14 18:48 bin
> drwxr-xr-x 2 root root 4096 Mar 14 18:48 postsync.d
> drwxr-xr-x 2 root root 4096 May  1 15:20 repo.postsync.d
> drwxr-xr-x 3 root root 4096 Sep  9  2014 savedconfig
> -rw-r--r-- 1 root root 1891 Mar 26 23:59 make.conf
> -rw-r--r-- 1 root root  627 Sep  9  2014 make.conf.catalyst
> lrwxrwxrwx 1 root root   49 Sep  9  2014 make.profile -> ../../usr/portage/profiles/default/linux/x86/13.0
> -rw-r--r-- 1 root root   87 Mar 24 21:54 package.keywords
> -rw-r--r-- 1 root root   12 Mar 17 16:52 package.mask
> -rw-r--r-- 1 root root  550 Mar 26 03:22 package.use
>
>


My repos.conf is below.

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://kwopper/portage
auto-sync = true

[alec]
location = /usr/local/portage
sync-type = git
sync-uri = git://github.com/trozamon/overlay.git
auto-sync = true

Naturally, you can replace the sync-uri in the gentoo section with
"rsync://rsync.namerica.gentoo.org/gentoo-portage", so yours would be:

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.namerica.gentoo.org/gentoo-portage
auto-sync = true

Regards,

Alec


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: Simple repos.conf layout please
  2015-05-02  1:40 [gentoo-user] Simple repos.conf layout please Walter Dnes
  2015-05-02  1:46 ` Alec Ten Harmsel
@ 2015-05-02  2:01 ` »Q«
  1 sibling, 0 replies; 5+ messages in thread
From: »Q« @ 2015-05-02  2:01 UTC (permalink / raw
  To: gentoo-user

On Fri, 1 May 2015 21:40:15 -0400
"Walter Dnes" <waltdnes@waltdnes.org> wrote:

> What is the quickest-n-dirtiest conversion to the "new order"?

# mkdir /etc/portage/repos.conf

# cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf

remove SYNC="whatever" from make.conf

relax



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Simple repos.conf layout please
  2015-05-02  1:46 ` Alec Ten Harmsel
@ 2015-05-02  5:49   ` Philip Webb
  2015-05-02  6:15     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Webb @ 2015-05-02  5:49 UTC (permalink / raw
  To: gentoo-user

150501 Alec Ten Harmsel recommended:
> [gentoo]
> location = /usr/portage
> sync-type = rsync
> sync-uri = rsync://rsync.namerica.gentoo.org/gentoo-portage
> auto-sync = true

I don't have the final line : what is it for ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: Simple repos.conf layout please
  2015-05-02  5:49   ` Philip Webb
@ 2015-05-02  6:15     ` Nikos Chantziaras
  0 siblings, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2015-05-02  6:15 UTC (permalink / raw
  To: gentoo-user

On 02/05/15 08:49, Philip Webb wrote:
> 150501 Alec Ten Harmsel recommended:
>> [gentoo]
>> location = /usr/portage
>> sync-type = rsync
>> sync-uri = rsync://rsync.namerica.gentoo.org/gentoo-portage
>> auto-sync = true
>
> I don't have the final line : what is it for ?

It means that your local copy will be updated without having to manually 
specify the repo. If this is "false", then "emerge --sync" or "emaint 
sync --auto" will *not* update the repo. You would need to explicitly do 
so with "emaint sync --repo gentoo".

This is "true" by default though. So that's why it works as usual for 
you even though you don't have that line in your repos.conf.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-02  6:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02  1:40 [gentoo-user] Simple repos.conf layout please Walter Dnes
2015-05-02  1:46 ` Alec Ten Harmsel
2015-05-02  5:49   ` Philip Webb
2015-05-02  6:15     ` [gentoo-user] " Nikos Chantziaras
2015-05-02  2:01 ` »Q«

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox