Enable disconnected mode for DKMS builds as well, and pass the configure
flag for the Linux kernel packaging rather than relying on local patches
to change the module name.
DEST_MODULE_LOCATION[0]="/updates/dkms/"
AUTOINSTALL=yes
-MAKE[0]="./configure --with-linux-kernel-headers=${kernel_source_dir}
+MAKE[0]="./configure --enable-disconnected \
+ --with-linux-kernel-headers=${kernel_source_dir} \
+ --with-linux-kernel-packaging
&& make
&& mv src/libafs/MODLOAD-*/openafs.ko ."
CLEAN="rm -f openafs.ko && make -C src/libafs clean"