From 8aefe5ce056cbd6d2135fe43beb0bdeec69c0ee0 Mon Sep 17 00:00:00 2001 From: Amin Tootoonchian Date: Mon, 12 Oct 2020 16:07:50 -0500 Subject: [PATCH] LU-14010 build: Ensure dkms installs all Lustre modules Add --force to dkms install in: debian/lustre-client-modules-dkms.postinst Without it older than available modules are skipped. Signed-off-by: Amin Tootoonchian Change-Id: I1d549e7d48d60294810e11ed2588a512f1527eda Reviewed-on: https://review.whamcloud.com/40225 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Petros Koutoupis Reviewed-by: Oleg Drokin --- debian/lustre-client-modules-dkms.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/lustre-client-modules-dkms.postinst b/debian/lustre-client-modules-dkms.postinst index cb2fdf3..5fbf15c 100644 --- a/debian/lustre-client-modules-dkms.postinst +++ b/debian/lustre-client-modules-dkms.postinst @@ -7,4 +7,4 @@ package="lustre-client-modules" version="$(dpkg-query -W -f='${Version}' "${package}-dkms" | sed -e 's/-[^-]*$//')" dkms add -m "${package}" -v "${version}" -dkms build -m "${package}" -v "${version}" && dkms install -m "${package}" -v "${version}" || true +dkms build -m "${package}" -v "${version}" && dkms install -m "${package}" -v "${version}" --force || true -- 1.8.3.1