From ec8ddae04be16082ac05add2496a2a8c4d90a770 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sun, 6 May 2018 22:52:54 +0200 Subject: recipes-osmocom: Remove manual recreation of tarball-version file The reasoning behind this manual operation in configure_prepend doesn't apply anymore. In pyro it seems configure can properly set the version, and it was seen during latest releases in upstream that having those manually is counterproductive, because then outdated versions are used. Change-Id: I0c1ad67224cde2f3a25c6fe945509586ec84de0c --- recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb | 5 ----- recipes-osmocom/openbsc/openbsc.inc | 5 ----- 2 files changed, 10 deletions(-) diff --git a/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb index 23ee6b7..b353acb 100644 --- a/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb +++ b/recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb @@ -14,11 +14,6 @@ PACKAGES =+ "osmo-stp" SYSTEMD_PACKAGES = "osmo-stp" SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service" -# because "${WORKDIR}/git" is not a git repo, it can't figure out the version -do_configure_prepend() { - echo "${PV}" > ${S}/.tarball-version -} - do_install_append() { install -d ${D}${systemd_system_unitdir}/ install -d ${D}${sysconfdir}/osmocom/ diff --git a/recipes-osmocom/openbsc/openbsc.inc b/recipes-osmocom/openbsc/openbsc.inc index ba0d75c..5e4b10d 100644 --- a/recipes-osmocom/openbsc/openbsc.inc +++ b/recipes-osmocom/openbsc/openbsc.inc @@ -18,11 +18,6 @@ EXTRA_OECONF += "--enable-osmo-bsc --enable-smpp --enable-mgcp-transcoding --wit inherit autotools update-rc.d pkgconfig -# because "${WORKDIR}/git" is not a git repo, it can't figure out the version -do_configure_prepend() { - echo "${PV}" > ${S}/.tarball-version -} - do_install_append() { install -d ${D}${sysconfdir}/osmocom install -m 0660 ${S}/doc/examples/osmo-nitb/nanobts/openbsc.cfg ${D}${sysconfdir}/osmocom/osmo-nitb.cfg -- cgit v1.2.3