diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-06 22:52:54 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-05-06 22:52:57 +0200 |
commit | ec8ddae04be16082ac05add2496a2a8c4d90a770 (patch) | |
tree | a93e9381b8602ebcbe6d8cc95092f0912ac3d816 | |
parent | f09d24565e991ea559f9b4b62efe730a4e38d527 (diff) |
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
-rw-r--r-- | recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb | 5 | ||||
-rw-r--r-- | recipes-osmocom/openbsc/openbsc.inc | 5 |
2 files changed, 0 insertions, 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 |