mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
cc8df1f117
* 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
21 lines
362 B
Makefile
21 lines
362 B
Makefile
scriptsdir = /usr/share/initramfs-tools/scripts
|
|
|
|
scripts_DATA = \
|
|
zfs
|
|
|
|
SUBDIRS = local-top
|
|
|
|
EXTRA_DIST = \
|
|
$(top_srcdir)/contrib/initramfs/scripts/zfs.in
|
|
|
|
$(scripts_DATA):%:%.in
|
|
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
$< >'$@'
|
|
|
|
clean-local::
|
|
-$(RM) $(scripts_SCRIPTS)
|
|
|
|
distclean-local::
|
|
-$(RM) $(scripts_SCRIPTS)
|