Hi Lucas, Michal,
Hello,
I think a simpler approach would be to not compress the module list for
which the decompressor is not configured in populate-modules.sh Then the
depmod test can run unchanged, and the modules will only be compressed
when support for the compression is enabled.
+1
The issue with this is that populate-modules.sh does not have any input
for these configure settings - they are in config.h but that's not very
useble for a shell script.
How about grep for them in '#define KMOD_FEATURES ...' line. Everything is
there:
#define KMOD_FEATURES "-ZSTD +XZ -ZLIB -LIBCRYPTO -EXPERIMENTAL"
Kind regards,
Petr
Thanks
Michal