mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Cleanup contrib/initramfs automake
The initramfs hook scripts depend on Makefile. This way, if the substitution code is changed, they should update. This brings it in line with etc/init.d (which was modified to match the example in the automake docs). The initramfs hook script cleaning now matches etc/init.d. There was a mix of SUBDIRS recursion and custom install rules for files in subdirectories. This was duplicated for the "hooks" and "scripts" subdirectories. Now everything uses SUBDIRS. I fixed the substitution of DEFAULT_INITCONF_DIR for hooks/zfs. Reviewed-By: Andrey Prokopenko <job@terem.fr> Reviewed-By: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-By: Tom Caputi <tcaputi@datto.com> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #10027
This commit is contained in:
committed by
Brian Behlendorf
parent
657fd33bcf
commit
4cfd339ce4
@@ -92,6 +92,8 @@ AC_CONFIG_FILES([
|
||||
contrib/dracut/90zfs/Makefile
|
||||
contrib/dracut/Makefile
|
||||
contrib/initramfs/Makefile
|
||||
contrib/initramfs/conf.d/Makefile
|
||||
contrib/initramfs/conf-hooks.d/Makefile
|
||||
contrib/initramfs/hooks/Makefile
|
||||
contrib/initramfs/scripts/Makefile
|
||||
contrib/initramfs/scripts/local-top/Makefile
|
||||
|
||||
Reference in New Issue
Block a user