From: Amin Tootoonchian Date: Mon, 12 Oct 2020 21:07:50 +0000 (-0500) Subject: LU-14010 build: Ensure dkms installs all Lustre modules X-Git-Tag: 2.13.57~113 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=refs%2Fchanges%2F25%2F40225%2F2 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 --- 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