mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
47a2455fbc
The zfs dracut modules should be installed under the --datadir not --datarootdir path. This was just an oversight in the original Makefile.am. After this change %{_datadir} can now be set safely in the zfs.spec file. The 'make install' location is now consistent with the location expected by the spec file.
28 lines
698 B
Makefile
28 lines
698 B
Makefile
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
|
dist_pkgdracut_SCRIPTS = \
|
|
$(top_srcdir)/dracut/90zfs/90-zfs.rules \
|
|
$(top_srcdir)/dracut/90zfs/check \
|
|
$(top_srcdir)/dracut/90zfs/install \
|
|
$(top_srcdir)/dracut/90zfs/installkernel \
|
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
|
$(top_srcdir)/dracut/90zfs/zfs-genrules.sh \
|
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
|
|
|
all:
|
|
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
|
for file in $$list; do \
|
|
link=$$(basename $$file); \
|
|
if [ ! -e $$link ]; then \
|
|
$(LN_S) $$file $$link; \
|
|
fi \
|
|
done
|
|
|
|
clean:
|
|
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
|
for file in $$list; do \
|
|
link=$$(basename $$file); \
|
|
if [ -L $$link ]; then \
|
|
$(RM) $$link; \
|
|
fi \
|
|
done
|