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
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.
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