[oe-commits] Richard Purdie : lib/oe/rootfs.py: Fix reference to abiversion file location

git at git.openembedded.org git at git.openembedded.org
Fri Jan 16 23:15:38 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6541799c2e9a5a1586676c207d62f885c70e24dc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6541799c2e9a5a1586676c207d62f885c70e24dc

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Jan 16 23:11:53 2015 +0000

lib/oe/rootfs.py: Fix reference to abiversion file location

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 at linuxfoundation.org>

---

 meta/lib/oe/rootfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index f99626c..f2891a7 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -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')



More information about the Openembedded-commits mailing list