mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
34eef3e9a7
- Remove `SHELLCHECK_IGNORE` in favor of inline suppressions and more general `SHELLCHECK_OPTS`. - Exclude `SC2250` (turned on by `--enable=all`) globally - Pass `--enable=all` to shellcheck for scripts in contrib/: it's very important to catch errors early in areas that are not easily testable. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #12760
26 lines
667 B
Makefile
26 lines
667 B
Makefile
include $(top_srcdir)/config/Substfiles.am
|
|
include $(top_srcdir)/config/Shellcheck.am
|
|
|
|
pkgdracutdir = $(dracutdir)/modules.d/90zfs
|
|
pkgdracut_SCRIPTS = \
|
|
export-zfs.sh \
|
|
module-setup.sh \
|
|
mount-zfs.sh \
|
|
parse-zfs.sh \
|
|
zfs-generator.sh \
|
|
zfs-load-key.sh \
|
|
zfs-needshutdown.sh \
|
|
zfs-lib.sh \
|
|
import-opts-generator.sh
|
|
|
|
pkgdracut_DATA = \
|
|
zfs-env-bootfs.service \
|
|
zfs-snapshot-bootfs.service \
|
|
zfs-rollback-bootfs.service
|
|
|
|
SUBSTFILES += $(pkgdracut_SCRIPTS) $(pkgdracut_DATA)
|
|
SHELLCHECK_OPTS = --enable=all
|
|
|
|
# Provided by /bin/sleep, and, again, every implementation of that supports this
|
|
CHECKBASHISMS_IGNORE = -e 'sleep only takes one integer' -e 'sleep 0.'
|