diff options
Diffstat (limited to 'meta')
-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 e884e47733..c149c94271 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -193,7 +193,7 @@ class Rootfs(object): | |||
193 | kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_DIR', True), | 193 | kernel_abi_ver_file = os.path.join(self.d.getVar('STAGING_KERNEL_DIR', True), |
194 | 'kernel-abiversion') | 194 | 'kernel-abiversion') |
195 | if os.path.exists(kernel_abi_ver_file): | 195 | if os.path.exists(kernel_abi_ver_file): |
196 | kernel_ver = open(kernel_abi_ver_file).read() | 196 | kernel_ver = open(kernel_abi_ver_file).read().strip(' \n') |
197 | modules_dir = os.path.join(self.image_rootfs, 'lib', 'modules', kernel_ver) | 197 | modules_dir = os.path.join(self.image_rootfs, 'lib', 'modules', kernel_ver) |
198 | 198 | ||
199 | bb.utils.mkdirhier(modules_dir) | 199 | bb.utils.mkdirhier(modules_dir) |