summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-01-25 11:14:03 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-29 08:49:50 +0000
commit992d58074359c1f1dd3532c65e4b64c23ad57a9b (patch)
tree33d54fe62e257b9dde83a941b14e44b5c0cdc065 /meta
parent4984b60c76171f76237373b8fb37d8094004307c (diff)
downloadpoky-992d58074359c1f1dd3532c65e4b64c23ad57a9b.tar.gz
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. (From OE-Core rev: 7bef6109927d143136afad79674dab12cf4552c8) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/lsb/lsb_5.0.bb (renamed from meta/recipes-extended/lsb/lsb_4.1.bb)7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/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"
2SECTION = "console/utils" 2SECTION = "console/utils"
3HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" 3HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
4LICENSE = "GPLv2+" 4LICENSE = "GPLv2+"
5PR = "r2"
6 5
7LSB_CORE = "lsb-core-${TARGET_ARCH}" 6LSB_CORE = "lsb-core-${TARGET_ARCH}"
8LSB_CORE_x86 = "lsb-core-ia32" 7LSB_CORE_x86 = "lsb-core-ia32"
@@ -43,12 +42,12 @@ do_install() {
43 42
44 mkdir -p ${D}${base_libdir} 43 mkdir -p ${D}${base_libdir}
45 mkdir -p ${D}${sysconfdir}/lsb-release.d 44 mkdir -p ${D}${sysconfdir}/lsb-release.d
46 printf "LSB_VERSION=\"core-4.1-noarch:" > ${D}${sysconfdir}/lsb-release 45 printf "LSB_VERSION=\"core-5.0-noarch:" > ${D}${sysconfdir}/lsb-release
47 46
48 if [ "${TARGET_ARCH}" = "i586" ] || [ "${TARGET_ARCH}" = "i686" ]; then 47 if [ "${TARGET_ARCH}" = "i586" ] || [ "${TARGET_ARCH}" = "i686" ]; then
49 printf "core-4.1-ia32" >> ${D}${sysconfdir}/lsb-release 48 printf "core-5.0-ia32" >> ${D}${sysconfdir}/lsb-release
50 else 49 else
51 printf "core-4.1-${TARGET_ARCH}" >> ${D}${sysconfdir}/lsb-release 50 printf "core-5.0-${TARGET_ARCH}" >> ${D}${sysconfdir}/lsb-release
52 fi 51 fi
53 echo "\"" >> ${D}${sysconfdir}/lsb-release 52 echo "\"" >> ${D}${sysconfdir}/lsb-release
54 echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release 53 echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release