diff mbox series

acl: Add attr to RDEPENDS:${PN}-ptest

Message ID 20240627061735.1942404-1-mingli.yu@windriver.com
State New
Headers show
Series acl: Add attr to RDEPENDS:${PN}-ptest | expand

Commit Message

Yu, Mingli June 27, 2024, 6:17 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

* 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 <mingli.yu@windriver.com>
---
 meta/recipes-support/attr/acl_2.3.2.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Chen, Qi June 27, 2024, 6:23 a.m. UTC | #1
Just one question: the testcase's name looks like it's supposed to be run on some NFS. Does it?

Regards,
Qi

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

From: Mingli Yu <mingli.yu@windriver.com>

* 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 <mingli.yu@windriver.com>
---
 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
Yu, Mingli June 27, 2024, 6:59 a.m. UTC | #2
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: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Yu, Mingli via lists.openembedded.org
> Sent: Thursday, June 27, 2024 2:18 PM
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] acl: Add attr to RDEPENDS:${PN}-ptest
> 
> From: Mingli Yu <mingli.yu@windriver.com>
> 
> * 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 <mingli.yu@windriver.com>
> ---
>   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
>
diff mbox series

Patch

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 \