From 40367f7f988989d9fcf6ce393618394dcfb43e09 Mon Sep 17 00:00:00 2001 From: Sebastien Piechurski Date: Mon, 20 Aug 2018 11:06:07 +0200 Subject: [PATCH] LU-11133 dkms: Add missing ldiskfs module in dkms config The dkms.conf file generated by the script dkms.mkconf does not include the ldiskfs kernel module. This results in not being able to use ldiskfs when using the lustre-ldiskfs-dkms or lustre-all-dkms packages. This patch adds the module in the configuration for both of these packages. Test-Parameters: trivial Signed-off-by: Sebastien Piechurski Change-Id: Icc98fba208c78c3061fe591e3315af1eb9199f4f Reviewed-on: https://review.whamcloud.com/32800 Reviewed-by: Nathaniel Clark Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- lustre/scripts/dkms.mkconf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/scripts/dkms.mkconf b/lustre/scripts/dkms.mkconf index e2fc392..2cd7cb5 100755 --- a/lustre/scripts/dkms.mkconf +++ b/lustre/scripts/dkms.mkconf @@ -152,5 +152,9 @@ if [ $pkgname = "lustre-ldiskfs" -o $pkgname = "lustre-all" ] ; then BUILT_MODULE_NAME[\${#BUILT_MODULE_NAME[@]}]="osd_ldiskfs" BUILT_MODULE_LOCATION[\${#BUILT_MODULE_LOCATION[@]}]="lustre/osd-ldiskfs/" DEST_MODULE_LOCATION[\${#DEST_MODULE_LOCATION[@]}]="/${kmoddir}/lustre/" +# ldiskfs module +BUILT_MODULE_NAME[\${#BUILT_MODULE_NAME[@]}]="ldiskfs" +BUILT_MODULE_LOCATION[\${#BUILT_MODULE_LOCATION[@]}]="ldiskfs/" +DEST_MODULE_LOCATION[\${#DEST_MODULE_LOCATION[@]}]="/${kmoddir}/lustre/" EOF fi -- 1.8.3.1