At the beginning we are told to : # emerge sys-kernel/usermode-sources # cd /usr/src/uml/linux # make menuconfig ARCH=um # make linux ARCH=um # cp linux /usr/local/bin/linux However, the linux link does not exist when usermode sources are installed. You have to do cd /usr/src/uml ln -s linux-2.4.23 linux # use whatever kernel version you are using. then you can cd /usr/src/uml/linux.
Wouldn't it be easier if the ebuilds take care of this? Like with the current kernel trees and the /usr/src/linux symlink? The first usermode source you install will then create the symlink. The succeeding sources don't make the symlink (as is the case with kernel trees) but we can then inform the user about this the same way. This makes things consistent with the "normal" kernel trees...
yes, it's better to fix that in the ebuild, done :)
Thank you. I thought of that last night and never got back to suggest it.