rootfs.py: find .ko.gz and .ko.xz kernel modules as well
Ignore this for now, something else seems to be still broken. Will send v2 later.
Quoted 35 lines · Martin Jansa via lists.openembedded.org
From: Christophe Chapuis <[email protected]>
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
thedo_rootfstask doesn't run depmod in the image, because it thinks
there are no modules:
NOTE: No Kernel Modules found, not running depmodSigned-off-by Martin Jansa <[email protected]>Signed-off-by Christophe Chapuis <[email protected]>--- meta/lib/oe/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/lib/oe/rootfs.py +1
-1@@ -305,7 +305,7 @@ class Rootfs(object, metaclass=ABCMeta): def _check_for_kernel_modules(self, modules_dir): for root, dirs, files in os.walk(modules_dir, topdown=True): for name in files: - found_ko = name.endswith(".ko") + found_ko = name.endswith(".ko") or name.endswith(".ko.gz") or name.endswith(".ko.xz") if found_ko: return found_koreturn False
--
2.30.2