[yocto] [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR

Bruce Ashfield bruce.ashfield at windriver.com
Mon Dec 7 14:19:59 PST 2015


On 11/26/2015 02:50 AM, rongqing.li at windriver.com wrote:
> From: Roy Li <rongqing.li at windriver.com>
>
> enable Tmpfs POSIX Access Control Lists and Tmpfs extended attributes
> this will remove the error when systemd apply the ACL to tmpfs:
>
>      systemd-udevd[335]: Failed to apply ACL on /dev/dri/card0: Operation not supported
>      systemd-udevd[552]: Failed to apply ACL on /dev/adsp: Operation not supported

Sorry for the long delay on this, I thought I had replied before .. but
then found this in my inbox.

If already replied, I hope I'm consistent here.

>
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
>   ktypes/base/base.cfg | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg
> index 3b8ccd2..28a0d83 100644
> --- a/ktypes/base/base.cfg
> +++ b/ktypes/base/base.cfg
> @@ -933,6 +933,8 @@ CONFIG_PROC_FS=y
>   CONFIG_PROC_KCORE=y
>   CONFIG_SYSFS=y
>   CONFIG_TMPFS=y
> +CONFIG_TMPFS_POSIX_ACL=y
> +CONFIG_TMPFS_XATTR=y

Looking at these more closely, I think they belong in the standard
and preempt-rt kernel types, versus base.cfg.

base is used by all kernel types, regardless of init system, or other
system capabilities. I know that tiny and other derivative kernels
may not want this, so it needs to be pulled one level higher.

Bruce

>   # CONFIG_HUGETLB_PAGE is not set
>
>   #
>




More information about the yocto mailing list