debian: add rules for open-vault-agent

This commit is contained in:
Paul Stemmet 2024-04-20 13:21:13 +00:00
parent 35743e405a
commit 47303383c4
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 2 additions and 0 deletions

2
debian/rules vendored
View File

@ -56,6 +56,7 @@ override_dh_auto_configure:
mv $(SRCDIR)/$(PKGNAME).service $(SRCDIR)/$(PKGNAME).$(PKGALIAS).service
mv $(SRCDIR)/$(PKGNAME).default $(SRCDIR)/$(PKGNAME).$(PKGALIAS).default
mv $(SRCDIR)/$(PKGNAME).sysusers $(SRCDIR)/$(PKGNAME).$(PKGALIAS).sysusers
mv $(SRCDIR)/$(PKGNAME)-agent@.service $(SRCDIR)/$(PKGNAME)-agent.$(PKGALIAS)-agent@.service
yarnpkg config set cacheFolder $(YARNCACHE)
( cd "ui" && yarnpkg install )
go mod download
@ -78,6 +79,7 @@ override_dh_auto_test:
override_dh_installsystemd:
dh_installsystemd --name=$(PKGALIAS)
dh_installsystemd --name=$(PKGALIAS)-agent@
override_dh_installinit:
dh_installinit --name=$(PKGALIAS)