diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:11:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:16:15 +0000 |
commit | 1dfb9033e06fb88b33e2aa034e8d73792a6a03a8 (patch) | |
tree | 048b7e187454960677d79755d47a3acf939819af | |
parent | 7298317e3626454301bcb74c3e7e87fc12fd7cea (diff) | |
download | poky-1dfb9033e06fb88b33e2aa034e8d73792a6a03a8.tar.gz |
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.
(From OE-Core rev: 6541799c2e9a5a1586676c207d62f885c70e24dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/rootfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index f99626ccfa..f2891a7043 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -209,7 +209,7 @@ class Rootfs(object): | |||
209 | 'new', '-v']) | 209 | 'new', '-v']) |
210 | 210 | ||
211 | def _generate_kernel_module_deps(self): | 211 | def _generate_kernel_module_deps(self): |
212 | kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_DIR', True), | 212 | kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_BUILDDIR', True), |
213 | 'kernel-abiversion') | 213 | 'kernel-abiversion') |
214 | if os.path.exists(kernel_abi_ver_file): | 214 | if os.path.exists(kernel_abi_ver_file): |
215 | kernel_ver = open(kernel_abi_ver_file).read().strip(' \n') | 215 | kernel_ver = open(kernel_abi_ver_file).read().strip(' \n') |