Merge "Debian: Reorganize storage config package"

This commit is contained in:
Zuul 2022-10-12 20:38:51 +00:00 committed by Gerrit Code Review
commit f853ceff23
5 changed files with 13 additions and 12 deletions

View File

@ -5,7 +5,7 @@ cert-mon
cgts-client
config-gate
controllerconfig
#storageconfig
storageconfig
sysinv
sysinv-agent
workerconfig-standalone

View File

@ -1,20 +1,23 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
PKGDIR=$(CURDIR)/debian/tmp
PKGDIR := $(CURDIR)/debian/tmp
export INITDDIR=$(PKGDIR)/etc/init.d
export GOENABLEDDIR=$(PKGDIR)/etc/goenabled.d
export SYSTEMDDIR=$(PKGDIR)/lib/systemd/system
%:
dh $@
override_dh_auto_build:
: # nothing to be built, just skip
: # No build required
override_dh_fixperms:
dh_fixperms -Xstorage_config
override_dh_auto_install:
install -d -m 755 ${INITDDIR}
install -p -D -m 700 storage_config ${INITDDIR}/storage_config
install -d -m 755 ${GOENABLEDDIR}
install -p -D -m 700 config_goenabled_check.sh ${GOENABLEDDIR}/config_goenabled_check.sh.storage
override_dh_installsystemd:
dh_installsystemd --name storageconfig
dh_installsystemd -pstorageconfig --name=storageconfig --no-start storageconfig.service

View File

@ -1,3 +1,2 @@
etc/init.d
etc/goenabled.d
lib/systemd/system/config

View File

@ -1,3 +1,2 @@
etc/init.d/storage_config
etc/goenabled.d/config_goenabled_check.sh
lib/systemd/system/storageconfig.service
etc/goenabled.d/*

View File

@ -10,8 +10,8 @@ Type=simple
ExecStart=/etc/init.d/storage_config start
ExecStop=
ExecReload=
StandardOutput=syslog+console
StandardError=syslog+console
StandardOutput=journal+console
StandardError=journal+console
RemainAfterExit=yes
[Install]