Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273 - alsa-driver-0.5.12a.ebuild trips emerge --pretend <foo>
Summary: alsa-driver-0.5.12a.ebuild trips emerge --pretend <foo>
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-22 14:33 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
0 users

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