mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
ffb21118ad
The standard dracut directory has moved from /usr/share/dracut to /usr/lib/dracut. To ensure the dracut modules get installed in the correct location provide a --with-dracutdir configure option to set the path. The default install location has been updated to /usr/lib/dracut which is used by more current versions of Fedora. However, this default is overriden by the RPM packaging for consistency. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
22 lines
632 B
Makefile
22 lines
632 B
Makefile
pkgdracutdir = $(dracutdir)/modules.d/90zfs
|
|
pkgdracut_SCRIPTS = \
|
|
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
|
|
|
EXTRA_DIST = \
|
|
$(top_srcdir)/dracut/90zfs/module-setup.sh.in \
|
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
|
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
|
|
|
|
$(pkgdracut_SCRIPTS):
|
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
|
-e 's,@sbindir\@,$(sbindir),g' \
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
'$@.in' >'$@'
|
|
|
|
distclean-local::
|
|
-$(RM) $(pkgdracut_SCRIPTS)
|