]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/rootfs.py: Fix reference to abiversion file location
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jan 2015 23:11:53 +0000 (23:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jan 2015 23:14:26 +0000 (23:14 +0000)
With the changes to kernel layout, we need to refer to the correct
location of the kernel abiversion file.

Thanks to Saul, Randy, Darren and Bruce to figuring out the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py

index f99626ccfa0e508faf15de0d1dcdf9805b866a26..f2891a70438b5aaab840a6ffc18811e478e7409c 100644 (file)
@@ -209,7 +209,7 @@ class Rootfs(object):
                                   'new', '-v'])
 
     def _generate_kernel_module_deps(self):
-        kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_DIR', True),
+        kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_BUILDDIR', True),
                                            'kernel-abiversion')
         if os.path.exists(kernel_abi_ver_file):
             kernel_ver = open(kernel_abi_ver_file).read().strip(' \n')