summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2017-04-06 09:54:58 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2017-04-20 13:51:55 (GMT)
commit220b9033abec0676c3861ae2312d4c9406de15be (patch)
tree1cecb415812ae8d801d3fa8feb998d1187cc7cd2
parent74a70b0b9d218c5008fbe8f02c24b929b63892e1 (diff)
downloadmeta-yogurt-220b9033abec0676c3861ae2312d4c9406de15be.zip
meta-yogurt-220b9033abec0676c3861ae2312d4c9406de15be.tar.bz2
barebox/kernel: Legitimize LOCALVERSION content
Instead of filling LOCALVERSION directly with DISTRO_VERSION, it will formated to an allowed package name. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox-ipl_%.bbappend2
-rw-r--r--recipes-bsp/barebox/barebox_%.bbappend2
-rw-r--r--recipes-kernel/linux/linux-common-append.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes-bsp/barebox/barebox-ipl_%.bbappend b/recipes-bsp/barebox/barebox-ipl_%.bbappend
index 94185bf..2004ae5 100644
--- a/recipes-bsp/barebox/barebox-ipl_%.bbappend
+++ b/recipes-bsp/barebox/barebox-ipl_%.bbappend
@@ -1 +1 @@
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"
diff --git a/recipes-bsp/barebox/barebox_%.bbappend b/recipes-bsp/barebox/barebox_%.bbappend
index 94185bf..2004ae5 100644
--- a/recipes-bsp/barebox/barebox_%.bbappend
+++ b/recipes-bsp/barebox/barebox_%.bbappend
@@ -1 +1 @@
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"
diff --git a/recipes-kernel/linux/linux-common-append.inc b/recipes-kernel/linux/linux-common-append.inc
index 0cfda7a..176086b 100644
--- a/recipes-kernel/linux/linux-common-append.inc
+++ b/recipes-kernel/linux/linux-common-append.inc
@@ -5,4 +5,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/features:"
SRC_URI_append = " file://mtd-tests.cfg"
KERNEL_MODULES_RDEPENDS_BLACKLIST += "${MTD_TEST_PACKAGES}"
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"