All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel
@ 2011-08-21 23:15 Saul Wold
  2011-08-21 23:15 ` [PATCH 1/1] meta-tlk: initial creation Saul Wold
  2011-08-23 16:59 ` [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Darren Hart
  0 siblings, 2 replies; 5+ messages in thread
From: Saul Wold @ 2011-08-21 23:15 UTC (permalink / raw)
  To: yocto

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



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

* [PATCH 1/1] meta-tlk: initial creation
  2011-08-21 23:15 [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Saul Wold
@ 2011-08-21 23:15 ` Saul Wold
  2011-08-23 16:59 ` [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Darren Hart
  1 sibling, 0 replies; 5+ messages in thread
From: Saul Wold @ 2011-08-21 23:15 UTC (permalink / raw)
  To: yocto

From: Bruce Ashfield <bruce.ashfield@windriver.com>

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 <bruce.ashfield@windriver.com>

meta-tlk: Rename and changed to 10 day limit

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 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 0000000..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 0000000..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 0000000..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 0000000..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



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

* Re: [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel
  2011-08-21 23:15 [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Saul Wold
  2011-08-21 23:15 ` [PATCH 1/1] meta-tlk: initial creation Saul Wold
@ 2011-08-23 16:59 ` Darren Hart
  2011-08-23 17:55   ` Saul Wold
  1 sibling, 1 reply; 5+ messages in thread
From: Darren Hart @ 2011-08-23 16:59 UTC (permalink / raw)
  To: Saul Wold; +Cc: yocto



On 08/21/2011 04:15 PM, Saul Wold wrote:
> Tom, Darren:
> 
> This adds Bruce's changes to allow for a time limited kernel, the
> default is set for 10 days.

I presume we need a linux-yocto-rt_3.0.bbappend as well?

--
Darren

> 
> 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
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

* Re: [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel
  2011-08-23 16:59 ` [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Darren Hart
@ 2011-08-23 17:55   ` Saul Wold
  2011-08-23 18:10     ` Darren Hart
  0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2011-08-23 17:55 UTC (permalink / raw)
  To: Darren Hart; +Cc: yocto

On 08/23/2011 09:59 AM, Darren Hart wrote:
>
>
> On 08/21/2011 04:15 PM, Saul Wold wrote:
>> Tom, Darren:
>>
>> This adds Bruce's changes to allow for a time limited kernel, the
>> default is set for 10 days.
>
> I presume we need a linux-yocto-rt_3.0.bbappend as well?
>
Are we building and delivering RT images for the release?  If not then 
there is no need.

Sau!

> --
> Darren
>
>>
>> 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
>>
>


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

* Re: [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel
  2011-08-23 17:55   ` Saul Wold
@ 2011-08-23 18:10     ` Darren Hart
  0 siblings, 0 replies; 5+ messages in thread
From: Darren Hart @ 2011-08-23 18:10 UTC (permalink / raw)
  To: Saul Wold; +Cc: yocto



On 08/23/2011 10:55 AM, Saul Wold wrote:
> On 08/23/2011 09:59 AM, Darren Hart wrote:
>>
>>
>> On 08/21/2011 04:15 PM, Saul Wold wrote:
>>> Tom, Darren:
>>>
>>> This adds Bruce's changes to allow for a time limited kernel, the
>>> default is set for 10 days.
>>
>> I presume we need a linux-yocto-rt_3.0.bbappend as well?
>>
> Are we building and delivering RT images for the release?  If not then 
> there is no need.

Given the increased interest in preempt-rt support, I think it would
make sense to do so. It certainly adds a further burden to the release
process.

Beth?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


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

end of thread, other threads:[~2011-08-23 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21 23:15 [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Saul Wold
2011-08-21 23:15 ` [PATCH 1/1] meta-tlk: initial creation Saul Wold
2011-08-23 16:59 ` [PATCH 0/1] Add Time-Limited-Kernel Layer to meta-intel Darren Hart
2011-08-23 17:55   ` Saul Wold
2011-08-23 18:10     ` Darren Hart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.