Browse Source

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
(cherry picked from commit 7e140e8a31)
pull/1887/head
Chris Hofstaedtler 2 years ago
committed by Richard Fuchs
parent
commit
0f0e9e2d57
4 changed files with 12 additions and 8 deletions
  1. +2
    -0
      debian/control
  2. +4
    -4
      debian/ngcp-rtpengine-daemon.links
  3. +4
    -4
      debian/ngcp-rtpengine-recording-daemon.links
  4. +2
    -0
      debian/rules

+ 2
- 0
debian/control View File

@ -46,8 +46,10 @@ Build-Depends:
libxtables-dev (>= 1.4) | iptables-dev (>= 1.4),
markdown,
pandoc,
pkgconf,
python3,
python3-websockets,
systemd-dev | systemd,
zlib1g-dev,
Testsuite: autopkgtest-pkg-dkms


+ 4
- 4
debian/ngcp-rtpengine-daemon.links View File

@ -1,4 +1,4 @@
/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine-daemon.service
/lib/systemd/system/ngcp-rtpengine-daemon.service /lib/systemd/system/rtpengine.service
/lib/systemd/system/ngcp-rtpengine-daemon@.service /lib/systemd/system/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-daemon.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-daemon@.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine@.service

+ 4
- 4
debian/ngcp-rtpengine-recording-daemon.links View File

@ -1,4 +1,4 @@
/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording-daemon.service
/lib/systemd/system/ngcp-rtpengine-recording-daemon.service /lib/systemd/system/rtpengine-recording.service
/lib/systemd/system/ngcp-rtpengine-recording-daemon@.service /lib/systemd/system/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-daemon.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon.service ${env:deb_systemdsystemunitdir}/rtpengine-recording.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording-daemon@.service
${env:deb_systemdsystemunitdir}/ngcp-rtpengine-recording-daemon@.service ${env:deb_systemdsystemunitdir}/rtpengine-recording@.service

+ 2
- 0
debian/rules View File

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


Loading…
Cancel
Save