View previous topic :: View next topic |
Author |
Message |
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Fri Mar 16, 2007 3:18 pm Post subject: Can you add the entire /usr/portage to a Portage Overlay?? |
|
|
Hello all,
I have been trying (in vain) for sometime to make an local rsync server update to an outside server in such a way that it WILL retireve the new ebuilds available, but WILL NOT replace/remove the older ebuilds in the process. Essentially I am trying to accumalate all ebuilds just in case the time arises where I would like revert back to installing an older version of a package.
The ONLY idea have have left is if I can add the entire /usr/portage directory to an Poratge Overlay, then emerge sync (as normal) the new ebuilds into the /usr/portage directory, hopEfully keeping the older ebuilds unalterned and still usable in the Portage Overlay (/usr/local/portage).
Thanks for your time
Take Care |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Fri Mar 16, 2007 3:39 pm Post subject: |
|
|
It may be slow but I see no reason why this can not be done.
BTW, have you seen the two bug reports on bugs.gentoo.org for workarounds to this issue? Sorry I don't have the links right now. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Fri Mar 16, 2007 3:52 pm Post subject: |
|
|
Hello drescherjm,
Sorry I apologize for the confusion in advance ... but did you mean to say there was a bug report opened for adding the adding of a " PORTAGE_OVERLAY to /etc/make.conf" or to the "Updaing of an rsynce server"??
Thanks again |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Fri Mar 16, 2007 4:28 pm Post subject: |
|
|
There were two bug reports suggesting ways to keep old ebuilds of installed packages instead of discarding them when they were removed from portage. There are also threads on this forum somewhere that talk about the ebuilds. These are definitely threads from this year. _________________ John
My gentoo overlay
Instructons for overlay
Last edited by drescherjm on Fri Mar 16, 2007 4:30 pm; edited 1 time in total |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Fri Mar 16, 2007 4:29 pm Post subject: |
|
|
From man make.conf: Quote: | PORTAGE_RSYNC_OPTS = [rsync options string]
Default rsync options to be used by emerge --sync.
Don't change this unless you know exactly what you're doing!
Defaults to "--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" |
You should be able to change these options and remove the --delete, that way it should retain all the old ebuilds. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Fri Mar 16, 2007 7:32 pm Post subject: |
|
|
Hello again,
I tried adding
Code: |
PORTAGE_RSYNC_OPTS = "--recursive --links --safe-links --perms --times --compress --force --whole-file --stats --timeout=180"
|
Then syncing sfterwards ... when I search through just a few package directores in /usr/portage .. it appears as though some things are still deleted
For example: on my older (before syncing) I have installeed snort-2.4.3-r1. Now after syncing the only available snort option I have in y /usr/portage are:
Code: |
-rw-r--r-- 1 root root 22400 Feb 28 07:35 ChangeLog
-rw-r--r-- 1 root root 7786 Feb 28 07:35 Manifest
drwxr-xr-x 2 root root 4096 Feb 28 05:36 files
-rw-r--r-- 1 root root 246 Aug 23 2004 metadata.xml
-rw-r--r-- 1 root root 4425 Nov 25 13:36 snort-2.4.5.ebuild
-rw-r--r-- 1 root root 5820 Feb 21 07:36 snort-2.6.1.2.ebuild
-rw-r--r-- 1 root root 5907 Feb 28 07:35 snort-2.6.1.3-r1.ebuild
|
So it appears as though I will no longer be able to emerge snort-2.4.3-r1.
I guess I still don't know what to do
Thanks again |
|
Back to top |
|
|
|