diff options
Diffstat (limited to 'meta/lib')
-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 5f81023040..d634adda4e 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -305,7 +305,7 @@ class Rootfs(object, metaclass=ABCMeta): | |||
305 | def _check_for_kernel_modules(self, modules_dir): | 305 | def _check_for_kernel_modules(self, modules_dir): |
306 | for root, dirs, files in os.walk(modules_dir, topdown=True): | 306 | for root, dirs, files in os.walk(modules_dir, topdown=True): |
307 | for name in files: | 307 | for name in files: |
308 | found_ko = name.endswith(".ko") | 308 | found_ko = name.endswith((".ko", ".ko.gz", ".ko.xz")) |
309 | if found_ko: | 309 | if found_ko: |
310 | return found_ko | 310 | return found_ko |
311 | return False | 311 | return False |