解决“ERROR: kernel source directory "/usr/src/linux" was not found!”方案
问题:
报错:ERROR: kernel source directory "/usr/src/linux" was not found!
解决:
nano -w /etc/genkernel.conf将DEFAULT_KERNEL_SOURCE="/usr/src/linux"改成DEFAULT_KERNEL_SOURCE="/usr/src/linux-5.xx.xx-gentoo-r1",然后genkernel all就好了