Skip to contentSkip to conversation

linux-ti-staging: Add systemd related kconfig options

PATCH New Yasir-Khan 1 participant 1 message Aug 26, 2014

lore
Share & tools
lore

Yasir-Khan

author
#0 lore raw

PATCH 2/5 linux-ti-staging: Add systemd related kconfig options

Add missing kconfig options to linux-ti-staging kernel. This allows systemd to fully initialize.

---
 ...nable-config-options-for-proper-systemd-o.patch |   44 ++++++++++++++++++++
 recipes-kernel/linux/linux-ti-staging_3.12.bb      |    1 +
 2 files changed, 45 insertions(+)
 create mode 100644 recipes-kernel/linux/files/0001-omap2plus-Enable-config-options-for-proper-systemd-o.patch
recipes-kernel/linux/files/0001-omap2plus-Enable-config-options-for-proper-systemd-o.patch new file +44 -0
new file mode 100644
index 0000000..67b3366
@@ -0,0 +1,44 @@
+From 6c37a195792e838302533cfb1a1da0010bc76310 Mon Sep 17 00:00:00 2001
+From: Wade Farnsworth <[email protected]>
+Date: Mon, 21 Apr 2014 07:58:53 -0700
+Subject: [PATCH] omap2plus: Enable config options for proper systemd
+ operation
+
+CGROUPS, AUTOFS4, and FHANDLE are required for systemd to initialize
+properly.  These are missing from the omap2plus, which causes the
+boot to fail on Beaglebone and related platforms.
+
+Signed-off-by: Wade Farnsworth <[email protected]>
+---
+ arch/arm/configs/omap2plus_defconfig |    3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
+index ff579a7..d29c89c 100644
+--- a/arch/arm/configs/omap2plus_defconfig
++++ b/arch/arm/configs/omap2plus_defconfig
+@@ -1,11 +1,13 @@
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
++CONFIG_FHANDLE=y
+ CONFIG_NO_HZ=y
+ CONFIG_HIGH_RES_TIMERS=y
+ CONFIG_BSD_PROCESS_ACCT=y
+ CONFIG_IKCONFIG=y
+ CONFIG_IKCONFIG_PROC=y
+ CONFIG_LOG_BUF_SHIFT=16
++CONFIG_CGROUPS=y
+ CONFIG_BLK_DEV_INITRD=y
+ CONFIG_EXPERT=y
+ CONFIG_SLAB=y
+@@ -358,6 +360,7 @@ CONFIG_EXT3_FS=y
+ CONFIG_EXT4_FS=y
+ CONFIG_QUOTA=y
+ CONFIG_QFMT_V2=y
++CONFIG_AUTOFS4_FS=y
+ CONFIG_MSDOS_FS=y
+ CONFIG_VFAT_FS=y
+ CONFIG_TMPFS=y
+-- 
+1.7.9.5
+
recipes-kernel/linux/linux-ti-staging_3.12.bb +1 -0
index c6e7d42..d169ec5 100644
@@ -57,6 +57,7 @@ SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;bra
            file://connectivity.cfg \
            file://ipc.cfg \
            file://systest.cfg \
+           ${@base_contains('DISTRO_FEATURES', 'systemd', ' file://0001-omap2plus-Enable-config-options-for-proper-systemd-o.patch ', '', d)} \
           "
 
 # Disable SMP in defconfig on single-core platforms to reduce overhead
Signature · 1 line
1.7.9.5