]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest: add oe-selftest for kernel module pre-filter
authorSam Kent <sam.john.kent@gmail.com>
Tue, 5 May 2026 18:28:44 +0000 (19:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jun 2026 14:50:15 +0000 (15:50 +0100)
commita2e8e502160dbbfe8ff1c49239287ca86152cef2
tree7e7769a9270ab07c9ef5302e00511cc1c3440bf7
parent48ce7bfd2204052eff4e51f72bcd23427b494fbd
oeqa/selftest: add oe-selftest for kernel module pre-filter

Add selftest-ko-filter recipe and a PackageTests.test_kmodule_prefilter
oe-selftest that builds it to verify process_split_and_strip_files()
handles .ko.xz/.ko.gz alongside a real .ko without corrupting them.
Regression test for YOCTO #2348.

AI-Generated: Uses Claude Sonnet 4.6

Signed-off-by: Sam Kent <sam.john.kent@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/selftest-ko-filter/files/module.c [new file with mode: 0644]
meta-selftest/recipes-test/selftest-ko-filter/selftest-ko-filter.bb [new file with mode: 0644]
meta/lib/oeqa/selftest/cases/package.py