From 81c06ffcc7bdefd328a61eb103909c3fe32b7c2f Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 9 Jul 2012 23:53:37 +0300 Subject: linux.inc: Activate CONFIG_LEGACY_PTYS needed for bootlogd Activate this to have /dev/ptmx before init script for bootlogd. [GITHUB #27] Signed-off-by: Andrei Gherzan --- recipes-kernel/linux/linux.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc index 02f7cef..6c26c24 100755 --- a/recipes-kernel/linux/linux.inc +++ b/recipes-kernel/linux/linux.inc @@ -217,6 +217,12 @@ do_configure_prepend() { echo "CONFIG_CMDLINE=\"${CMDLINE_NFSROOT_USB}\"" >> ${S}/.config fi yes '' | oe_runmake oldconfig + + # + # Activate CONFIG_LEGACY_PTYS + # + sed -e '/CONFIG_LEGACY_PTYS/d' -i ${S}/.config + echo "CONFIG_LEGACY_PTYS=y" >> ${S}/.config } do_configure_append() { -- cgit v1.2.3-54-g00ecf