Change in meta-telephony[laforge/nightly]: osmo-iuh: handle systemd and cfg files through autotools

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Sep 15 08:02:26 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10949 )

Change subject: osmo-iuh: handle systemd and cfg files through autotools
......................................................................

osmo-iuh: handle systemd and cfg files through autotools

Change-Id: If879153a32ae21ad63284382a420da534f30e6eb
---
M recipes-osmocom/osmo-iuh/osmo-iuh.inc
1 file changed, 5 insertions(+), 8 deletions(-)

Approvals:
  Pau Espin Pedrol: Verified
  Harald Welte: Looks good to me, approved



diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
index 6dfb344..ab412ad 100644
--- a/recipes-osmocom/osmo-iuh/osmo-iuh.inc
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
@@ -5,17 +5,14 @@
 
 DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
 
-INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
 
 inherit autotools pkgconfig systemd
 
-do_install_append() {
-	install -d ${D}${systemd_system_unitdir}/
-	install -d ${D}${sysconfdir}/osmocom/
-
-	install -m 0644 ${S}/doc/examples/osmo-hnbgw.cfg ${D}${sysconfdir}/osmocom/
-	install -m 0644 ${S}/contrib/systemd/osmo-hnbgw.service ${D}${systemd_system_unitdir}/
-}
+PACKAGECONFIG ??= "\
+    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+    "
+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
 
 PACKAGES =+ "libosmo-ranap libosmo-ranap-dev osmo-hnbgw"
 SYSTEMD_PACKAGES = "osmo-hnbgw"

-- 
To view, visit https://gerrit.osmocom.org/10949
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: meta-telephony
Gerrit-Branch: laforge/nightly
Gerrit-MessageType: merged
Gerrit-Change-Id: If879153a32ae21ad63284382a420da534f30e6eb
Gerrit-Change-Number: 10949
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180915/dd3d7805/attachment.htm>


More information about the gerrit-log mailing list