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

DKMS use common.postinst if it is available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

      When building diskless images for deployment the kernel owning the chroot
      may be different from the kernel the chroot is to deployed on.
      In such cases the default of falling back to $(uname -r) results in a image that
      cannot be deployed.

      For such deployment a common.postinst is still used to run dkms build/install with
      the correct kernel. So prefer to run common.postinst if it exists.

      common.postinst script is used when building in chroot for
      diskless deployment.

      Fixes: a2b5118f2a ("LU-18533 build: fix the common.postinst nonexistence issue")

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: