MT#55283 install files into /usr (DEP17 M2)

Use the variable from pkg-config as install location for systemd
units/links.

Change-Id: I504eea66b874f70897e8fe0e2527653d56e604c2
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060282
pull/1783/head
Chris Hofstaedtler 2 years ago committed by Richard Fuchs
parent f9d6e7b448
commit 7e140e8a31

2
debian/control vendored

@ -50,8 +50,10 @@ Build-Depends:
markdown, markdown,
ngcp-libcodec-chain-dev <pkg.ngcp-rtpengine.codec-chain>, ngcp-libcodec-chain-dev <pkg.ngcp-rtpengine.codec-chain>,
pandoc, pandoc,
pkgconf,
python3, python3,
python3-websockets, python3-websockets,
systemd-dev | systemd,
zlib1g-dev, zlib1g-dev,
Testsuite: autopkgtest-pkg-dkms Testsuite: autopkgtest-pkg-dkms

@ -1,4 +1,4 @@
/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-daemon.service
/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine.service
/lib/systemd/system/ngcp-rtpengine-daemon@.service /lib/systemd/system/rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-daemon@.service
/lib/systemd/system/ngcp-rtpengine-daemon@.service /lib/systemd/system/rtpengine@.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine@.service

@ -1,4 +1,4 @@
/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-recording-daemon.service
/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-recording.service
/lib/systemd/system/ngcp-rtpengine-recording-daemon@.service /lib/systemd/system/rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording-daemon@.service
/lib/systemd/system/ngcp-rtpengine-recording-daemon@.service /lib/systemd/system/rtpengine-recording@.service ${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording@.service

2
debian/rules vendored

@ -21,6 +21,8 @@ endif
export FIXTURES_PATH = /usr/share/rtpengine-perftest export FIXTURES_PATH = /usr/share/rtpengine-perftest
export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd)
%: %:
dh $@ dh $@

Loading…
Cancel
Save