Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
Date: Wed, 18 Apr 2012 12:08:59 +0100	[thread overview]
Message-ID: <1334747339.24091.57.camel@ted> (raw)
In-Reply-To: <C5C354B5-E296-435A-AF64-2E23D3BBCF15@dominion.thruhere.net>

On Wed, 2012-04-18 at 08:45 +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@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

I've added one and fixes some other problems I noticed whilst testing
it :(.

Cheers,

Richard




  parent reply	other threads:[~2012-04-18 11:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 21:46 [PATCH 0/3] Self-Hosted Image patches Saul Wold
2012-04-17 21:46 ` [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release Saul Wold
2012-04-18  6:45   ` Koen Kooi
2012-04-18  6:50     ` Martin Jansa
2012-04-18 11:08     ` Richard Purdie [this message]
2012-04-17 21:46 ` [PATCH 2/3] task-self-hosted: Add LSB for distro info Saul Wold
2012-04-18  6:45   ` Koen Kooi
2012-04-17 21:46 ` [PATCH 3/3] self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334747339.24091.57.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox