Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293980 - PORTDIR_OVERLAY in /etc/make.conf is ignored
Summary: PORTDIR_OVERLAY in /etc/make.conf is ignored
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 19:43 UTC by Tiago Marques
Modified: 2009-11-21 21:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Marques 2009-11-21 19:43:27 UTC
Set PORTDIR_OVERLAY="/user/local/portage" and see portage using "/usr/portage/local" instead.

make.conf is as follows:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-pipe -O2 -funroll-loops -ftree-vectorize -mfpmath=387"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-64bit -firefox -acl -gtk -gstreamer -gnome qt qt4 qt3support kde dvd cdr -esd alsa arts hal mmx mmxext sse sse2 samba win32codecs mplayer xine xmms xvid quicktime artswrappersuid userlocales asf aac flac vcd a52 nvidia nptlonly unicode utempter fam xvmc realmedia divx wmp nsplugin branding x264 3dnow 3dnowext cpudetection theora vorbis xulrunner mp3 X"
VIDEO_CARDS="vesa"# nvidia"
#LINGUAS="pt"
ALSA_CARDS="cmipci ice1724"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo"
FEATURES="parallel-fetch"
PORTAGE_NICENESS="10"
PORTDIR_OVERLAY="/usr/portage/local"
DISTDIR=/tmp/distfiles
PORTAGE_TMPDIR=/tmp/

This caused deletion of my custom overlays after a sync.

Layman is installing overlays in /usr/portage/local, as if I'm doing nothing.

Reproducible: Always



Expected Results:  
layman should store the files for the overlays in /usr/local/portage
Comment 1 Allen Brooker (AllenJB) 2009-11-21 20:14:48 UTC
To change the location where layman stores overlays, you need to edit /etc/layman/layman.cfg and change the "storage" option.

Layman doesn't look at make.conf at all.


Editing make.conf shouldn't cause layman to delete anything. However, do note that overlays added with layman won't show up in emerge unless you add the "source /usr/portage/local/layman/make.conf" to make.conf (as instructed when you install layman; change path to match "storage" in laymans config file) and this is placed after any instances of PORTDIR_OVERLAY in make.conf


If this does not solve your problem, please provide steps to reproduce, including the exact commands you are running, the expected result and the actual result.
Comment 2 Tiago Marques 2009-11-21 21:21:06 UTC
You're absolutely right. Portage was searching layman fine until I did a sync and then everything stopped working. I did as you suggested and it's working fine now. I thought it was a bug due to working well before the sync.

Best regards