Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113391 - Overlay's arch.list's
Summary: Overlay's arch.list's
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 113690 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-11-23 12:41 UTC by Benigno B. Junior (RETIRED)
Modified: 2006-01-27 19:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
overlay-arch.patch (,645 bytes, patch)
2005-11-23 12:43 UTC, Benigno B. Junior (RETIRED)
Details | Diff
portage-2.1_pre1-overlay-arch.patch (portage-2.1_pre1-overlay-arch.patch,645 bytes, patch)
2005-12-26 00:24 UTC, Benigno B. Junior (RETIRED)
Details | Diff
portage-2.1_pre2-overlay-arch.patch (portage-2.1_pre2-overlay-arch.patch,686 bytes, patch)
2005-12-26 00:41 UTC, Benigno B. Junior (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benigno B. Junior (RETIRED) gentoo-dev 2005-11-23 12:41:29 UTC
It would be really useful to developers of others archs if we had some code to
check for archs in PORTDIR_OVERLAY, as it seems that PORTDIR's arch.list is
actually frozen.
Comment 1 Benigno B. Junior (RETIRED) gentoo-dev 2005-11-23 12:43:25 UTC
Created attachment 73453 [details, diff]
overlay-arch.patch
Comment 2 Zac Medico gentoo-dev 2005-11-23 13:02:26 UTC
Do overrides for $PORTDIR/profiles/* belong to /etc/portage, PORTDIR_OVERLAY,
both, or a mixture?  Note that categories and package.mask are currently
overridden via /etc/portage.  Also note ferringb's proposal to move some of
these files:

http://marc.theaimsgroup.com/?l=gentoo-dev&m=112513240928971&w=2
Comment 3 Benigno B. Junior (RETIRED) gentoo-dev 2005-11-23 13:16:08 UTC
In "/usr/portage/profiles/arch.list", I see:
alpha
amd64
arm
hppa
ia64
m68k
mips
ppc
ppc64
ppc-macos
s390
sh
sparc
x86
x86-fbsd

If you develop for another arch, like netbsd or openbsd, for instance, you would
have to add this x86-nbsd or x86-obsd to "/usr/portage/profiles/arch.list", and
it would be overridden after "emerge sync". It would be cool if we could add
ourselves the arch in our "${PORTDIR_OVERLAY}/profiles/arch.list", and then it
would be concatenated to the main "${PORTDIR/profiles/arch.list".
Comment 4 Zac Medico gentoo-dev 2005-11-23 13:26:23 UTC
(In reply to comment #3)
> it would be overridden after "emerge sync". It would be cool if we could add
> ourselves the arch in our "${PORTDIR_OVERLAY}/profiles/arch.list", and then it
> would be concatenated to the main "${PORTDIR/profiles/arch.list".

Agreed (as your patch implements).  However, in order to be consistent, we
should also add support for /etc/portage/arch.list.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-11-27 03:10:26 UTC
*** Bug 113690 has been marked as a duplicate of this bug. ***
Comment 6 Benigno B. Junior (RETIRED) gentoo-dev 2005-12-26 00:24:08 UTC
Created attachment 75541 [details, diff]
portage-2.1_pre1-overlay-arch.patch
Comment 7 Benigno B. Junior (RETIRED) gentoo-dev 2005-12-26 00:28:35 UTC
Comment on attachment 75541 [details, diff]
portage-2.1_pre1-overlay-arch.patch

Changed its name to have identification.
Comment 8 Benigno B. Junior (RETIRED) gentoo-dev 2005-12-26 00:41:20 UTC
Created attachment 75542 [details, diff]
portage-2.1_pre2-overlay-arch.patch
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-12-30 23:28:53 UTC
Released in portage-2.1_pre3
Comment 10 Benigno B. Junior (RETIRED) gentoo-dev 2005-12-31 01:13:30 UTC
I merged portage-2.1_pre3 and it's working fine.
Thanks.
Comment 11 Benigno B. Junior (RETIRED) gentoo-dev 2006-01-04 23:48:52 UTC
Sorry, but reopening the bug. There wasn't a problem until I tried repoman, and it does not recognize the "${PORTDIR_OVERLAY}/profiles/arch.list" content. Could anyone check it for us, please?

I've a question: I am not a portage master and unfortunately I have no time to read it all, but are the lines I've added in the patch harmful to portage.py? I had no problem when I was using them, and it works for 2.0 and 2.1.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-05 00:05:48 UTC
I think repoman is completely another story, it requires a lot mroe of changes to work with overlays.
Comment 13 Benigno B. Junior (RETIRED) gentoo-dev 2006-01-05 01:08:12 UTC
There are others changes to do in repoman, it can be seen. But it seemed that repoman could get some info from portate.py about the architecture (it's what I meant in my last comment), altho' there should be still changes to handle things completely for repoman.

As Flameeyes said, "repoman is completely another story", and I guess it deserves another bug request to have these features for overlay (profiles.desc, etc), too.
Comment 14 Jason Stubbs (RETIRED) gentoo-dev 2006-01-27 19:25:38 UTC
Released in 2.1_pre4