Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17587

lustre-client dkms build is partially broken

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      The dkms build for lustre-client is partially broken. It will always build the module against the running version of the kernel, not the version specified by dkms. The fix seems to be pretty easy:

      diff --git a/lustre-dkms_pre-build.sh b/lustre-dkms_pre-build.sh
      index ce298cb763..54f9cc40af 100755
      --- a/lustre-dkms_pre-build.sh
      +++ b/lustre-dkms_pre-build.sh
      @@ -22,7 +22,7 @@
       case $1 in
           lustre-client)
              SERVER="--disable-server"
      -       KERNEL_STUFF=""
      +       KERNEL_STUFF="--with-linux=$4 --with-linux-obj=$4"
              ;;
       
           lustre-zfs|lustre-all)
      

      Attachments

        Activity

          People

            snehring Shane Nehring
            snehring Shane Nehring
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: