[linux-yocto] [PATCH 1/2] features: Add tmpfs-posix-acl feature fragments
California Sullivan
california.l.sullivan at intel.com
Mon Mar 21 17:02:04 PDT 2016
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.
Partial fix for [YOCTO #9269].
Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
features/tmpfs/tmpfs-posix-acl.cfg | 10 ++++++++++
features/tmpfs/tmpfs-posix-acl.scc | 4 ++++
2 files changed, 14 insertions(+)
create mode 100644 features/tmpfs/tmpfs-posix-acl.cfg
create mode 100644 features/tmpfs/tmpfs-posix-acl.scc
diff --git a/features/tmpfs/tmpfs-posix-acl.cfg b/features/tmpfs/tmpfs-posix-acl.cfg
new file mode 100644
index 0000000..b391f8a
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.cfg
@@ -0,0 +1,10 @@
+# Dependencies of the feature
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+
+# The feature we want to enable
+CONFIG_TMPFS_POSIX_ACL=y
+
+# The above selects these options automatically
+CONFIG_TMPFS_XATTR=y
+CONFIG_FS_POSIX_ACL=y
diff --git a/features/tmpfs/tmpfs-posix-acl.scc b/features/tmpfs/tmpfs-posix-acl.scc
new file mode 100644
index 0000000..062e6c4
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable ACL support for tmpfs"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware tmpfs-posix-acl.cfg
--
2.5.0
More information about the linux-yocto
mailing list