Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Self-Hosted Image patches
@ 2012-04-17 21:46 Saul Wold
  2012-04-17 21:46 ` [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release Saul Wold
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Saul Wold @ 2012-04-17 21:46 UTC (permalink / raw)
  To: openembedded-core

Richard,

This set of changes adds the lsb_release command and 
sets the i/etc/lsb-release file up correctly for the 
release.

I also am removing the BB_NO_NETWORK from the self-hosted
image to allow it to have network, and updating the SRCREV,
which you might have to do again to get these patches actaully 
into the image.

Thanks
	Sau!

The following changes since commit 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5:

  libproxy: Allow to build in non-gplv3 configuration (2012-04-17 14:08:27 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/stage
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage

Saul Wold (3):
  lsb: Add DISTRO Info to the lsb-release
  task-self-hosted: Add LSB for distro info
  self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV

 meta/recipes-core/images/self-hosted-image.bb |    5 ++---
 meta/recipes-core/tasks/task-self-hosted.bb   |    1 +
 meta/recipes-extended/lsb/lsb_1.4.bb          |    5 +++++
 3 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.7.7.6




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
  2012-04-17 21:46 [PATCH 0/3] Self-Hosted Image patches Saul Wold
@ 2012-04-17 21:46 ` Saul Wold
  2012-04-18  6:45   ` Koen Kooi
  2012-04-17 21:46 ` [PATCH 2/3] task-self-hosted: Add LSB for distro info Saul Wold
  2012-04-17 21:46 ` [PATCH 3/3] self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV Saul Wold
  2 siblings, 1 reply; 8+ messages in thread
From: Saul Wold @ 2012-04-17 21:46 UTC (permalink / raw)
  To: openembedded-core

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
 	
 	if [ "${TARGET_ARCH}" == "i586" ];then
 		mkdir -p ${D}/etc/lsb-release.d
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/3] task-self-hosted: Add LSB for distro info
  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-17 21:46 ` 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
  2 siblings, 1 reply; 8+ messages in thread
From: Saul Wold @ 2012-04-17 21:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/tasks/task-self-hosted.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
index 5588cd3..5d4e153 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -44,6 +44,7 @@ RDEPENDS_task-self-hosted-host-tools = "\
     kernel-module-iptable-nat \
     kernel-module-iptable-mangle \
     kernel-module-iptable-filter \
+    lsb \
     mc \
     parted \
     pseudo \
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/3] self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV
  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-17 21:46 ` [PATCH 2/3] task-self-hosted: Add LSB for distro info Saul Wold
@ 2012-04-17 21:46 ` Saul Wold
  2 siblings, 0 replies; 8+ messages in thread
From: Saul Wold @ 2012-04-17 21:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/images/self-hosted-image.bb |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
index 46e7209..fbcdf4c 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-PR = "r11"
+PR = "r12"
 
 IMAGE_FEATURES += "x11-mini package-management"
 
@@ -19,7 +19,7 @@ IMAGE_FSTYPES = "vmdk"
 
 inherit core-image
 
-SRCREV = "8691a588267472eb5a32b978a0eb9ddfd0c91733"
+SRCREV = "20ff9db92165e6d16897671d2b1d370661962712"
 SRC_URI = "git://git.yoctoproject.org/poky;protocol=git"
 
 IMAGE_CMD_ext3_append () {
@@ -43,7 +43,6 @@ fakeroot do_populate_poky_src () {
 	rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_*
 
 	echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone
-	echo "BB_NO_NETWORK = \"1\"" > ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
 	echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
 	mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo
 	echo "export PSEUDO_PREFIX=/usr" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
  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
  0 siblings, 2 replies; 8+ messages in thread
From: Koen Kooi @ 2012-04-18  6:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/3] task-self-hosted: Add LSB for distro info
  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
  0 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2012-04-18  6:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 17 apr. 2012, om 23:46 heeft Saul Wold het volgende geschreven:

> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-core/tasks/task-self-hosted.bb |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
> index 5588cd3..5d4e153 100644
> --- a/meta/recipes-core/tasks/task-self-hosted.bb
> +++ b/meta/recipes-core/tasks/task-self-hosted.bb
> @@ -44,6 +44,7 @@ RDEPENDS_task-self-hosted-host-tools = "\
>     kernel-module-iptable-nat \
>     kernel-module-iptable-mangle \
>     kernel-module-iptable-filter \
> +    lsb \
>     mc \
>     parted \
>     pseudo \

MIssing PR bump


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
  2012-04-18  6:45   ` Koen Kooi
@ 2012-04-18  6:50     ` Martin Jansa
  2012-04-18 11:08     ` Richard Purdie
  1 sibling, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2012-04-18  6:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]

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@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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] lsb: Add DISTRO Info to the lsb-release
  2012-04-18  6:45   ` Koen Kooi
  2012-04-18  6:50     ` Martin Jansa
@ 2012-04-18 11:08     ` Richard Purdie
  1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-04-18 11:08 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-18 11:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox