Browse Source

MT#55283 [debian] fix links backports for buster and focal

since 7e140e8a31 buster and focal
are generating these links:

> 09:47:43 lrwxrwxrwx root/root         0 2024-07-24 07:39 ./${env:deb_systemdsystemunitdir}/rtpengine.service -> rtpengine-daemon.service
> 09:47:43 lrwxrwxrwx root/root         0 2024-07-24 07:39 ./${env:deb_systemdsystemunitdir}/rtpengine@.service -> rtpengine-daemon@.service

Change-Id: Ie0dbace10f78252c43c45d92d323a44218384348
rfuchs/gh1842
Victor Seva 1 year ago
committed by Víctor Seva
parent
commit
38fe21427d
2 changed files with 14 additions and 0 deletions
  1. +7
    -0
      pkg/deb/backports/buster
  2. +7
    -0
      pkg/deb/backports/focal

+ 7
- 0
pkg/deb/backports/buster View File

@ -23,6 +23,13 @@ sed -i -e 's/^execute_before_dh_auto_configure:/override_dh_auto_configure:/' ${
sed -i -e 's/^execute_after_dh_installsystemd:/override_dh_installsystemd:\n\tdh_installsystemd/' ${DIST}/rules
sed -i -e 's/^execute_before_dh_auto_install-indep:/override_dh_auto_install-indep:/' ${DIST}/rules
sed -i -e '/^\tgzip -9 < README.md/a\\n\tdh_auto_install' ${DIST}/rules
# fix links
sed -i -e 's#${env:deb_systemdsystemunitdir}#/lib/systemd/system/#g' \
${DIST}/rtpengine-recording-daemon.links
sed -i -e 's#${env:deb_systemdsystemunitdir}#/lib/systemd/system/#g' \
${DIST}/rtpengine-daemon.links
# Add dwz override
cat >> ${DIST}/rules <<'EOF'


+ 7
- 0
pkg/deb/backports/focal View File

@ -22,6 +22,13 @@ sed -i -e 's/debhelper-compat.*/debhelper-compat (= 12),/' ${DIST}/control
sed -i -e 's/^execute_after_dh_installsystemd:/override_dh_installsystemd:\n\tdh_installsystemd/' ${DIST}/rules
sed -i -e 's/^execute_before_dh_auto_install-indep:/override_dh_auto_install-indep:/' ${DIST}/rules
sed -i -e '/^\tgzip -9 < README.md/a\\n\tdh_auto_install' ${DIST}/rules
# fix links
sed -i -e 's#${env:deb_systemdsystemunitdir}#/lib/systemd/system/#g' \
${DIST}/rtpengine-recording-daemon.links
sed -i -e 's#${env:deb_systemdsystemunitdir}#/lib/systemd/system/#g' \
${DIST}/rtpengine-daemon.links
# Add dwz override
cat >> ${DIST}/rules <<'EOF'


Loading…
Cancel
Save