From 7bef6109927d143136afad79674dab12cf4552c8 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Thu, 25 Jan 2018 11:14:03 +0800 Subject: [PATCH] lsb: update to 5.0 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 Signed-off-by: Ross Burton --- 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 07856108b0..df4812e4bc 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.40.1