Skip to content

Commit

Permalink
run_test.sh: tweak the module compression details
Browse files Browse the repository at this point in the history
The Arch CI had a bug, where the modules were missing. Not only that,
but modules.builtin (et al) was also missing thus depmod could not
produce the modules.dep required by dkms to determine the correct
extension.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
  • Loading branch information
evelikov committed Feb 8, 2024
1 parent aab2f08 commit dee2dd8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ case "${os_id}" in
;;
esac

grep "^CONFIG_MODULE_COMPRESS" "${kernel_config}" || true
find "/lib/modules/${KERNEL_VER}" -name \*.ko\* 2>/dev/null | head -n1
echo "Expected module compression extension: ${mod_compression_ext:-(none)}"
echo "Checking module compression ..."
echo "config: $(grep "^CONFIG_MODULE_COMPRESS" "${kernel_config}" || true)"
echo "files: $(find "/lib/modules/${KERNEL_VER}" -name \*.ko\* 2>/dev/null | head -n1)"
echo "Expected extension: ${mod_compression_ext:-(none)}"


echo 'Preparing a clean test environment'
Expand Down

0 comments on commit dee2dd8

Please sign in to comment.