mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 19:39:35 +03:00
fde4ce992d
Update Dracut module for Dracut-010 and fix race conditions that caused boot to fail on MP systems. Add support for zfs_force flag and parsing of spl_hostid from kernel command line. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
25 lines
580 B
Makefile
25 lines
580 B
Makefile
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
|
dist_pkgdracut_SCRIPTS = \
|
|
$(top_srcdir)/dracut/90zfs/90-zfs.rules \
|
|
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
|
$(top_srcdir)/dracut/90zfs/mount-zfs.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
|