[OE-core] [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
Martin Jansa
martin.jansa at gmail.com
Wed Apr 18 06:50:41 UTC 2012
On Wed, Apr 18, 2012 at 08:45:23AM +0200, Koen Kooi wrote:
>
> Op 17 apr. 2012, om 23:46 heeft Saul Wold het volgende geschreven:
>
> > This is needed for distro checking code in the self-hosted-image
> >
> > Signed-off-by: Saul Wold <sgw at linux.intel.com>
> > ---
> > 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 f2f25ba..e414d93 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"
> > LICENSE = "GPLv2+"
> > PR = "r2"
> >
> > +DEPENDS="util-linux"
> > +
> > LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
> >
> > SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/${PV}/lsb-release-${PV}.tar.gz \
> > @@ -31,6 +33,9 @@ do_install(){
> > echo -n "core-4.1-${TARGET_ARCH}" >> ${D}/etc/lsb-release
> > fi
> > echo "\"" >> ${D}/etc/lsb-release
> > + echo "DISTRIB_ID=${DISTRO}" >> ${D}/etc/lsb-release
> > + echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}/etc/lsb-release
> > + echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}/etc/lsb-release
>
> MIssing PR bump
And spaces around = in added DEPENDS
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120418/b9c27c82/attachment-0002.sig>
More information about the Openembedded-core
mailing list