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

Bug 273

Summary: alsa-driver-0.5.12a.ebuild trips emerge --pretend <foo>
Product: Portage Development Reporter: Karl Trygve Kalleberg (RETIRED) <karltk>
Component: UnclassifiedAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-01-22 14:33:44 UTC
The following offending code: 

#might be good to roll this into Portage at some point.
KV=`readlink /usr/src/linux`
if [ $? -ne 0 ]
then
        echo 
        echo "/usr/src/linux symlink does not exist; cannot continue."
        echo
        exit 1
fi

Makes emerge --pretend <foo> break if /usr/src/linux does not exist. On the
bootstrap iso, it does not exist, so emerge --pretend <foo> unless the symlink
is created manually.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-02-05 15:35:43 UTC
This check can now be put into pkg_setup(), with portage 1.8.8-r1
Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-02-08 19:44:47 UTC
done.