Merge "Fix pmon scripts path (Debian)"

This commit is contained in:
Zuul 2022-03-17 23:32:09 +00:00 committed by Gerrit Code Review
commit 9af975fbdb
2 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,6 @@ usr/local/bin/pmond
usr/lib/libamon.so
usr/lib/libamon.so.1
usr/lib/libamon.so.1.0
usr/sbin/pmon-restart
usr/sbin/pmon-start
usr/sbin/pmon-stop
usr/local/sbin/pmon-restart
usr/local/sbin/pmon-start
usr/local/sbin/pmon-stop

View File

@ -7,6 +7,7 @@ export LIBDIR = $(ROOT)/usr/lib
export MTCESHAREDIR = $(ROOT)/usr/share/mtce
export OCFPLATFORMDIR = $(ROOT)/usr/lib/ocf/resource.d/platform
export SBINDIR = $(ROOT)/usr/sbin
export LOCAL_SBINDIR = $(ROOT)/usr/local/sbin
export UNITDIR=$(ROOT)/lib/systemd/system
export SYSCONFDIR = $(ROOT)/etc
@ -64,9 +65,9 @@ override_dh_auto_install:
install -m 755 -d $(SBINDIR)
install -m 700 -p -D fsync/fsync $(SBINDIR)/fsync
install -m 755 -d $(SBINDIR)
install -m 700 -p -D pmon/scripts/pmon-restart $(SBINDIR)/pmon-restart
install -m 700 -p -D pmon/scripts/pmon-start $(SBINDIR)/pmon-start
install -m 700 -p -D pmon/scripts/pmon-stop $(SBINDIR)/pmon-stop
install -m 700 -p -D pmon/scripts/pmon-restart $(LOCAL_SBINDIR)/pmon-restart
install -m 700 -p -D pmon/scripts/pmon-start $(LOCAL_SBINDIR)/pmon-start
install -m 700 -p -D pmon/scripts/pmon-stop $(LOCAL_SBINDIR)/pmon-stop
# init script files
install -m 755 -d $(INITDIR)