xref: /freebsd/sys/contrib/openzfs/contrib/dracut/Makefile.am (revision d411c1d696ef35d60f8c3564e5eef7aeafa2fece)
1pkgdracut_02dir = $(dracutdir)/modules.d/02zfsexpandknowledge
2pkgdracut_02_SCRIPTS = \
3	%D%/02zfsexpandknowledge/module-setup.sh
4
5pkgdracut_90dir = $(dracutdir)/modules.d/90zfs
6pkgdracut_90_SCRIPTS = \
7	%D%/90zfs/export-zfs.sh \
8	%D%/90zfs/import-opts-generator.sh \
9	%D%/90zfs/module-setup.sh \
10	%D%/90zfs/mount-zfs.sh \
11	%D%/90zfs/parse-zfs.sh \
12	%D%/90zfs/zfs-generator.sh \
13	%D%/90zfs/zfs-lib.sh \
14	%D%/90zfs/zfs-load-key.sh \
15	%D%/90zfs/zfs-needshutdown.sh
16
17pkgdracut_90_DATA = \
18	%D%/90zfs/zfs-env-bootfs.service \
19	%D%/90zfs/zfs-nonroot-necessities.service \
20	%D%/90zfs/zfs-rollback-bootfs.service \
21	%D%/90zfs/zfs-snapshot-bootfs.service
22
23SUBSTFILES        += $(pkgdracut_02_SCRIPTS) $(pkgdracut_90_SCRIPTS) $(pkgdracut_90_DATA)
24SHELLCHECKSCRIPTS += $(pkgdracut_02_SCRIPTS) $(pkgdracut_90_SCRIPTS)
25# Provided by /bin/sleep, and, again, every implementation of that supports this
26$(call SHELLCHECK_OPTS,$(pkgdracut_90_SCRIPTS)): CHECKBASHISMS_IGNORE = -e 'sleep only takes one integer' -e 'sleep 0.'
27
28dist_noinst_DATA += %D%/README.md
29