diff options
author | Daniel Schultz <d.schultz@phytec.de> | 2017-04-06 11:54:58 +0200 |
---|---|---|
committer | Stefan Müller-Klieser <s.mueller-klieser@phytec.de> | 2017-04-20 15:51:55 +0200 |
commit | 220b9033abec0676c3861ae2312d4c9406de15be (patch) | |
tree | 1cecb415812ae8d801d3fa8feb998d1187cc7cd2 | |
parent | 74a70b0b9d218c5008fbe8f02c24b929b63892e1 (diff) | |
download | meta-yogurt-220b9033abec0676c3861ae2312d4c9406de15be.tar.bz2 meta-yogurt-220b9033abec0676c3861ae2312d4c9406de15be.zip |
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_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-bsp/barebox/barebox_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-common-append.inc | 2 |
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))}" |