]> git.proxmox.com Git - mirror_zfs.git/commit
config/zfs-build.m4: never define _initramfs in RPM_DEFINE_UTIL
authorHarald van Dijk <harald@gigawatt.nl>
Sat, 12 Sep 2020 15:22:07 +0000 (16:22 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Sep 2020 01:36:03 +0000 (18:36 -0700)
commitae93e46716bf27b5d806b3bb5f981c16f25d2f40
treee2401e7f006b5b371a334cb8d910a036e596dc0a
parent645ca45a13c215902ddc339ac41985caf3035a4e
config/zfs-build.m4: never define _initramfs in RPM_DEFINE_UTIL

The zfs-initramfs package has never worked as no RPM-based distribution
uses initramfs-tools, which is listed as a dependency of zfs-initramfs.

This would not ordinarily be a problem, as it is only enabled when
/usr/share/initramfs-tools is present, which should not normally be the
case on RPM-based distributions. However, other packages may install
unused files there even if initramfs-tools is not used, so remove this
auto-detection for the rpm-utils target.

This does not fully remove the logic for the zfs-initramfs package. This
splits it out into a separate rpm-utils-initramfs target so that the
Debian builds can still use it.

Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Harald van Dijk <harald@gigawatt.nl>
Closes #10898
config/deb.am
config/rpm.am
config/zfs-build.m4