diff options
Diffstat (limited to 'meta-tlk/recipes-kernel')
-rw-r--r-- | meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg | 3 | ||||
-rw-r--r-- | meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend | 4 |
2 files changed, 7 insertions, 0 deletions
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 00000000..44f4beaa --- /dev/null +++ b/meta-tlk/recipes-kernel/linux/linux-yocto/time-limited-kernel.cfg | |||
@@ -0,0 +1,3 @@ | |||
1 | CONFIG_UPTIME_LIMITED_KERNEL=y | ||
2 | CONFIG_UPTIME_LIMIT_DURATION=14400 | ||
3 | 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 00000000..58a6541c --- /dev/null +++ b/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | # enable the time limited kernel configuration options | ||
4 | SRC_URI += "file://time-limited-kernel.cfg" | ||