diff options
Diffstat (limited to 'meta/recipes-extended/lsb/lsb_4.1.bb')
-rw-r--r-- | meta/recipes-extended/lsb/lsb_4.1.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index 01368b334b..59d5bcafef 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "LSB support for OpenEmbedded" | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" | 3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" |
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | # lsb_release needs getopt | 7 | # lsb_release needs getopt |
8 | RDEPENDS_${PN} += "util-linux" | 8 | RDEPENDS_${PN} += "util-linux" |
@@ -41,6 +41,9 @@ do_install(){ | |||
41 | echo "\"" >> ${D}${sysconfdir}/lsb-release | 41 | echo "\"" >> ${D}${sysconfdir}/lsb-release |
42 | echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release | 42 | echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release |
43 | echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release | 43 | echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release |
44 | if [ -n "${DISTRO_CODENAME}" ]; then | ||
45 | echo "DISTRIB_CODENAME=${DISTRO_CODENAME}" >> ${D}${sysconfdir}/lsb-release | ||
46 | fi | ||
44 | echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release | 47 | echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release |
45 | 48 | ||
46 | if [ "${TARGET_ARCH}" = "i586" ];then | 49 | if [ "${TARGET_ARCH}" = "i586" ];then |