This changeset enables the necessary features for AGL in the linux-ti-staging kernel
by using configuration fragments. These are additive to the configuration matrix
done by linux-ti-staging itself (per board).
Apply likewise for other needed options.
Change-Id: Iebd212ca81f1c6a7f65f1f413f2021aa11f8190e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
--- /dev/null
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_NBD=y
--- /dev/null
+CONFIG_DEFAULT_SECURITY="smack"
+CONFIG_DEFAULT_SECURITY_SMACK=y
--- /dev/null
+CONFIG_IP_NF_SECURITY=m
+CONFIG_IP6_NF_SECURITY=m
+CONFIG_EXT2_FS_SECURITY=y
+CONFIG_EXT3_FS_SECURITY=y
+CONFIG_EXT4_FS_SECURITY=y
+CONFIG_SECURITY=y
+CONFIG_SECURITY_SMACK=y
+CONFIG_TMPFS_XATTR=y
--- /dev/null
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI_append = " file://ramblock_nbd.cfg"
+SRC_URI_append = " file://smack.cfg"
+SRC_URI_append = " file://smack-default-lsm.cfg"
+
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/ramblock_nbd.cfg ${WORKDIR}/smack.cfg ${WORKDIR}/smack-default-lsm.cfg"