diff --git a/base/linux26/linux26.conf b/base/linux26/linux26.conf index 2f7eaea83..181c6e4b5 100644 --- a/base/linux26/linux26.conf +++ b/base/linux26/linux26.conf @@ -142,7 +142,7 @@ main_lx() { # if module versions is enabled we need to copy 'Module.symvers' # to be able to build external 3rd party kernel modules without # rebuilding the whole kernel using the linux26-src package - if grep -q "CONFIG_MODVERSIONS=y" .config ; then + if grep -q "CONFIG_MODVERSIONS=y" .config && pkginstalled linux26-src ; then echo "Copying Module.symvers -> /lib/modules/${lx_kernelrelease}/build/" cp -v Module.symvers $root/lib/modules/${lx_kernelrelease}/build/ fi