From 2390b095cf24bf05644bc75878fd12c20da745a4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 28 Aug 2010 19:24:56 +0200 Subject: [PATCH] linux26: fixed to only copy Module.symvers file if linux26-src package is installed --- base/linux26/linux26.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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