From 4fae85907eb31de6f875ec35b9cf9f33c2617881 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 13 Jun 2017 15:02:57 +0200 Subject: [PATCH] osmo-hlr: Don't build tests as they require python3 --- ...sts-because-python3-is-not-available.patch | 26 +++++++++++++++++++ recipes-osmocom/osmo-hlr/osmo-hlr_git.bb | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 recipes-osmocom/osmo-hlr/osmo-hlr/0001-Disable-tests-because-python3-is-not-available.patch diff --git a/recipes-osmocom/osmo-hlr/osmo-hlr/0001-Disable-tests-because-python3-is-not-available.patch b/recipes-osmocom/osmo-hlr/osmo-hlr/0001-Disable-tests-because-python3-is-not-available.patch new file mode 100644 index 0000000000..13a425de4a --- /dev/null +++ b/recipes-osmocom/osmo-hlr/osmo-hlr/0001-Disable-tests-because-python3-is-not-available.patch @@ -0,0 +1,26 @@ +From b5691871e1b6754c85d616341bfe4a9deb6ecbc7 Mon Sep 17 00:00:00 2001 +Message-Id: +From: Daniel Willmann +Date: Tue, 13 Jun 2017 11:52:39 +0200 +Subject: [PATCH 1/1] Disable tests because python3 is not available + +Change-Id: Id6a1e483781d95578d6026fdfb39b24acfc89224 +--- + Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 0d60cee..40dad90 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -3,7 +3,6 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 + SUBDIRS = \ + src \ + sql \ +- tests \ + $(NULL) + + EXTRA_DIST = \ +-- +2.1.4 + diff --git a/recipes-osmocom/osmo-hlr/osmo-hlr_git.bb b/recipes-osmocom/osmo-hlr/osmo-hlr_git.bb index b90d8443ff..53e2c5fecf 100644 --- a/recipes-osmocom/osmo-hlr/osmo-hlr_git.bb +++ b/recipes-osmocom/osmo-hlr/osmo-hlr_git.bb @@ -5,6 +5,7 @@ PRINC = "0" PR = "${INC_PR}.1" SRCREV = "63b7e86dcf552fb04eab8337c930ced6c970b3c8" -SRC_URI += "git://git.osmocom.org/osmo-hlr.git;protocol=git" +SRC_URI += "git://git.osmocom.org/osmo-hlr.git;protocol=git\ + file://0001-Disable-tests-because-python3-is-not-available.patch" S = "${WORKDIR}/git/"