mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 19:39:35 +03:00
d98a67a53a
The EXTRA_DIST variable is ignored when used in the FALSE conditional of a Makefile.am. This results in the `make dist` target omitting these files from the generated tarball unless CONFIG_USER is defined. This issue can be avoided by switching to use the dist_noinst_DATA variable which is handled as expected by autoconf. This change also adds support for --with-config=dist as an alias for --with-config=srpm and updates the GitHub workflows to use it. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #13459 Closes #13505
28 lines
997 B
Makefile
28 lines
997 B
Makefile
pkgdracut_02dir = $(dracutdir)/modules.d/02zfsexpandknowledge
|
|
pkgdracut_02_SCRIPTS = \
|
|
%D%/02zfsexpandknowledge/module-setup.sh
|
|
|
|
pkgdracut_90dir = $(dracutdir)/modules.d/90zfs
|
|
pkgdracut_90_SCRIPTS = \
|
|
%D%/90zfs/export-zfs.sh \
|
|
%D%/90zfs/import-opts-generator.sh \
|
|
%D%/90zfs/module-setup.sh \
|
|
%D%/90zfs/mount-zfs.sh \
|
|
%D%/90zfs/parse-zfs.sh \
|
|
%D%/90zfs/zfs-generator.sh \
|
|
%D%/90zfs/zfs-lib.sh \
|
|
%D%/90zfs/zfs-load-key.sh \
|
|
%D%/90zfs/zfs-needshutdown.sh
|
|
|
|
pkgdracut_90_DATA = \
|
|
%D%/90zfs/zfs-env-bootfs.service \
|
|
%D%/90zfs/zfs-rollback-bootfs.service \
|
|
%D%/90zfs/zfs-snapshot-bootfs.service
|
|
|
|
SUBSTFILES += $(pkgdracut_02_SCRIPTS) $(pkgdracut_90_SCRIPTS) $(pkgdracut_90_DATA)
|
|
SHELLCHECKSCRIPTS += $(pkgdracut_02_SCRIPTS) $(pkgdracut_90_SCRIPTS)
|
|
# Provided by /bin/sleep, and, again, every implementation of that supports this
|
|
$(call SHELLCHECK_OPTS,$(pkgdracut_90_SCRIPTS)): CHECKBASHISMS_IGNORE = -e 'sleep only takes one integer' -e 'sleep 0.'
|
|
|
|
dist_noinst_DATA += %D%/README.md
|