Re: [yocto] Trouble patching a package

2013-04-19 Thread Kevin Strasser
On Fri, Apr 19, 2013 at 11:04:20PM +, Saridakis, Dean (US SSA) wrote: > Seems like this ought to be pretty easy based on the docs - Not sure what > I've got wrong. I've added an append to my layer w/ > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > SRC_URI += "0001-yada-yada.patch" >

[yocto] Trouble patching a package

2013-04-19 Thread Saridakis, Dean (US SSA)
Seems like this ought to be pretty easy based on the docs - Not sure what I've got wrong. I've added an append to my layer w/ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "0001-yada-yada.patch" # Comment out while debugging #PRINC := "${@int(PRINC) + 1}" The append file is in BBFI

Re: [yocto] clarification about BSP layer names and bblayers.conf file?

2013-04-19 Thread Tom Zanussi
On Fri, 2013-04-19 at 08:37 -0400, Robert P. J. Day wrote: > from section 1.1 of BSP developers guide: > > http://www.yoctoproject.org/docs/latest/bsp-guide/bsp-guide.html#bsp-layers > > first, it's not actually *required* that a layer name start with the > prefix "meta-", is it? pretty sure it'

Re: [yocto] how strict are released BSP requirements?

2013-04-19 Thread Tom Zanussi
On Fri, 2013-04-19 at 08:19 -0400, Robert P. J. Day wrote: > (aside: currently going through yocto BSP developer's guide with my > proofreader's beanie on so be prepared for a few BSP-related questions > today. you've been warned.) > > in section on BSP requirements: > > http://www.yoctoproject

Re: [yocto] clarification about BSP layer names and bblayers.conf file?

2013-04-19 Thread Trevor Woerner
On Fri, Apr 19, 2013 at 8:37 AM, Robert P. J. Day wrote: > first, it's not actually *required* that a layer name start with the > prefix "meta-", is it? pretty sure it's not and, if it isn't, that > should be made abundantly clear. it's fine to point out that it's a > well-established convention

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Saul Wold
On 04/19/2013 07:45 AM, Paul Barker wrote: On 19 April 2013 15:39, Robert P. J. Day wrote: i think i'll just leave this to the rpi folks. :-) I'm building for raspberrypi so I'll add this to my queue of things to look at. Just another note about the netbase, for 1.4 the interfaces file

Re: [yocto] writeup on the mechanics of FILESEXTRAPATHS and bbappend files

2013-04-19 Thread William M.A. Traynor
On Wed, Apr 17, 2013 at 11:42 AM, Paul Eggleton wrote: > On Wednesday 17 April 2013 11:39:09 Robert P. J. Day wrote: >> p.s. i think one of the manuals should mention chris larson's >> "bitbake-env" utility, which i use for debugging and explanations all >> the time. > > I'd rather wait until we

Re: [yocto] libsnmp-dev in yocto built image

2013-04-19 Thread Katu Txakur
Thanks Paul, I followed these instructions https://github.com/gumstix/Gumstix-YoctoProject-Repo The recipe was in ~/yocto/poky/meta-openembedded/meta-oe/recipes-extended/net-snmp/ net-snmp_5.7.1.bb I'm using BB version 1.15.1 Distro Poky 1.2.1 Cheers 2013/4/19 Paul Eggleton > On Friday 19 Ap

Re: [yocto] libsnmp-dev in yocto built image

2013-04-19 Thread Paul Eggleton
On Friday 19 April 2013 15:44:39 Katu Txakur wrote: > I want to include net-snmp in an image that I'm building with the Yocto > project (gumstix-console-image). When I add it net-snmp-client or server to > the local.conf I get this error when bitbake is creating the rootfs. > > Processing perl-mod

Re: [yocto] Change in 'devshell' behaviour

2013-04-19 Thread Richard Purdie
On Fri, 2013-04-19 at 08:52 -0600, Gary Thomas wrote: > CAUTION!! giant security hole awaits! > > I've just discovered that recent Poky/Yocto runs 'devshell' as ROOT! > > If I run 'bitbake SOME-RECIPE -c devshell' with a somewhat older > metadata (poky rev 09359e6ec00901abfe49157f1f9730117b4d284b

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Tomas Frydrych wrote: > On 19/04/13 15:34, Robert P. J. Day wrote: > > On Fri, 19 Apr 2013, Tomas Frydrych wrote: > > > >> On 19/04/13 15:15, Robert P. J. Day wrote: > >>> i'd wonder, if you're building for a different machine, why are > >>> you including the meta-rpi layer? >

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Tomas Frydrych
On 19/04/13 15:34, Robert P. J. Day wrote: > On Fri, 19 Apr 2013, Tomas Frydrych wrote: > >> On 19/04/13 15:15, Robert P. J. Day wrote: >>> i'd wonder, if you're building for a different machine, why are >>> you including the meta-rpi layer? >> >> Because at a distro-level you often want to target

[yocto] Change in 'devshell' behaviour

2013-04-19 Thread Gary Thomas
CAUTION!! giant security hole awaits! I've just discovered that recent Poky/Yocto runs 'devshell' as ROOT! If I run 'bitbake SOME-RECIPE -c devshell' with a somewhat older metadata (poky rev 09359e6ec00901abfe49157f1f9730117b4d284b) the shell is run using my user id. With a newer poky rev 90b98

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Paul Barker
On 19 April 2013 15:39, Robert P. J. Day wrote: > > i think i'll just leave this to the rpi folks. :-) > I'm building for raspberrypi so I'll add this to my queue of things to look at. -- Paul Barker Email: p...@paulbarker.me.uk http://www.paulbarker.me.uk

[yocto] libsnmp-dev in yocto built image

2013-04-19 Thread Katu Txakur
Hi, I want to include net-snmp in an image that I'm building with the Yocto project (gumstix-console-image). When I add it net-snmp-client or server to the local.conf I get this error when bitbake is creating the rootfs. Processing perl-module-text-soundex... error: Failed dependencies: net-snm

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Martin Jansa wrote: > On Fri, Apr 19, 2013 at 10:17:10AM -0400, Robert P. J. Day wrote: > > On Fri, 19 Apr 2013, Martin Jansa wrote: > > > > > On Fri, Apr 19, 2013 at 09:35:18AM -0400, Robert P. J. Day wrote: > > > > > > > > The actual files subdirectory name is "netbase-5.0",

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Tomas Frydrych wrote: > On 19/04/13 15:15, Robert P. J. Day wrote: > > i'd wonder, if you're building for a different machine, why are > > you including the meta-rpi layer? > > Because at a distro-level you often want to target different > architectures. yes, i appreciate t

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Martin Jansa
On Fri, Apr 19, 2013 at 10:23:01AM -0400, Robert P. J. Day wrote: > On Fri, 19 Apr 2013, Tomas Frydrych wrote: > > > On 19/04/13 15:02, Burton, Ross wrote: > > > On 19 April 2013 14:49, Robert P. J. Day wrote: > > >> but in the case of the rpi, is there any value in putting the > > >> files und

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Martin Jansa
On Fri, Apr 19, 2013 at 10:17:10AM -0400, Robert P. J. Day wrote: > On Fri, 19 Apr 2013, Martin Jansa wrote: > > > On Fri, Apr 19, 2013 at 09:35:18AM -0400, Robert P. J. Day wrote: > > > > > > The actual files subdirectory name is "netbase-5.0", not "netbase". > > > > > > Signed-off-by: Robert P.

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Tomas Frydrych wrote: > On 19/04/13 15:02, Burton, Ross wrote: > > On 19 April 2013 14:49, Robert P. J. Day wrote: > >> but in the case of the rpi, is there any value in putting the > >> files under a machine-named subdirectory? of course it won't > >> hurt, but is there an

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Tomas Frydrych
On 19/04/13 15:15, Robert P. J. Day wrote: > i'd wonder, if you're building for a different machine, why are > you including the meta-rpi layer? Because at a distro-level you often want to target different architectures. > best answer i'd be able to give is that it's not essential but it > won't

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Martin Jansa wrote: > On Fri, Apr 19, 2013 at 09:35:18AM -0400, Robert P. J. Day wrote: > > > > The actual files subdirectory name is "netbase-5.0", not "netbase". > > > > Signed-off-by: Robert P. J. Day > > > > --- > > > > same fix was once applied to exactly the same reci

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Tomas Frydrych
On 19/04/13 15:02, Burton, Ross wrote: > On 19 April 2013 14:49, Robert P. J. Day wrote: >> but in the case of the rpi, is there any value in putting the files >> under a machine-named subdirectory? of course it won't hurt, but is >> there any point to it? > > You could argue the clarity that i

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Burton, Ross wrote: > On 19 April 2013 14:49, Robert P. J. Day wrote: > > but in the case of the rpi, is there any value in putting the > > files under a machine-named subdirectory? of course it won't hurt, > > but is there any point to it? > > You could argue the clarity t

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Burton, Ross
On 19 April 2013 14:49, Robert P. J. Day wrote: > but in the case of the rpi, is there any value in putting the files > under a machine-named subdirectory? of course it won't hurt, but is > there any point to it? You could argue the clarity that it will bring if another machine is added to the

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Robert P. J. Day
On Fri, 19 Apr 2013, Martin Jansa wrote: > On Fri, Apr 19, 2013 at 09:35:18AM -0400, Robert P. J. Day wrote: > > > > The actual files subdirectory name is "netbase-5.0", not "netbase". > > > > Signed-off-by: Robert P. J. Day > > > > --- > > > > same fix was once applied to exactly the same reci

Re: [yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Martin Jansa
On Fri, Apr 19, 2013 at 09:49:56AM -0400, Robert P. J. Day wrote: > > using the example i patched earlier, here's the file hierarchy for > raspberry pi's netbase recipe: > > ./netbase_5.0.bbappend > ./netbase-5.0 > ./netbase-5.0/raspberrypi > ./netbase-5.0/raspberrypi/interfaces > ./netbase-5.0

Re: [yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Martin Jansa
On Fri, Apr 19, 2013 at 09:35:18AM -0400, Robert P. J. Day wrote: > > The actual files subdirectory name is "netbase-5.0", not "netbase". > > Signed-off-by: Robert P. J. Day > > --- > > same fix was once applied to exactly the same recipe bbappend file > under meta-ti layer. > > diff --git

[yocto] any point in a single machine recipe using a machine-specific file?

2013-04-19 Thread Robert P. J. Day
using the example i patched earlier, here's the file hierarchy for raspberry pi's netbase recipe: ./netbase_5.0.bbappend ./netbase-5.0 ./netbase-5.0/raspberrypi ./netbase-5.0/raspberrypi/interfaces ./netbase-5.0/raspberrypi/hosts i understand the notion of a machine-specific subdirectory for

[yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

2013-04-19 Thread Robert P. J. Day
The actual files subdirectory name is "netbase-5.0", not "netbase". Signed-off-by: Robert P. J. Day --- same fix was once applied to exactly the same recipe bbappend file under meta-ti layer. diff --git a/recipes-core/netbase/netbase_5.0.bbappend b/recipes-core/netbase/netbase_5.0.bbappend

[yocto] clarification about BSP layer names and bblayers.conf file?

2013-04-19 Thread Robert P. J. Day
from section 1.1 of BSP developers guide: http://www.yoctoproject.org/docs/latest/bsp-guide/bsp-guide.html#bsp-layers first, it's not actually *required* that a layer name start with the prefix "meta-", is it? pretty sure it's not and, if it isn't, that should be made abundantly clear. it's f

[yocto] how strict are released BSP requirements?

2013-04-19 Thread Robert P. J. Day
(aside: currently going through yocto BSP developer's guide with my proofreader's beanie on so be prepared for a few BSP-related questions today. you've been warned.) in section on BSP requirements: http://www.yoctoproject.org/docs/latest/bsp-guide/bsp-guide.html#released-bsp-requirements t

Re: [yocto] [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored

2013-04-19 Thread Paul Eggleton
On Friday 19 April 2013 11:44:49 Elvis Dowson wrote: >In my zynq-7-default-versions.inc file, I have the following > definitions for preferred versions > > PREFERRED_VERSION_virtual/kernel ?= "3.6" > PREFERRED_VERSION_linux-libc-headers = "3.6" > PREFERRED_VERSION_u-boot = "2012.10" > > H

[yocto] [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored

2013-04-19 Thread Elvis Dowson
Hi, In my zynq-7-default-versions.inc file, I have the following definitions for preferred versions PREFERRED_VERSION_virtual/kernel ?= "3.6" PREFERRED_VERSION_linux-libc-headers = "3.6" PREFERRED_VERSION_u-boot = "2012.10" However, when I build core-image-minimal, PREFERRED_VERSION_linux