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

Bug 147353

Summary: portage-2.1.1 - Allow symlink overlay
Product: Portage Development Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: VERIFIED NEEDINFO    
Severity: minor    
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-12 11:51:12 UTC
When overlay points to a symlink you get the following message:
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/ase-portage'

Please modify ./pym/portage.py so that overlay can be symlinks too.

Thanks!
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 08:28:41 UTC
Not sure if just extending the check wouldn't break something else. Path handling is known to be fragile when it comes to symlinks.
Comment 2 Zac Medico gentoo-dev 2007-01-12 07:42:22 UTC
It should work as long as the target of the symlink is an existing directory.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-13 02:19:49 UTC
Well... It used to not work...
But in the latest portage it works... Checked.
Thanks.
Comment 4 Zac Medico gentoo-dev 2007-01-13 02:51:52 UTC
Okay, good.