Merge "Fix pmon scripts path (Debian)"
This commit is contained in:
commit
9af975fbdb
@ -5,6 +5,6 @@ usr/local/bin/pmond
|
|||||||
usr/lib/libamon.so
|
usr/lib/libamon.so
|
||||||
usr/lib/libamon.so.1
|
usr/lib/libamon.so.1
|
||||||
usr/lib/libamon.so.1.0
|
usr/lib/libamon.so.1.0
|
||||||
usr/sbin/pmon-restart
|
usr/local/sbin/pmon-restart
|
||||||
usr/sbin/pmon-start
|
usr/local/sbin/pmon-start
|
||||||
usr/sbin/pmon-stop
|
usr/local/sbin/pmon-stop
|
||||||
|
@ -7,6 +7,7 @@ export LIBDIR = $(ROOT)/usr/lib
|
|||||||
export MTCESHAREDIR = $(ROOT)/usr/share/mtce
|
export MTCESHAREDIR = $(ROOT)/usr/share/mtce
|
||||||
export OCFPLATFORMDIR = $(ROOT)/usr/lib/ocf/resource.d/platform
|
export OCFPLATFORMDIR = $(ROOT)/usr/lib/ocf/resource.d/platform
|
||||||
export SBINDIR = $(ROOT)/usr/sbin
|
export SBINDIR = $(ROOT)/usr/sbin
|
||||||
|
export LOCAL_SBINDIR = $(ROOT)/usr/local/sbin
|
||||||
export UNITDIR=$(ROOT)/lib/systemd/system
|
export UNITDIR=$(ROOT)/lib/systemd/system
|
||||||
|
|
||||||
export SYSCONFDIR = $(ROOT)/etc
|
export SYSCONFDIR = $(ROOT)/etc
|
||||||
@ -64,9 +65,9 @@ override_dh_auto_install:
|
|||||||
install -m 755 -d $(SBINDIR)
|
install -m 755 -d $(SBINDIR)
|
||||||
install -m 700 -p -D fsync/fsync $(SBINDIR)/fsync
|
install -m 700 -p -D fsync/fsync $(SBINDIR)/fsync
|
||||||
install -m 755 -d $(SBINDIR)
|
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-restart $(LOCAL_SBINDIR)/pmon-restart
|
||||||
install -m 700 -p -D pmon/scripts/pmon-start $(SBINDIR)/pmon-start
|
install -m 700 -p -D pmon/scripts/pmon-start $(LOCAL_SBINDIR)/pmon-start
|
||||||
install -m 700 -p -D pmon/scripts/pmon-stop $(SBINDIR)/pmon-stop
|
install -m 700 -p -D pmon/scripts/pmon-stop $(LOCAL_SBINDIR)/pmon-stop
|
||||||
|
|
||||||
# init script files
|
# init script files
|
||||||
install -m 755 -d $(INITDIR)
|
install -m 755 -d $(INITDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user