Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 347391

Summary: sys-devel/crossdev: Support selecting target overlay manually
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=486422
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Schridde 2010-12-01 09:38:39 UTC
Currently crossdev automatically selects one of my layman overlays to setup the cross-*/* symlinks. I would instead like to be able to specify one manually, so I can use the "local" overlay, instead of a layman one. (The latter are in much more flux, get removed, etc)

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-12-01 14:08:20 UTC
crossdev simply walks your overlay variable from first to last.  put whatever one you want found first, first.
Comment 2 Dennis Schridde 2010-12-01 14:53:13 UTC
Layman modifies the overlay list. I'd have to modify layman to change that to be in the order I need.
Comment 3 SpanKY gentoo-dev 2010-12-04 11:03:22 UTC
layman only modifies its own overlay list.  you still have full control over the final overlay list.
Comment 4 Dennis Schridde 2010-12-04 16:54:30 UTC
You mean setting PORTDIR_OVERLAY after sourcing layman/make.conf?
Comment 5 SpanKY gentoo-dev 2010-12-04 22:01:46 UTC
however you have your stuff configured.  layman doesnt modify make.conf, so you had to add it yourself.
Comment 6 SpanKY gentoo-dev 2013-09-30 00:09:49 UTC
crossdev now has overlay options and repos.conf support

Overlay Options:
    -oS, --overlays list     Space delimited list of overlays to search
                                [default: ${PORTDIR_OVERLAY}]
    -oO, --ov-output path    Overlay to write crossdev package links
                                [default: first from --overlays list]
    -ob, --ov-binutils path  Overlay for binutils ebuilds [default: search]
    -od, --ov-gdb path       Overlay for gdb ebuilds [default: search]
    -og, --ov-gcc path       Overlay for gcc ebuilds [default: search]
    -ok, --ov-kernel path    Overlay for kernel ebuilds [default: search]
    -ol, --ov-libc path      Overlay for C library ebuilds [default: search]