Re: [yocto] Build fails moving from 4.0.1 to 5.0.1

2011-08-21 Thread Chris Tapp

On 19 Aug 2011, at 22:22, Richard Purdie wrote:


On Fri, 2011-08-19 at 21:58 +0100, Chris Tapp wrote:

On 19 Aug 2011, at 21:49, Richard Purdie wrote:


On Fri, 2011-08-19 at 20:43 +0100, Chris Tapp wrote:

On 19 Aug 2011, at 17:16, Richard Purdie wrote:


On Fri, 2011-08-19 at 08:29 +0100, Chris Tapp wrote:

I've got a configuration that builds ok under 4.0.1, but when I
build
under 5.0.1 I get the following right at the end:

Installing task-poky-boot (1.0-r7) to root...
Downloading file:/home/chris/yocto/ebox3300-build/tmp/deploy/ipk/
Vortex86DX/task-poky-boot_1.0-r7_Vortex86DX.ipk.
Installing task-sjs (1.0-r0) to root...
Downloading file:/home/chris/yocto/ebox3300-build/tmp/deploy/ipk/
Vortex86DX/task-sjs_1.0-r0_Vortex86DX.ipk.
Unknown package 'run-postinsts'.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following
dependencies for task-poky-boot:
* 	tinylogin * 	busybox * 	modutils-initscripts * 	initscripts  
* 	

console-tools * initscripts *   udev *  sysvinit *  netbase *   
base-
passwd *
* opkg_install_cmd: Cannot install package task-poky-boot.
* satisfy_dependencies_for: Cannot satisfy the following
dependencies for task-sjs:
*   yocto-wallboard *   psplash *   syslinux *
* opkg_install_cmd: Cannot install package task-sjs.
* opkg_install_cmd: Cannot install package run-postinsts.
ERROR: Function 'do_rootfs' failed (see ...

If I look in tmp/work, it looks as if the missing dependencies  
have

all been built and packaged within their work areas.

I tried cleaning and rebuilding 'task-sjs', but that made no
difference to the errors reported against it.

Where should I start looking to work out what's going wrong here?
Is
it as simple as needing to add something like RDEPENDS?


This sounds like the machine specific packages are failing to be
found
so it sounds like a package feed issue. Is sounds like  
PACKAGE_ARCHS

isn't listing everything it needs to (such as the machine name) or
the
package system isn't finding a group of packages for some other
reason.


Thanks, but that's way over my head at the moment ;-)

I've searched through the meta data for PACKAGE_ARCHS, but that's  
not

thrown anything up to make me think there was anything I should
look at.

I'm using my own machine recipe. Is this were I should be looking?


Yes, I suspect something about your machine config is resulting in
this
but its hard to me to say what.

You can do things like "bitbake -e | grep ^PACKAGE_ARCHS" to see the
contents of variables. I'm curious if your machine name is listed in
that list.


chris@ubuntu:~/yocto/ebox3300-build$ bitbake -e |grep "PACKAGE_ARCHS"

# PACKAGE_ARCHS=all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}
PACKAGE_ARCHS="all any noarch x86 Vortex86DX"
ipkg_archs = bb.data.getVar('PACKAGE_ARCHS',d)
bb.error("PACKAGE_ARCHS missing")

My machine is "Vortex86DX"


What does "ls /home/chris/yocto/ebox3300-build/tmp/deploy/ipk" say?



drwxr-xr-x 2 chris chris   4096 2011-08-19 21:12 all
drwxr-xr-x 2 chris chris 143360 2011-08-19 21:12 i586
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages.filelist
-rwxr--r-- 1 chris chris  0 2011-08-19 03:19 Packages.flock
-rwxr--r-- 1 chris chris 20 2011-08-19 21:12 Packages.gz
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages.stamps
drwxr-xr-x 2 chris chris   4096 2011-08-19 21:12 Vortex86DX

Chris

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Build fails moving from 4.0.1 to 5.0.1

2011-08-21 Thread Chris Tapp

On 21 Aug 2011, at 10:19, Chris Tapp wrote:


What does "ls /home/chris/yocto/ebox3300-build/tmp/deploy/ipk" say?



drwxr-xr-x 2 chris chris   4096 2011-08-19 21:12 all
drwxr-xr-x 2 chris chris 143360 2011-08-19 21:12 i586
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages.filelist
-rwxr--r-- 1 chris chris  0 2011-08-19 03:19 Packages.flock
-rwxr--r-- 1 chris chris 20 2011-08-19 21:12 Packages.gz
-rw-r--r-- 1 chris chris  0 2011-08-19 21:12 Packages.stamps
drwxr-xr-x 2 chris chris   4096 2011-08-19 21:12 Vortex86DX



I don't know if it helps, but all the missing dependencies have .ipk  
files in the i586 directory shown above.


Chris Tapp

opensou...@keylevel.com
www.keylevel.com



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto weekly bug trend charts -- WW34

2011-08-21 Thread Xu, Jiajun
Hi all,
The overall open bug trend goes down last week. The new-submit vs. 
fixed bug is 20 vs. 33. Open bug number decreased to 146. WDD number decreased 
to 739. Bug status of WW34 could be found on 
https://wiki.yoctoproject.org/wiki/Yocto_Bug_Trend.

Best Regards,
Jiajun
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 1/9] meta-crownbay: switch to linux-yocto 3.0 kernel

2011-08-21 Thread Tom Zanussi
On Sat, 2011-08-20 at 20:26 -0700, Bruce Ashfield wrote:
> On 11-08-20 11:26 AM, tom.zanu...@intel.com wrote:
> > From: Tom Zanussi
> >
> > Switch crownbay and crownbay-noemgd to the 3.0 kernel, lock it down,
> > and update kernel SRCREVs.
> >
> > Signed-off-by: Tom Zanussi
> > ---
> >   meta-crownbay/conf/machine/crownbay-noemgd.conf|2 ++
> >   meta-crownbay/conf/machine/crownbay.conf   |2 ++
> >   .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   15 +++
> >   3 files changed, 19 insertions(+), 0 deletions(-)
> >   create mode 100644 
> > meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
> >
> > diff --git a/meta-crownbay/conf/machine/crownbay-noemgd.conf 
> > b/meta-crownbay/conf/machine/crownbay-noemgd.conf
> > index 0219bd1..0a82b54 100644
> > --- a/meta-crownbay/conf/machine/crownbay-noemgd.conf
> > +++ b/meta-crownbay/conf/machine/crownbay-noemgd.conf
> > @@ -12,6 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost 
> > ext2 ext3 x86 \
> >   KERNEL_IMAGETYPE = "bzImage"
> >
> >   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> > +PREFERRED_VERSION_linux-yocto = "3.0+git%"
> 
> Did you want to make all these:
> 
> PREFERRED_VERSION_linux-yocto = "3.0%"
> 
> Since that will match 3.0.1, 3.0.2 ... etc. That's what I changed
> the other machines to, and was the outcome of the version number
> discussion on the oe-core list.
> 

Yeah, I updated the others yesterday and will do the same for these when
I respin the patchset again...

Thanks for reminding me,

Tom

> Cheers,
> 
> Bruce
> 
> > +
> >   PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
> >   PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
> >   PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
> > diff --git a/meta-crownbay/conf/machine/crownbay.conf 
> > b/meta-crownbay/conf/machine/crownbay.conf
> > index 323c8c1..b4ea4b4 100644
> > --- a/meta-crownbay/conf/machine/crownbay.conf
> > +++ b/meta-crownbay/conf/machine/crownbay.conf
> > @@ -12,6 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost 
> > ext2 ext3 x86 \
> >   KERNEL_IMAGETYPE = "bzImage"
> >
> >   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> > +PREFERRED_VERSION_linux-yocto = "3.0+git%"
> > +
> >   PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
> >   PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
> >   PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
> > diff --git a/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend 
> > b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
> > new file mode 100644
> > index 000..c9aef72
> > --- /dev/null
> > +++ b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
> > @@ -0,0 +1,15 @@
> > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > +
> > +COMPATIBLE_MACHINE_crownbay = "crownbay"
> > +KMACHINE_crownbay  = "yocto/standard/crownbay"
> > +KERNEL_FEATURES_append_crownbay += " cfg/smp.scc"
> > +
> > +COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
> > +KMACHINE_crownbay-noemgd  = "yocto/standard/crownbay"
> > +KERNEL_FEATURES_append_crownbay-noemgd += " cfg/smp.scc"
> > +
> > +SRCREV_machine_pn-linux-yocto_crownbay ?= 
> > "9a259cf4f6d404db2820642df755a295bbfb7fe7"
> > +SRCREV_meta_pn-linux-yocto_crownbay ?= 
> > "fe8eac15e144a35a716cd32c9d2b296ecd5202ac"
> > +
> > +SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= 
> > "9a259cf4f6d404db2820642df755a295bbfb7fe7"
> > +SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= 
> > "fe8eac15e144a35a716cd32c9d2b296ecd5202ac"
> 


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/2] meta-intel: kernel 3.0 PREFERRED_VERSION and SRCREV updates

2011-08-21 Thread tom . zanussi
From: Tom Zanussi 

This updates the PREFERRED_VERSION to use a broader wildcard,
and updates the SRCREVs while we're at it.

The following changes since commit 5c41b9b6a245664543e6ddd440d10a0696caaf7b:
  Darren Hart (1):
n450: decouple from meta-yocto atom-pc machine config

are available in the git repository at:

  git://git.yoctoproject.org/meta-intel.git tzanussi/3.0-preferred-upate
  
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/3.0-preferred-upate

Tom Zanussi (2):
  meta-intel: change PREFERRED_VERSIONs
  meta-intel: update SRCREVs

 meta-fishriver/conf/machine/fishriver.conf |3 ++-
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 meta-fri2/conf/machine/fri2.conf   |2 +-
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 meta-jasperforest/conf/machine/jasperforest.conf   |4 ++--
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 meta-sugarbay/conf/machine/sugarbay.conf   |4 ++--
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 8 files changed, 15 insertions(+), 14 deletions(-)

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/2] meta-intel: change PREFERRED_VERSIONs

2011-08-21 Thread tom . zanussi
From: Tom Zanussi 

Change PREFERRED_VERSION_linux-yocto to a form that will pick up the
new numbering scheme.

Signed-off-by: Tom Zanussi 
---
 meta-fishriver/conf/machine/fishriver.conf   |3 ++-
 meta-fri2/conf/machine/fri2.conf |2 +-
 meta-jasperforest/conf/machine/jasperforest.conf |4 ++--
 meta-sugarbay/conf/machine/sugarbay.conf |4 ++--
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/meta-fishriver/conf/machine/fishriver.conf 
b/meta-fishriver/conf/machine/fishriver.conf
index 70dcc2f..0cee5d0 100644
--- a/meta-fishriver/conf/machine/fishriver.conf
+++ b/meta-fishriver/conf/machine/fishriver.conf
@@ -12,7 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 
ext3 x86 \
 KERNEL_IMAGETYPE = "bzImage"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "3.0+git%"
+PREFERRED_VERSION_linux-yocto ?= "3.0%"
+
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
 PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
diff --git a/meta-fri2/conf/machine/fri2.conf b/meta-fri2/conf/machine/fri2.conf
index fea43a2..a871529 100644
--- a/meta-fri2/conf/machine/fri2.conf
+++ b/meta-fri2/conf/machine/fri2.conf
@@ -12,7 +12,7 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 
ext3 x86 \
 KERNEL_IMAGETYPE = "bzImage"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "3.0+git%"
+PREFERRED_VERSION_linux-yocto ?= "3.0%"
 
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
diff --git a/meta-jasperforest/conf/machine/jasperforest.conf 
b/meta-jasperforest/conf/machine/jasperforest.conf
index 6c44fe5..3013fe4 100644
--- a/meta-jasperforest/conf/machine/jasperforest.conf
+++ b/meta-jasperforest/conf/machine/jasperforest.conf
@@ -12,9 +12,9 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 
ext3 x86 \
 KERNEL_IMAGETYPE = "bzImage"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "3.0+git%"
-PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
+PREFERRED_VERSION_linux-yocto ?= "3.0%"
 
+PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
 PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
diff --git a/meta-sugarbay/conf/machine/sugarbay.conf 
b/meta-sugarbay/conf/machine/sugarbay.conf
index a6f6ddf..ea8d98a 100644
--- a/meta-sugarbay/conf/machine/sugarbay.conf
+++ b/meta-sugarbay/conf/machine/sugarbay.conf
@@ -12,9 +12,9 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 
ext3 x86 \
 KERNEL_IMAGETYPE = "bzImage"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto = "3.0+git%"
-PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
+PREFERRED_VERSION_linux-yocto = "3.0%"
 
+PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
 PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite"
-- 
1.7.0.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 2/2] meta-intel: update SRCREVs

2011-08-21 Thread tom . zanussi
From: Tom Zanussi 

Update linux-yocto_3.0 kernel SRCREVS for fishriver, fri2,
jasperforest, and sugarbay.

Signed-off-by: Tom Zanussi 
---
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/meta-fishriver/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-fishriver/recipes-kernel/linux/linux-yocto_3.0.bbappend
index 7e40fb1..1d1c0b6 100644
--- a/meta-fishriver/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-fishriver/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -2,5 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_fishriver = "fishriver"
 KMACHINE_fishriver  = "yocto/standard/fishriver"
 
-SRCREV_machine_pn-linux-yocto_fishriver ?= 
"5c13f6d2e5d49d3cddd57619efb0c615074f6aae"
-SRCREV_meta_pn-linux-yocto_fishriver ?= 
"9da70812ecddee0f7eeb11675f29497cb997275e"
+SRCREV_machine_pn-linux-yocto_fishriver ?= 
"5746120ee0afefd1e28400bea4b74f285bd5e59a"
+SRCREV_meta_pn-linux-yocto_fishriver ?= 
"d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
diff --git a/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
index 98c056f..739e799 100644
--- a/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-fri2/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -2,5 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_fri2 = "fri2"
 KMACHINE_fri2  = "yocto/standard/fri2"
 
-SRCREV_machine_pn-linux-yocto_fri2 ?= 
"9ebb9cf2527250fceee7ccd9c6d3e01c00724bf9"
-SRCREV_meta_pn-linux-yocto_fri2 ?= "9da70812ecddee0f7eeb11675f29497cb997275e"
+SRCREV_machine_pn-linux-yocto_fri2 ?= 
"493b09ef2c7124f977421a40955750743a5293d3"
+SRCREV_meta_pn-linux-yocto_fri2 ?= "d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
diff --git a/meta-jasperforest/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-jasperforest/recipes-kernel/linux/linux-yocto_3.0.bbappend
index d351b37..715d30d 100644
--- a/meta-jasperforest/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-jasperforest/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -4,5 +4,5 @@ COMPATIBLE_MACHINE_jasperforest = "jasperforest"
 
 KMACHINE_jasperforest  = "yocto/standard/common-pc-64/jasperforest"
 
-SRCREV_machine_pn-linux-yocto_jasperforest ?= 
"48f6aaacf668d06aa9aba82501f31b3eff08df8d"
-SRCREV_meta_pn-linux-yocto_jasperforest ?= 
"9da70812ecddee0f7eeb11675f29497cb997275e"
+SRCREV_machine_pn-linux-yocto_jasperforest ?= 
"bc7f933525ebc267cc8d9a66ce03626bbe14537b"
+SRCREV_meta_pn-linux-yocto_jasperforest ?= 
"d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
diff --git a/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
index 52920f6..b8c2da3 100644
--- a/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-sugarbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -3,5 +3,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 COMPATIBLE_MACHINE_sugarbay = "sugarbay"
 KMACHINE_sugarbay  = "yocto/standard/common-pc-64/sugarbay"
 
-SRCREV_machine_pn-linux-yocto_sugarbay ?= 
"b0430dab0b3af4a12fe057cecc63ce98f9419ce1"
-SRCREV_meta_pn-linux-yocto_sugarbay ?= 
"9da70812ecddee0f7eeb11675f29497cb997275e"
+SRCREV_machine_pn-linux-yocto_sugarbay ?= 
"6f4f262873ffe7d4bde8f974af1c62fbfc07f17f"
+SRCREV_meta_pn-linux-yocto_sugarbay ?= 
"d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
-- 
1.7.0.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel

2011-08-21 Thread Saul Wold
Tom, Darren:

This adds Bruce's changes to allow for a time limited kernel, the
default is set for 10 days.

This layer will only be added to the meta-intel BSP on the Auto-builder.

Sau!


The following changes since commit 5c41b9b6a245664543e6ddd440d10a0696caaf7b:

  n450: decouple from meta-yocto atom-pc machine config (2011-08-19 14:22:21 
-0700)

are available in the git repository at:
  git://git.yoctoproject.org/meta-intel sgw/tlk
  http://git.yoctoproject.org/cgit.cgi/meta-intel/log/?h=sgw/tlk

Bruce Ashfield (1):
  meta-tlk: initial creation

 meta-tlk/README|6 ++
 meta-tlk/conf/layer.conf   |6 ++
 .../linux/linux-yocto/time-limited-kernel.cfg  |3 +++
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 
 4 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 meta-tlk/README
 create mode 100644 meta-tlk/conf/layer.conf
 create mode 100644 
meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg
 create mode 100644 meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend

-- 
1.7.6

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] meta-tlk: initial creation

2011-08-21 Thread Saul Wold
From: Bruce Ashfield 

Call this layer whatever you want, but when enabled it turns on BSP 
configuration
items specific to autobuild/official binary images. Once this is enabled the 
uptime
of any BSP will be limted to the value in the .cfg. It is currently at 2 minutes
as an example, but it should be extended to a number of days going forward.

Signed-off-by: Bruce Ashfield 

meta-tlk: Rename and changed to 10 day limit

Signed-off-by: Saul Wold 
---
 meta-tlk/README|6 ++
 meta-tlk/conf/layer.conf   |6 ++
 .../linux/linux-yocto/time-limited-kernel.cfg  |3 +++
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |4 
 4 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 meta-tlk/README
 create mode 100644 meta-tlk/conf/layer.conf
 create mode 100644 
meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg
 create mode 100644 meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend

diff --git a/meta-tlk/README b/meta-tlk/README
new file mode 100644
index 000..5ff4d3b
--- /dev/null
+++ b/meta-tlk/README
@@ -0,0 +1,6 @@
+meta-autobuilder
+===
+
+Contains recipe modifications required to produce the official 
+yocto autobuild BSPs.
+
diff --git a/meta-tlk/conf/layer.conf b/meta-tlk/conf/layer.conf
new file mode 100644
index 000..9af646f
--- /dev/null
+++ b/meta-tlk/conf/layer.conf
@@ -0,0 +1,6 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# We have a packages directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+   ${LAYERDIR}/recipes-*/*/*.bbappend"
diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg 
b/meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg
new file mode 100644
index 000..44f4bea
--- /dev/null
+++ b/meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg
@@ -0,0 +1,3 @@
+CONFIG_UPTIME_LIMITED_KERNEL=y
+CONFIG_UPTIME_LIMIT_DURATION=14400
+CONFIG_UPTIME_LIMIT_KERNEL_REBOOT=y
diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend 
b/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend
new file mode 100644
index 000..58a6541
--- /dev/null
+++ b/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# enable the time limited kernel configuration options
+SRC_URI += "file://time-limited-kernel.cfg"
-- 
1.7.6

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto