summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2015-10-30 11:11:07 +0100
committerYannick Gicquel <yannick.gicquel@iot.bzh>2015-10-30 11:12:01 +0100
commiteced0da1d9b2848f53429e8333dce22cbae29a6a (patch)
tree2333d710bdd4dec164a379ab280945282c053ebc
parent5ff0ac9f1dcafc8b6c478519ddf8561162dc1bce (diff)
kernel: activate kernel feature for systemd
IPv6 and autofs4 are required by systemd. Schedstats are required by systemd-bootchartd. (...) systemd[1]: Your kernel apparently lacks built-in autofs4 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='autofs4' systemd[1]: Failed to insert module 'autofs4' systemd[1]: Your kernel apparently lacks built-in ipv6 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='ipv6' systemd[1]: Failed to insert module 'ipv6' (...) Change-Id: Ieb53a0f6ae21f5787854d045fb7ca4c5c6e4d17f Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux.inc b/meta-rcar-gen2/recipes-kernel/linux/linux.inc
index 5d595d1..68ab620 100644
--- a/meta-rcar-gen2/recipes-kernel/linux/linux.inc
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux.inc
@@ -134,6 +134,11 @@ do_configure_prepend() {
kernel_configure_variable FRAMEBUFFER_CONSOLE n
kernel_configure_variable LOGO n
+ # systemd requires following
+ kernel_configure_variable AUTOFS4_FS y
+ kernel_configure_variable IPV6 y
+ kernel_configure_variable SCHEDSTATS y
+
# Keep this the last line
# Remove all modified configs and add the rest to .config
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'