Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/10950
Change subject: osmo-hlr: handle systemd and cfg files through autotools ...................................................................... osmo-hlr: handle systemd and cfg files through autotools Change-Id: I1e3725c6ffef9223015df8cf76b5d5c884a76fce --- M recipes-osmocom/osmo-hlr/osmo-hlr.inc 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/50/10950/1 diff --git a/recipes-osmocom/osmo-hlr/osmo-hlr.inc b/recipes-osmocom/osmo-hlr/osmo-hlr.inc index 8f078ed..13c01f7 100644 --- a/recipes-osmocom/osmo-hlr/osmo-hlr.inc +++ b/recipes-osmocom/osmo-hlr/osmo-hlr.inc @@ -5,7 +5,7 @@ DEPENDS = "libtalloc libosmocore libosmo-abis sqlite3 sqlite3-native" -INC_PR="r1.${META_TELEPHONY_OSMO_INC}" +INC_PR="r2.${META_TELEPHONY_OSMO_INC}" inherit autotools pkgconfig systemd @@ -14,15 +14,15 @@ } do_install_append() { - install -d ${D}${systemd_system_unitdir}/ - install -d ${D}${sysconfdir}/osmocom/ install -d ${D}${localstatedir}/lib/osmocom/ - - install -m 0644 ${S}/doc/examples/osmo-hlr.cfg ${D}${sysconfdir}/osmocom/ - install -m 0644 ${S}/contrib/systemd/osmo-hlr.service ${D}${systemd_system_unitdir}/ install -m 0644 ${WORKDIR}/hlr.db ${D}${localstatedir}/lib/osmocom/hlr.db } +PACKAGECONFIG ??= "\ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + " +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" + PACKAGES =+ "libosmo-gsup-client libosmo-gsup-client-dev osmo-hlr-utils" FILES_libosmo-gsup-client = "${libdir}/libosmo-gsup-client${SOLIBS}" -- To view, visit https://gerrit.osmocom.org/10950 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: meta-telephony Gerrit-Branch: laforge/nightly Gerrit-MessageType: newchange Gerrit-Change-Id: I1e3725c6ffef9223015df8cf76b5d5c884a76fce Gerrit-Change-Number: 10950 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>