[OE-core] [PATCH 1/2] lsb: update to 5.0

Yi Zhao yi.zhao at windriver.com
Thu Jan 25 03:14:03 UTC 2018


The LSB test packages had been updated to 5.0 in lsbtest. We also need
to bump to version 5.0 for this recipe.

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 meta/recipes-extended/lsb/{lsb_4.1.bb => lsb_5.0.bb} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-extended/lsb/{lsb_4.1.bb => lsb_5.0.bb} (96%)

diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_5.0.bb
similarity index 96%
rename from meta/recipes-extended/lsb/lsb_4.1.bb
rename to meta/recipes-extended/lsb/lsb_5.0.bb
index 0785610..df4812e 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_5.0.bb
@@ -2,7 +2,6 @@ SUMMARY = "LSB support for OpenEmbedded"
 SECTION = "console/utils"
 HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
 LICENSE = "GPLv2+"
-PR = "r2"
 
 LSB_CORE = "lsb-core-${TARGET_ARCH}"
 LSB_CORE_x86 = "lsb-core-ia32"
@@ -43,12 +42,12 @@ do_install() {
 
 	mkdir -p ${D}${base_libdir}
 	mkdir -p ${D}${sysconfdir}/lsb-release.d
-	printf "LSB_VERSION=\"core-4.1-noarch:" > ${D}${sysconfdir}/lsb-release
+	printf "LSB_VERSION=\"core-5.0-noarch:" > ${D}${sysconfdir}/lsb-release
 
 	if [ "${TARGET_ARCH}" = "i586" ] || [ "${TARGET_ARCH}" = "i686" ]; then
-		printf "core-4.1-ia32" >>  ${D}${sysconfdir}/lsb-release
+		printf "core-5.0-ia32" >>  ${D}${sysconfdir}/lsb-release
 	else
-		printf "core-4.1-${TARGET_ARCH}" >>  ${D}${sysconfdir}/lsb-release
+		printf "core-5.0-${TARGET_ARCH}" >>  ${D}${sysconfdir}/lsb-release
 	fi
 	echo "\"" >> ${D}${sysconfdir}/lsb-release
 	echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release
-- 
2.7.4




More information about the Openembedded-core mailing list