]> git.proxmox.com Git - proxmox-backup-restore-image.git/commitdiff
buildsys: disable zfs features during configure
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 1 Jun 2023 14:32:34 +0000 (16:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jun 2023 15:41:47 +0000 (17:41 +0200)
this should save a small bit of compiletime and should reduce the
space needed for the initramfs image

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Makefile

index fad9d012499c829ce530e70385c0928abc738124..6716aa0696d87a5ef9413ff236d7d0151c916d0e 100644 (file)
@@ -68,8 +68,19 @@ $(ZFS_TOOLS): zfs.prepared
                --sbindir=/sbin \
                --libdir=/lib/"$(DEB_HOST_MULTIARCH)" \
                --with-zfsexecdir=/usr/lib/zfs-linux \
+               --disable-pam \
+               --disable-nls \
+               --disable-sysvinit \
                --disable-systemd \
                --disable-pyzfs \
+               --disable-debug \
+               --disable-static \
+               --without-python \
+               --without-libiconv-prefix \
+               --without-libintl-prefix \
+               --without-gconv \
+               --without-dracutdir \
+               --without-pkgconfigdir \
                --with-config=user
        # absolute path required for 'make install'
        $(MAKE) -C $(BUILDDIR)/$(ZFSONLINUX_SUBMODULE) install DESTDIR=$(PWD)/$(ZFS_TOOLS)