Since kernel commit:
b74d7bb7ca24 ("kbuild: Modify default INSTALL_MOD_DIR from extra to updates")
...the kernel build process deposits the nfit_test can cxl_test modules in
/lib/modules/$KVER/updates. This is more widely supported across multiple
distributions as a default override for modules that ship in their native
directory.
Signed-off-by: Dan Williams <[email protected]>
---
test/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/core.c b/test/core.c
index 5d1aa23723f1..a354f41dcba0 100644
--- a/test/core.c
+++ b/test/core.c
@@ -209,7 +209,7 @@ retry:
break;
}
- if (!strstr(path, "/extra/")) {
+ if (!strstr(path, "/extra/") && !strstr(path, "/updates/")) {
log_err(&log_ctx, "%s.ko: appears to be production
version: %s\n",
name, path);
break;