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.
This check can now be put into pkg_setup(), with portage 1.8.8-r1
done.