mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 12:29:35 +03:00
38e2e9ce83
A bunch of places need to edit files to incorporate the configured paths i.e. bindir, sbindir etc. Move this logic into a common file. Create arc_summary by copying arc_summary[23] as appropriate at build time instead of install time. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10559
22 lines
488 B
Makefile
22 lines
488 B
Makefile
include $(top_srcdir)/config/Substfiles.am
|
|
|
|
systemdpreset_DATA = \
|
|
50-zfs.preset
|
|
|
|
systemdunit_DATA = \
|
|
zfs-zed.service \
|
|
zfs-import-cache.service \
|
|
zfs-import-scan.service \
|
|
zfs-mount.service \
|
|
zfs-share.service \
|
|
zfs-volume-wait.service \
|
|
zfs-import.target \
|
|
zfs-volumes.target \
|
|
zfs.target
|
|
|
|
SUBSTFILES += $(systemdpreset_DATA) $(systemdunit_DATA)
|
|
|
|
install-data-hook:
|
|
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
|
|
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
|