]> code.ossystems Code Review - openembedded-core.git/commitdiff
lsb: update to 5.0
authorYi Zhao <yi.zhao@windriver.com>
Thu, 25 Jan 2018 03:14:03 +0000 (11:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jan 2018 08:49:43 +0000 (08:49 +0000)
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@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/lsb/lsb_5.0.bb [moved from meta/recipes-extended/lsb/lsb_4.1.bb with 96% similarity]

similarity index 96%
rename from meta/recipes-extended/lsb/lsb_4.1.bb
rename to meta/recipes-extended/lsb/lsb_5.0.bb
index 07856108b04344311bdf5fd41d6d65e07e775c3a..df4812e4bcaf10211c940227b58dcbcf8ebfbdf3 100644 (file)
@@ -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