mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
a6c8289473
* rpm: correct pkgconfig path pkconfig files get installed to $datarootdir/pkgconfig but rpm expects them to be at $datadir. This works when $datarootdir==$datadir which is the case most of the time but will fail when they differ. * install: make initramfs-tools path static Since initramfs-tools' path is nothing we can control as it is an external package it does not make any sense to install zfs additions anywhere else. Simply use /usr/share/initramfs-tools as path. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Laager <rlaager@wiktel.com> Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Closes #9087
22 lines
460 B
Makefile
22 lines
460 B
Makefile
hooksdir = /usr/share/initramfs-tools/hooks
|
|
|
|
hooks_SCRIPTS = \
|
|
zfs
|
|
|
|
EXTRA_DIST = \
|
|
$(top_srcdir)/contrib/initramfs/hooks/zfs.in
|
|
|
|
$(hooks_SCRIPTS):%:%.in
|
|
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
|
-e 's,@mounthelperdir\@,$(mounthelperdir),g' \
|
|
$< >'$@'
|
|
|
|
clean-local::
|
|
-$(RM) $(hooks_SCRIPTS)
|
|
|
|
distclean-local::
|
|
-$(RM) $(hooks_SCRIPTS)
|