diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/lsb/lsb_1.4.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsb_1.4.bb b/meta/recipes-extended/lsb/lsb_1.4.bb index f2f25ba639..e414d93260 100644 --- a/meta/recipes-extended/lsb/lsb_1.4.bb +++ b/meta/recipes-extended/lsb/lsb_1.4.bb | |||
@@ -4,6 +4,8 @@ HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" | |||
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | PR = "r2" | 5 | PR = "r2" |
6 | 6 | ||
7 | DEPENDS="util-linux" | ||
8 | |||
7 | LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf" | 9 | LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf" |
8 | 10 | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/${PV}/lsb-release-${PV}.tar.gz \ | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/${PV}/lsb-release-${PV}.tar.gz \ |
@@ -31,6 +33,9 @@ do_install(){ | |||
31 | echo -n "core-4.1-${TARGET_ARCH}" >> ${D}/etc/lsb-release | 33 | echo -n "core-4.1-${TARGET_ARCH}" >> ${D}/etc/lsb-release |
32 | fi | 34 | fi |
33 | echo "\"" >> ${D}/etc/lsb-release | 35 | echo "\"" >> ${D}/etc/lsb-release |
36 | echo "DISTRIB_ID=${DISTRO}" >> ${D}/etc/lsb-release | ||
37 | echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}/etc/lsb-release | ||
38 | echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}/etc/lsb-release | ||
34 | 39 | ||
35 | if [ "${TARGET_ARCH}" == "i586" ];then | 40 | if [ "${TARGET_ARCH}" == "i586" ];then |
36 | mkdir -p ${D}/etc/lsb-release.d | 41 | mkdir -p ${D}/etc/lsb-release.d |