mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-14 09:12:11 +03:00
cmd: force zarcstat/zarc_summary recreation at install
If the target already exists, lt will fail. Force it to recreate the symlinks. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #17702
This commit is contained in:
parent
c755aa486d
commit
02fa962af0
@ -109,8 +109,8 @@ arc_summary: %D%/arc_summary
|
||||
$(AM_V_at)cp $< $@
|
||||
|
||||
cmd-rename-install-exec-hook:
|
||||
$(LN_S) arcstat $(DESTDIR)$(bindir)/zarcstat
|
||||
$(LN_S) arc_summary $(DESTDIR)$(bindir)/zarcsummary
|
||||
$(LN_S) -f arcstat $(DESTDIR)$(bindir)/zarcstat
|
||||
$(LN_S) -f arc_summary $(DESTDIR)$(bindir)/zarcsummary
|
||||
INSTALL_EXEC_HOOKS += cmd-rename-install-exec-hook
|
||||
endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user