]> git.proxmox.com Git - mirror_zfs.git/commit
install path fixes
authorMichael Niewöhner <c0d3z3r0@users.noreply.github.com>
Tue, 30 Jul 2019 17:06:09 +0000 (19:06 +0200)
committerMatthew Ahrens <mahrens@delphix.com>
Tue, 30 Jul 2019 17:06:09 +0000 (10:06 -0700)
commita6c82894735a476ce5eb275f307ec0b5430296e4
tree27c27092f248c7dab89118ad0fc4af8d2d55f6be
parent85ce79bbc8cf17f100eb4ae6a0d1b1ce2e2dd9d9
install path fixes

* 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
contrib/initramfs/Makefile.am
contrib/initramfs/hooks/Makefile.am
contrib/initramfs/scripts/Makefile.am
contrib/initramfs/scripts/local-top/Makefile.am
rpm/generic/zfs.spec.in