On 6/27/24 14:23, Chen, Qi wrote:
Just one question: the testcase's name looks like it's supposed to be run on 
some NFS. Does it?

Yes, It's designed for nfs root with acl support. But the cases are mainly some basic setting like set the file access control lists(setfacl) or get file access control lists(getfacl) which should also works with local root as my understanding.

Thanks,


Regards,
Qi

-----Original Message-----
From: [email protected] 
<[email protected]> On Behalf Of Yu, Mingli via 
lists.openembedded.org
Sent: Thursday, June 27, 2024 2:18 PM
To: [email protected]
Subject: [OE-core] [PATCH] acl: Add attr to RDEPENDS:${PN}-ptest

From: Mingli Yu <[email protected]>

* Add attr which provides getfattr to RDEPENDS:${PN}-ptest to fix below 
test/nfs/nfsacl failure.
   [19] $ getfattr -m- test/sub -- failed\n'
         'Can\'t exec "getfattr": Nosuch file or directory at ./test/run line '
         369, <TEST_FILE> line 24. != # file: test/sub\n'
         'getfattr: No such file or directory   != system.posix_acl_access\n'
         '~                                 != system.posix_acl_default\n'
         '~

Signed-off-by: Mingli Yu <[email protected]>
---
  meta/recipes-support/attr/acl_2.3.2.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/attr/acl_2.3.2.bb 
b/meta/recipes-support/attr/acl_2.3.2.bb
index ee86ce2cae..5ac085c322 100644
--- a/meta/recipes-support/attr/acl_2.3.2.bb
+++ b/meta/recipes-support/attr/acl_2.3.2.bb
@@ -68,6 +68,7 @@ do_install_ptest:append:libc-musl() {  }
RDEPENDS:${PN}-ptest = "acl \
+                        attr \
                          bash \
                          coreutils \
                          perl \
--
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201186): 
https://lists.openembedded.org/g/openembedded-core/message/201186
Mute This Topic: https://lists.openembedded.org/mt/106904612/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to