meta-tlk: initial creation

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>
This commit is contained in:
Bruce Ashfield 2011-08-03 16:39:14 -04:00 committed by Saul Wold
parent f222033882
commit fb15cc4e1c
4 changed files with 19 additions and 0 deletions

6
meta-tlk/README Normal file
View File

@ -0,0 +1,6 @@
meta-autobuilder
===============
Contains recipe modifications required to produce the official
yocto autobuild BSPs.

6
meta-tlk/conf/layer.conf Normal file
View File

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

View File

@ -0,0 +1,3 @@
CONFIG_UPTIME_LIMITED_KERNEL=y
CONFIG_UPTIME_LIMIT_DURATION=14400
CONFIG_UPTIME_LIMIT_KERNEL_REBOOT=y

View File

@ -0,0 +1,4 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# enable the time limited kernel configuration options
SRC_URI += "file://time-limited-kernel.cfg"