1 Description: Block manual building in the DKMS source tree.
2 To avoid messing up future DKMS builds and the zfs installation,
3 block manual building of the DKMS source tree.
7 Reviewed-By: Petter Reinholdtsen <pere@hungry.com>
8 Last-Update: 2017-10-06
10 Index: zfs/config/dkms.m4
11 ===================================================================
13 +++ zfs/config/dkms.m4
16 +dnl # Prevent manual building in DKMS source tree.
18 +AC_DEFUN([ZFS_AC_DKMS_INHIBIT], [
19 + AC_MSG_CHECKING([for dkms.conf file])
20 + AS_IF([test -e dkms.conf], [
22 + *** ZFS should not be manually built in the DKMS source tree.
23 + *** Remove all ZFS packages before compiling the ZoL sources.
24 + *** Running "make install" breaks ZFS packages.])
26 + AC_MSG_RESULT([not found])
29 Index: zfs/config/user.m4
30 ===================================================================
31 --- zfs.orig/config/user.m4
32 +++ zfs/config/user.m4
34 dnl # Default ZFS user configuration
36 AC_DEFUN([ZFS_AC_CONFIG_USER], [
38 ZFS_AC_CONFIG_USER_MOUNT_HELPER
39 ZFS_AC_CONFIG_USER_UDEV
40 ZFS_AC_CONFIG_USER_SYSTEMD