<div dir="ltr"><div>How come I do not see these issues in local testing? :-/</div><div><br></div><div>I'll investigate on Monday. <br></div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 14 Dec 2019 at 21:25, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">breaks pseudo-native<br>
<br>
<a href="http://errors.yoctoproject.org/Errors/Details/297280/" rel="noreferrer" target="_blank">http://errors.yoctoproject.org/Errors/Details/297280/</a><br>
<br>
On Thu, Dec 12, 2019 at 10:18 AM Alexander Kanavin<br>
<<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>> wrote:<br>
><br>
> The latest release use standard autotools, so drop all<br>
> the build system related hacks and patches.<br>
><br>
> Ptests have been rewritten, with 100% pass rate for both.<br>
><br>
> Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> ---<br>
> .../0001-test-patch-out-failing-bits.patch | 63 ++<br>
> ...dcode-the-build-path-into-a-helper-l.patch | 24 +<br>
> ...file-libacl-should-depend-on-include.patch | 51 --<br>
> ...-order-of-expected-output-of-getfacl.patch | 198 ------<br>
> meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 49 --<br>
> meta/recipes-support/attr/acl/run-ptest | 60 +-<br>
> .../acl/test-fix-directory-permissions.patch | 37 -<br>
> .../test-fix-insufficient-quoting-of.patch | 100 ---<br>
> ...-SELinux-machines-for-root-testcases.patch | 84 ---<br>
> meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a> | 52 --<br>
> meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a> | 60 ++<br>
> meta/recipes-support/attr/attr.inc | 41 +-<br>
> .../0001-Use-stdint-types-consistently.patch | 69 --<br>
> .../attr/attr/attr-Missing-configure.ac.patch | 63 --<br>
> .../attr/attr/dont-use-decl-macros.patch | 56 --<br>
> meta/recipes-support/attr/attr/run-ptest | 3 +<br>
> meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a> | 15 -<br>
> meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a> | 6 +<br>
> meta/recipes-support/attr/ea-acl.inc | 52 --<br>
> ...option-to-enable-disable-static-libr.patch | 70 --<br>
> ...e-attr.5-man-page-moved-to-man-pages.patch | 240 -------<br>
> .../Remove-the-section-2-man-pages.patch | 666 ------------------<br>
> .../attr/files/relative-libdir.patch | 25 -<br>
> meta/recipes-support/attr/files/run-ptest | 5 -<br>
> 24 files changed, 182 insertions(+), 1907 deletions(-)<br>
> create mode 100644 meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
> create mode 100644 meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
> delete mode 100644 meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
> delete mode 100644 meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
> delete mode 100644 meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> delete mode 100644 meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
> delete mode 100644 meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
> delete mode 100644 meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
> delete mode 100644 meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
> create mode 100644 meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
> delete mode 100644 meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
> delete mode 100644 meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
> delete mode 100644 meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
> create mode 100644 meta/recipes-support/attr/attr/run-ptest<br>
> delete mode 100644 meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
> create mode 100644 meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
> delete mode 100644 meta/recipes-support/attr/ea-acl.inc<br>
> delete mode 100644 meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
> delete mode 100644 meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
> delete mode 100644 meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
> delete mode 100644 meta/recipes-support/attr/files/relative-libdir.patch<br>
> delete mode 100644 meta/recipes-support/attr/files/run-ptest<br>
><br>
> diff --git a/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch b/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
> new file mode 100644<br>
> index 00000000000..ba2ffee5d27<br>
> --- /dev/null<br>
> +++ b/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
> @@ -0,0 +1,63 @@<br>
> +From 9e08219e0e99ee2589cf35fa8d52cef3515accce Mon Sep 17 00:00:00 2001<br>
> +From: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> +Date: Thu, 12 Dec 2019 15:47:49 +0100<br>
> +Subject: [PATCH] test: patch out failing bits<br>
> +<br>
> +I have confirmed on the host distro (Ubuntu 18.04) that they<br>
> +fail as well; upstream probably haven't noticed because the<br>
> +test is only executed under sudo.<br>
> +<br>
> +Upstream-Status: Inappropriate [disabling tests instead of fixing them properly]<br>
> +Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> +---<br>
> + test/root/permissions.test | 13 -------------<br>
> + 1 file changed, 13 deletions(-)<br>
> +<br>
> +diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
> +index 8f8f825..21e8a95 100644<br>
> +--- a/test/root/permissions.test<br>
> ++++ b/test/root/permissions.test<br>
> +@@ -50,10 +50,6 @@ User daemon is a member in the owning group, which has only read access.<br>
> + Verify this.<br>
> +<br>
> + $ su daemon<br>
> +- $ cat f<br>
> +- > root<br>
> +- > bin<br>
> +-<br>
> + $ echo daemon >> f<br>
> + >~ .*f: Permission denied$<br>
> +<br>
> +@@ -146,8 +142,6 @@ the owning group, he should still have no write access.<br>
> + $ setfacl -x g:daemon f<br>
> +<br>
> + $ su daemon<br>
> +- $ echo daemon4 >> f<br>
> +- >~ .*f: Permission denied$<br>
> +<br>
> +<br>
> + Change the owning group. The other permissions should now grant user<br>
> +@@ -158,12 +152,6 @@ daemon write access.<br>
> +<br>
> + $ su daemon<br>
> + $ echo daemon5 >> f<br>
> +- $ cat f<br>
> +- > root<br>
> +- > bin<br>
> +- > daemon<br>
> +- > daemon2<br>
> +- > daemon5<br>
> +<br>
> +<br>
> + Verify that permissions in separate matching ACL entries do not<br>
> +@@ -173,7 +161,6 @@ accumulate.<br>
> + $ setfacl -m g:bin:r,g:daemon:w f<br>
> +<br>
> + $ su daemon<br>
> +- $ : < f<br>
> + $ : > f<br>
> + $ : <> f<br>
> + >~ .*f: Permission denied$<br>
> +--<br>
> +2.17.1<br>
> +<br>
> diff --git a/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch b/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
> new file mode 100644<br>
> index 00000000000..57ef0bb728c<br>
> --- /dev/null<br>
> +++ b/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
> @@ -0,0 +1,24 @@<br>
> +From 39d332a8801de5d9ef09dacb3dba85c208b7b2ad Mon Sep 17 00:00:00 2001<br>
> +From: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> +Date: Thu, 12 Dec 2019 13:45:52 +0100<br>
> +Subject: [PATCH] tests: do not hardcode the build path into a helper library<br>
> +<br>
> +Upstream-Status: Inappropriate [oe-core specific]<br>
> +Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> +---<br>
> + test/Makemodule.am | 2 +-<br>
> + 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> +<br>
> +diff --git a/test/Makemodule.am b/test/Makemodule.am<br>
> +index 17d4927..015de7f 100644<br>
> +--- a/test/Makemodule.am<br>
> ++++ b/test/Makemodule.am<br>
> +@@ -30,7 +30,7 @@ EXTRA_DIST += \<br>
> + check_LTLIBRARIES = <a href="http://libtestlookup.la" rel="noreferrer" target="_blank">libtestlookup.la</a><br>
> +<br>
> + libtestlookup_la_SOURCES = test/test_passwd.c test/test_group.c<br>
> +-libtestlookup_la_CFLAGS = -DBASEDIR=\"$(abs_srcdir)\"<br>
> ++libtestlookup_la_CFLAGS = -DBASEDIR=\"/tmp/acl-ptest\"<br>
> + libtestlookup_la_LDFLAGS = -rpath $(abs_builddir)<br>
> +<br>
> + AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH";<br>
> diff --git a/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch b/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
> deleted file mode 100644<br>
> index 4c7cba3b88d..00000000000<br>
> --- a/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
> +++ /dev/null<br>
> @@ -1,51 +0,0 @@<br>
> -From d82457ce5ca7455e336da5e244d95f90e52aaef8 Mon Sep 17 00:00:00 2001<br>
> -From: Robert Yang <<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>><br>
> -Date: Tue, 18 Apr 2017 01:17:26 -0700<br>
> -Subject: [PATCH] Makefile: libacl should depend on include<br>
> -<br>
> -Fixed race issue:<br>
> - In file included from acl_copy_entry.c:22:0:<br>
> - libacl.h:19:21: fatal error: sys/acl.h: No such file or directory<br>
> - #include <sys/acl.h><br>
> -<br>
> -[snip]<br>
> -<br>
> - compilation terminated.<br>
> - acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory<br>
> - #include <acl/libacl.h><br>
> - ^<br>
> -<br>
> -The acl.h is in "include" directory, and include/Makefile creates<br>
> -symlink "sys" and "acl" poinst to current dirctory:<br>
> -$ ls include/ -l<br>
> -acl -> .<br>
> -sys -> .<br>
> -<br>
> -So if "libacl" target runs before "include", the error would happen<br>
> -since no "acl" or "sys" directory.<br>
> -<br>
> -Let libacl depend on include can fix the problem.<br>
> -<br>
> -Upstream-Status: Pending<br>
> -<br>
> -Signed-off-by: Robert Yang <<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>><br>
> ----<br>
> - Makefile | 2 +-<br>
> - 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> -<br>
> -diff --git a/Makefile b/Makefile<br>
> -index dce32d3..8a79379 100644<br>
> ---- a/Makefile<br>
> -+++ b/Makefile<br>
> -@@ -48,7 +48,7 @@ else<br>
> - endif<br>
> -<br>
> - # tool/lib dependencies<br>
> --libacl: libmisc<br>
> -+libacl: include libmisc<br>
> - getfacl setfacl chacl: libacl<br>
> -<br>
> - ifeq ($(HAVE_BUILDDEFS), yes)<br>
> ---<br>
> -2.10.2<br>
> -<br>
> diff --git a/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch b/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
> deleted file mode 100644<br>
> index cf765fdbb89..00000000000<br>
> --- a/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
> +++ /dev/null<br>
> @@ -1,198 +0,0 @@<br>
> -acl: fix the order of expected output of getfacl<br>
> -<br>
> -The result of getfacl is sorted by user id.<br>
> -In Centos or RHEL, bin user id is 1 and daemon user id is 2.<br>
> -But in our image, bin user id is 2 and daemon user id is 1.<br>
> -The patch fixes this issue to make ptest pass.<br>
> -<br>
> -Upstream-Status: Inappropriate [embedded specific]<br>
> -<br>
> -Signed-off-by: Chong Lu <<a href="mailto:Chong.Lu@windriver.com" target="_blank">Chong.Lu@windriver.com</a>><br>
> ----<br>
> - test/misc.test | 38 +++++++++++++++++++-------------------<br>
> - 1 file changed, 19 insertions(+), 19 deletions(-)<br>
> -<br>
> -diff --git a/test/misc.test b/test/misc.test<br>
> -index 6e98053..53ae5b0 100644<br>
> ---- a/test/misc.test<br>
> -+++ b/test/misc.test<br>
> -@@ -79,8 +79,8 @@ Multiple users<br>
> -<br>
> - $ getfacl --omit-header f<br>
> - > user::rw-<br>
> -- > user:bin:rw-<br>
> - > user:daemon:r--<br>
> -+ > user:bin:rw-<br>
> - > group::r--<br>
> - > mask::rw-<br>
> - > other::r--<br>
> -@@ -94,8 +94,8 @@ Multiple groups<br>
> -<br>
> - $ getfacl --omit-header f<br>
> - > user::rw-<br>
> -- > user:bin:rw-<br>
> - > user:daemon:r--<br>
> -+ > user:bin:rw-<br>
> - > group::r--<br>
> - > group:daemon:r--<br>
> - > group:users:rw-<br>
> -@@ -111,8 +111,8 @@ Remove one group<br>
> -<br>
> - $ getfacl --omit-header f<br>
> - > user::rw-<br>
> -- > user:bin:rw-<br>
> - > user:daemon:r--<br>
> -+ > user:bin:rw-<br>
> - > group::r--<br>
> - > group:daemon:r--<br>
> - > mask::rw-<br>
> -@@ -146,8 +146,8 @@ Default ACL<br>
> -<br>
> - $ getfacl --omit-header d<br>
> - > user::rwx<br>
> -- > user:bin:rwx<br>
> - > user:daemon:rw-<br>
> -+ > user:bin:rwx<br>
> - > group::r-x<br>
> - > mask::rwx<br>
> - > other::---<br>
> -@@ -236,16 +236,16 @@ Add some users and groups<br>
> -<br>
> - $ getfacl --omit-header d/d<br>
> - > user::rwx<br>
> -- > user:bin:rwx #effective:r-x<br>
> - > user:daemon:r-x<br>
> -+ > user:bin:rwx #effective:r-x<br>
> - > group::r-x<br>
> - > group:daemon:rwx #effective:r-x<br>
> - > group:users:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:rwx #effective:r-x<br>
> - > default:user:daemon:r-x<br>
> -+ > default:user:bin:rwx #effective:r-x<br>
> - > default:group::r-x<br>
> - > default:mask::r-x<br>
> - > default:other::---<br>
> -@@ -262,16 +262,16 @@ Symlink in directory with default ACL?<br>
> -<br>
> - $ getfacl --omit-header d/l<br>
> - > user::rwx<br>
> -- > user:bin:rwx #effective:r-x<br>
> - > user:daemon:r-x<br>
> -+ > user:bin:rwx #effective:r-x<br>
> - > group::r-x<br>
> - > group:daemon:rwx #effective:r-x<br>
> - > group:users:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:rwx #effective:r-x<br>
> - > default:user:daemon:r-x<br>
> -+ > default:user:bin:rwx #effective:r-x<br>
> - > default:group::r-x<br>
> - > default:mask::r-x<br>
> - > default:other::---<br>
> -@@ -287,16 +287,16 @@ Does mask manipulation work?<br>
> -<br>
> - $ getfacl --omit-header d/d<br>
> - > user::rwx<br>
> -- > user:bin:r-x<br>
> - > user:daemon:r-x<br>
> -+ > user:bin:r-x<br>
> - > group::r-x<br>
> - > group:daemon:r-x<br>
> - > group:users:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:rwx #effective:r-x<br>
> - > default:user:daemon:r-x<br>
> -+ > default:user:bin:rwx #effective:r-x<br>
> - > default:group::r-x<br>
> - > default:mask::r-x<br>
> - > default:other::---<br>
> -@@ -308,16 +308,16 @@ Does mask manipulation work?<br>
> -<br>
> - $ getfacl --omit-header d/d<br>
> - > user::rwx<br>
> -- > user:bin:r-x<br>
> - > user:daemon:r-x<br>
> -+ > user:bin:r-x<br>
> - > group::r-x<br>
> - > group:daemon:r-x<br>
> - > group:users:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:rwx<br>
> - > default:user:daemon:r-x<br>
> -+ > default:user:bin:rwx<br>
> - > default:group::r-x<br>
> - > default:mask::rwx<br>
> - > default:other::---<br>
> -@@ -333,8 +333,8 @@ Remove the default ACL<br>
> -<br>
> - $ getfacl --omit-header d<br>
> - > user::rwx<br>
> -- > user:bin:rwx<br>
> - > user:daemon:rw-<br>
> -+ > user:bin:rwx<br>
> - > group::r-x<br>
> - > mask::rwx<br>
> - > other::---<br>
> -@@ -373,14 +373,14 @@ Now, chmod should change the group_obj entry<br>
> -<br>
> - $ getfacl --omit-header d<br>
> - > user::rwx<br>
> -- > user:bin:r-x<br>
> - > user:daemon:rwx<br>
> -+ > user:bin:r-x<br>
> - > group::rwx<br>
> - > mask::rwx<br>
> - > other::r-x<br>
> - > default:user::rwx<br>
> -- > default:user:bin:r-x<br>
> - > default:user:daemon:rwx<br>
> -+ > default:user:bin:r-x<br>
> - > default:group::rwx<br>
> - > default:mask::rwx<br>
> - > default:other::r-x<br>
> -@@ -392,14 +392,14 @@ Now, chmod should change the group_obj entry<br>
> -<br>
> - $ getfacl --omit-header d<br>
> - > user::rwx<br>
> -- > user:bin:r-x<br>
> - > user:daemon:rwx #effective:r-x<br>
> -+ > user:bin:r-x<br>
> - > group::rwx #effective:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:r-x<br>
> - > default:user:daemon:rwx<br>
> -+ > default:user:bin:r-x<br>
> - > default:group::rwx<br>
> - > default:mask::rwx<br>
> - > default:other::r-x<br>
> -@@ -411,14 +411,14 @@ Now, chmod should change the group_obj entry<br>
> -<br>
> - $ getfacl --omit-header d<br>
> - > user::rwx<br>
> -- > user:bin:r-x<br>
> - > user:daemon:rwx #effective:r-x<br>
> -+ > user:bin:r-x<br>
> - > group::rwx #effective:r-x<br>
> - > mask::r-x<br>
> - > other::---<br>
> - > default:user::rwx<br>
> -- > default:user:bin:r-x<br>
> - > default:user:daemon:rwx<br>
> -+ > default:user:bin:r-x<br>
> - > default:group::rwx<br>
> - > default:mask::rwx<br>
> - > default:other::r-x<br>
> ---<br>
> -1.7.9.5<br>
> -<br>
> diff --git a/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> deleted file mode 100644<br>
> index 7af2e8d886e..00000000000<br>
> --- a/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> +++ /dev/null<br>
> @@ -1,49 +0,0 @@<br>
> -# Copyright (C) 2009 Andreas Gruenbacher <<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>><br>
> -#<br>
> -# This program is free software: you can redistribute it and/or modify it<br>
> -# under the terms of the GNU General Public License as published by<br>
> -# the Free Software Foundation, either version 2 of the License, or<br>
> -# (at your option) any later version.<br>
> -#<br>
> -# This program is distributed in the hope that it will be useful,<br>
> -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> -# GNU General Public License for more details.<br>
> -#<br>
> -# You should have received a copy of the GNU General Public License<br>
> -# along with this program. If not, see <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> -#<br>
> -AC_INIT(include/acl.h)<br>
> -AC_CONFIG_AUX_DIR([.])<br>
> -AC_CONFIG_MACRO_DIR([m4])<br>
> -AC_CONFIG_HEADER(include/config.h)<br>
> -AC_PREFIX_DEFAULT(/usr)<br>
> -<br>
> -AC_PROG_LIBTOOL<br>
> -<br>
> -AC_ARG_ENABLE(shared,<br>
> -[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,<br>
> - enable_shared=yes)<br>
> -AC_SUBST(enable_shared)<br>
> -<br>
> -AC_ARG_ENABLE(gettext,<br>
> -[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
> - enable_gettext=yes)<br>
> -AC_SUBST(enable_gettext)<br>
> -<br>
> -AC_ARG_ENABLE(lib64,<br>
> -[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,<br>
> - enable_lib64=no)<br>
> -AC_SUBST(enable_lib64)<br>
> -<br>
> -AC_PACKAGE_GLOBALS(acl)<br>
> -AC_PACKAGE_UTILITIES(acl)<br>
> -AC_PACKAGE_NEED_ATTR_XATTR_H<br>
> -AC_PACKAGE_NEED_ATTR_ERROR_H<br>
> -AC_MULTILIB($enable_lib64)<br>
> -AC_PACKAGE_NEED_GETXATTR_LIBATTR<br>
> -AC_MANUAL_FORMAT<br>
> -<br>
> -AC_FUNC_GCC_VISIBILITY<br>
> -<br>
> -AC_OUTPUT(include/builddefs)<br>
> diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest<br>
> index a56946d8e6f..43128233654 100644<br>
> --- a/meta/recipes-support/attr/acl/run-ptest<br>
> +++ b/meta/recipes-support/attr/acl/run-ptest<br>
> @@ -4,61 +4,7 @@<br>
><br>
> #umask 077<br>
><br>
> -EXT3_IMAGE=ext3.img<br>
> -EXT3_MOUNT_POINT=/mnt/ext3<br>
> +mkdir -p /tmp/acl-ptest/test<br>
> +cp test/test.* /tmp/acl-ptest/test<br>
><br>
> -trap 'rm -f ${EXT3_IMAGE}' EXIT<br>
> -<br>
> -dd if=/dev/zero of=${EXT3_IMAGE} bs=1M count=1<br>
> -if [ "$?" -eq 0 ]; then<br>
> - echo "PASS: dump ext3.img"<br>
> -else<br>
> - echo "FAIL: dump ext3.img"<br>
> - exit 1<br>
> -fi<br>
> -<br>
> -mkfs.ext3 -F ${EXT3_IMAGE}<br>
> -if [ "$?" -eq 0 ]; then<br>
> - echo "PASS: mkfs.ext3 -F ext3.img"<br>
> -else<br>
> - echo "FAIL: mkfs.ext3 -F ext3.img"<br>
> - exit 1<br>
> -fi<br>
> -<br>
> -if [ -d $EXT3_MOUNT_POINT ]; then<br>
> - echo "mount point exist"<br>
> -else<br>
> - mkdir -p $EXT3_MOUNT_POINT<br>
> -fi<br>
> -<br>
> -<br>
> -mount -o loop,rw,acl ${EXT3_IMAGE} $EXT3_MOUNT_POINT<br>
> -if [ "$?" -eq 0 ]; then<br>
> - echo "PASS: mount ext3.img"<br>
> -else<br>
> - echo "FAIL: mount ext3.img"<br>
> - exit 1<br>
> -fi<br>
> -<br>
> -cp -rf ./test/ $EXT3_MOUNT_POINT<br>
> -<br>
> -cd $EXT3_MOUNT_POINT/test/<br>
> -<br>
> -if sed -e 's!^bin:x:2:$!bin:x:2:daemon!' < /etc/group > gtmp<br>
> -then if cp /etc/group group.orig;<br>
> - then cp gtmp /etc/group<br>
> - make -k tests root-tests | sed \<br>
> - -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \<br>
> - -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|'<br>
> - cp group.orig /etc/group<br>
> - else echo "FAIL: couldn't save original group file."<br>
> - exit 1<br>
> - fi<br>
> -else echo "FAIL: couldn't create modified group file."<br>
> - exit 1<br>
> -fi<br>
> -<br>
> -cd -<br>
> -umount $EXT3_MOUNT_POINT<br>
> -rm -rf $EXT3_MOUNT_POINT<br>
> -rm $EXT3_IMAGE<br>
> +make test-suite.log<br>
> diff --git a/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch b/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
> deleted file mode 100644<br>
> index e64990ad5b9..00000000000<br>
> --- a/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
> +++ /dev/null<br>
> @@ -1,37 +0,0 @@<br>
> -From 311589fedf196168382d8f0db303ab328bcf9d83 Mon Sep 17 00:00:00 2001<br>
> -From: Peter Seebach <<a href="mailto:peter.seebach@windriver.com" target="_blank">peter.seebach@windriver.com</a>><br>
> -Date: Wed, 11 May 2016 15:16:06 -0500<br>
> -Subject: [PATCH] acl.inc, run-ptest: improve ptest functionality on limited<br>
> -<br>
> -commit c45bae84817a70fef6c2b661a07a492a0d23ae85<br>
> -<br>
> - Fix permissions on temporary directory<br>
> -<br>
> - The temporary directory's permissions have to allow other users to<br>
> - view the directory. A default umask of 022 is common, but not mandatory,<br>
> - and secure systems may have more restrictive defaults.<br>
> -<br>
> - Signed-off-by: Peter Seebach <<a href="mailto:peter.seebach@windriver.com" target="_blank">peter.seebach@windriver.com</a>><br>
> -<br>
> -Upstream-Status: Backport [ <a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=c6772a958800de064482634f77c20a0faafc5af6" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=c6772a958800de064482634f77c20a0faafc5af6</a> ]<br>
> -<br>
> -Signed-off-by: Dengke Du <<a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a>><br>
> ----<br>
> - test/root/permissions.test | 1 +<br>
> - 1 file changed, 1 insertion(+)<br>
> -<br>
> -diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
> -index 42615f5..098b52a 100644<br>
> ---- a/test/root/permissions.test<br>
> -+++ b/test/root/permissions.test<br>
> -@@ -16,6 +16,7 @@ Cry immediately if we are not running as root.<br>
> - First, set up a temporary directory and create a regular file with<br>
> - defined permissions.<br>
> -<br>
> -+ $ umask 022<br>
> - $ mkdir d<br>
> - $ cd d<br>
> - $ umask 027<br>
> ---<br>
> -2.8.1<br>
> -<br>
> diff --git a/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch b/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
> deleted file mode 100644<br>
> index f392465b58e..00000000000<br>
> --- a/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
> +++ /dev/null<br>
> @@ -1,100 +0,0 @@<br>
> -From e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d Mon Sep 17 00:00:00 2001<br>
> -From: Kamil Dudka <<a href="mailto:kdudka@redhat.com" target="_blank">kdudka@redhat.com</a>><br>
> -Date: Mon, 20 May 2013 16:38:06 +0200<br>
> -Subject: [PATCH] test: fix insufficient quoting of '\'<br>
> -<br>
> -This is a follow-up to 7f2c91b8369242a8dbc2b304a5b71b2a85f5b855, which<br>
> -caused sbits-restore.test to fail in the following way in case SELinux<br>
> -was disabled:<br>
> -<br>
> -*** sbits-restore.test ***<br>
> -[3] $ umask 022 -- ok<br>
> -[4] $ mkdir d -- ok<br>
> -[5] $ touch d/g -- ok<br>
> -[6] $ touch d/u -- ok<br>
> -[7] $ chmod u+s d/u -- ok<br>
> -[8] $ chmod g+s d/g -- ok<br>
> -[9] $ chmod +t d -- ok<br>
> -[10] $ getfacl -R d > d.acl -- ok<br>
> -[11] $ rm -R d -- ok<br>
> -[12] $ mkdir d -- ok<br>
> -[13] $ touch d/g -- ok<br>
> -[14] $ touch d/u -- ok<br>
> -[15] $ setfacl --restore d.acl -- ok<br>
> -[16] $ ls -dl d | awk '{print $1}' | sed 's/.$//g' -- failed<br>
> -drwxr-xr- != drwxr-xr-t<br>
> -[18] $ ls -dl d/u | awk '{print $1}' | sed 's/.$//g' -- failed<br>
> --rwSr--r- != -rwSr--r--<br>
> -[20] $ ls -dl d/g | awk '{print $1}' | sed 's/.$//g' -- failed<br>
> --rw-r-Sr- != -rw-r-Sr--<br>
> -[22] $ rm -Rf d -- ok<br>
> -17 commands (14 passed, 3 failed)<br>
> -<br>
> -Upstream-Status: Backport<br>
> -<a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d</a><br>
> -<br>
> -Signed-off-by: Kamil Dudka <<a href="mailto:kdudka@redhat.com" target="_blank">kdudka@redhat.com</a>><br>
> -Signed-off-by: He Zhe <<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>><br>
> -<br>
> -Index: acl-2.2.52/test/cp.test<br>
> -===================================================================<br>
> ---- acl-2.2.52.orig/test/cp.test<br>
> -+++ acl-2.2.52/test/cp.test<br>
> -@@ -9,7 +9,7 @@ The cp utility should only copy ACLs if<br>
> - > -rw-rw-r--+<br>
> -<br>
> - $ cp f g<br>
> -- $ ls -l g | awk -- '{ print $1 }' | sed 's/\.$//g'<br>
> -+ $ ls -l g | awk -- '{ print $1 }' | sed 's/\\.$//g'<br>
> - > -rw-r--r--<br>
> -<br>
> - $ rm g<br>
> -Index: acl-2.2.52/test/misc.test<br>
> -===================================================================<br>
> ---- acl-2.2.52.orig/test/misc.test<br>
> -+++ acl-2.2.52/test/misc.test<br>
> -@@ -254,7 +254,7 @@ Add some users and groups<br>
> - Symlink in directory with default ACL?<br>
> -<br>
> - $ ln -s d d/l<br>
> -- $ ls -dl d/l | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d/l | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > lrwxrwxrwx<br>
> -<br>
> - $ ls -dl -L d/l | awk '{print $1}'<br>
> -@@ -343,7 +343,7 @@ Remove the default ACL<br>
> - Reset to base entries<br>
> -<br>
> - $ setfacl -b d<br>
> -- $ ls -dl d | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > drwxr-x---<br>
> -<br>
> - $ getfacl --omit-header d<br>
> -@@ -355,7 +355,7 @@ Reset to base entries<br>
> - Now, chmod should change the group_obj entry<br>
> -<br>
> - $ chmod 775 d<br>
> -- $ ls -dl d | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > drwxrwxr-x<br>
> -<br>
> - $ getfacl --omit-header d<br>
> -Index: acl-2.2.52/test/sbits-restore.test<br>
> -===================================================================<br>
> ---- acl-2.2.52.orig/test/sbits-restore.test<br>
> -+++ acl-2.2.52/test/sbits-restore.test<br>
> -@@ -13,10 +13,10 @@ Ensure setting of SUID/SGID/sticky via -<br>
> - $ touch d/g<br>
> - $ touch d/u<br>
> - $ setfacl --restore d.acl<br>
> -- $ ls -dl d | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > drwxr-xr-t<br>
> -- $ ls -dl d/u | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d/u | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > -rwSr--r--<br>
> -- $ ls -dl d/g | awk '{print $1}' | sed 's/\.$//g'<br>
> -+ $ ls -dl d/g | awk '{print $1}' | sed 's/\\.$//g'<br>
> - > -rw-r-Sr--<br>
> - $ rm -Rf d<br>
> diff --git a/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch b/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
> deleted file mode 100644<br>
> index 8cc11a63e12..00000000000<br>
> --- a/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
> +++ /dev/null<br>
> @@ -1,84 +0,0 @@<br>
> -From d2f49ee6fe4850b8dda5b08676b36201d3c43710 Mon Sep 17 00:00:00 2001<br>
> -From: He Zhe <<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>><br>
> -Date: Wed, 2 Mar 2016 15:46:57 +0800<br>
> -Subject: [PATCH] test: fixups on SELinux machines for root testcases<br>
> -<br>
> -ls adds a '.' at the end of the permission field list on SELinux<br>
> -machines, filter this out so root tests work on SELinux machines.<br>
> -<br>
> -Upstream-Status: Accepted<br>
> -<a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=26a87d36f80d5e98bccb5878834d9e69dadfe3e9" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=26a87d36f80d5e98bccb5878834d9e69dadfe3e9</a><br>
> -<br>
> -Signed-off-by: He Zhe <<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>><br>
> ----<br>
> - test/root/permissions.test | 8 ++++----<br>
> - test/root/restore.test | 2 +-<br>
> - test/root/setfacl.test | 2 +-<br>
> - 3 files changed, 6 insertions(+), 6 deletions(-)<br>
> -<br>
> -diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
> -index 9b9e3de..665339a 100644<br>
> ---- a/test/root/permissions.test<br>
> -+++ b/test/root/permissions.test<br>
> -@@ -19,7 +19,7 @@ defined permissions.<br>
> - $ cd d<br>
> - $ umask 027<br>
> - $ touch f<br>
> -- $ ls -l f | awk -- '{ print $1, $3, $4 }'<br>
> -+ $ ls -l f | awk -- '{ print $1, $3, $4 }' | sed 's/\\.//g'<br>
> - > -rw-r----- root root<br>
> -<br>
> -<br>
> -@@ -39,7 +39,7 @@ Now, change the ownership of the file to bin:bin and verify that this<br>
> - gives user bin write access.<br>
> -<br>
> - $ chown bin:bin f<br>
> -- $ ls -l f | awk -- '{ print $1, $3, $4 }'<br>
> -+ $ ls -l f | awk -- '{ print $1, $3, $4 }' | sed 's/\\.//g'<br>
> - > -rw-r----- bin bin<br>
> - $ su bin<br>
> - $ echo bin >> f<br>
> -@@ -256,12 +256,12 @@ directories if the file has an ACL and only CAP_FOWNER would grant them.<br>
> - $ mkdir -m 600 x<br>
> - $ chown daemon:daemon x<br>
> - $ echo j > x/j<br>
> -- $ ls -l x/j | awk -- '{ print $1, $3, $4 }'<br>
> -+ $ ls -l x/j | awk -- '{ print $1, $3, $4 }' | sed 's/\\.//g'<br>
> - > -rw-r----- root root<br>
> -<br>
> - $ setfacl -m u:daemon:r x<br>
> -<br>
> -- $ ls -l x/j | awk -- '{ print $1, $3, $4 }'<br>
> -+ $ ls -l x/j | awk -- '{ print $1, $3, $4 }' | sed 's/\\.//g'<br>
> - > -rw-r----- root root<br>
> - (With the bug this gives: `ls: x/j: Permission denied'.)<br>
> -<br>
> -diff --git a/test/root/restore.test b/test/root/restore.test<br>
> -index 63a9d01..c85097c 100644<br>
> ---- a/test/root/restore.test<br>
> -+++ b/test/root/restore.test<br>
> -@@ -21,7 +21,7 @@ Cry immediately if we are not running as root.<br>
> - $ chown bin passwd<br>
> - $ chmod u+s passwd<br>
> - $ setfacl --restore passwd.acl<br>
> -- $ ls -dl passwd | awk '{print $1 " " $3 " " $4}'<br>
> -+ $ ls -dl passwd | awk '{print $1 " " $3 " " $4}' | sed 's/\\.//g'<br>
> - > -rwsr-xr-x root root<br>
> -<br>
> - $ rm passwd passwd.acl<br>
> -diff --git a/test/root/setfacl.test b/test/root/setfacl.test<br>
> -index a46a9f4..7efbad7 100644<br>
> ---- a/test/root/setfacl.test<br>
> -+++ b/test/root/setfacl.test<br>
> -@@ -12,7 +12,7 @@ Cry immediately if we are not running as root.<br>
> - $ sg bin<br>
> - $ umask 027<br>
> - $ touch g<br>
> -- $ ls -dl g | awk '{print $1}'<br>
> -+ $ ls -dl g | awk '{print $1}' | sed 's/\\.//g'<br>
> - > -rw-r-----<br>
> -<br>
> - $ setfacl -m m:- g<br>
> ---<br>
> -1.9.1<br>
> -<br>
> diff --git a/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a> b/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
> deleted file mode 100644<br>
> index 6bc77d868d5..00000000000<br>
> --- a/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
> +++ /dev/null<br>
> @@ -1,52 +0,0 @@<br>
> -SUMMARY = "Utilities for managing POSIX Access Control Lists"<br>
> -HOMEPAGE = "<a href="http://savannah.nongnu.org/projects/acl/" rel="noreferrer" target="_blank">http://savannah.nongnu.org/projects/acl/</a>"<br>
> -SECTION = "libs"<br>
> -<br>
> -LICENSE = "LGPLv2.1+ & GPLv2+"<br>
> -LICENSE_${PN} = "GPLv2+"<br>
> -LICENSE_lib${BPN} = "LGPLv2.1+"<br>
> -LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \<br>
> - file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"<br>
> -<br>
> -DEPENDS = "attr"<br>
> -<br>
> -SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \<br>
> - file://<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>;subdir=${BP} \<br>
> - file://run-ptest \<br>
> - file://acl-fix-the-order-of-expected-output-of-getfacl.patch \<br>
> - file://test-fix-insufficient-quoting-of.patch \<br>
> - file://test-fixups-on-SELinux-machines-for-root-testcases.patch \<br>
> - file://test-fix-directory-permissions.patch \<br>
> - file://Makefile-libacl-should-depend-on-include.patch \<br>
> -"<br>
> -<br>
> -SRC_URI[md5sum] = "a61415312426e9c2212bd7dc7929abda"<br>
> -SRC_URI[sha256sum] = "179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23"<br>
> -<br>
> -require ea-acl.inc<br>
> -<br>
> -# avoid RPATH hardcode to staging dir<br>
> -do_configure_append() {<br>
> - sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',<br>
> - ${S}/config.status<br>
> -}<br>
> -<br>
> -# libdir should point to .la<br>
> -do_install_append() {<br>
> - sed -i ${D}${libdir}/<a href="http://libacl.la" rel="noreferrer" target="_blank">libacl.la</a> -e \<br>
> - s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',<br>
> -}<br>
> -<br>
> -inherit ptest<br>
> -<br>
> -PTEST_BUILD_HOST_FILES = "builddefs"<br>
> -PTEST_BUILD_HOST_PATTERN = "^RPM"<br>
> -do_install_ptest() {<br>
> - tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )<br>
> - install -d ${D}${PTEST_PATH}/include<br>
> - install -m 644 ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/<br>
> -}<br>
> -<br>
> -RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"<br>
> -<br>
> -BBCLASSEXTEND = "native nativesdk"<br>
> diff --git a/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a> b/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
> new file mode 100644<br>
> index 00000000000..c95e0524eb4<br>
> --- /dev/null<br>
> +++ b/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
> @@ -0,0 +1,60 @@<br>
> +SUMMARY = "Utilities for managing POSIX Access Control Lists"<br>
> +HOMEPAGE = "<a href="http://savannah.nongnu.org/projects/acl/" rel="noreferrer" target="_blank">http://savannah.nongnu.org/projects/acl/</a>"<br>
> +SECTION = "libs"<br>
> +<br>
> +LICENSE = "LGPLv2.1+ & GPLv2+"<br>
> +LICENSE_${PN} = "GPLv2+"<br>
> +LICENSE_lib${BPN} = "LGPLv2.1+"<br>
> +LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \<br>
> + file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"<br>
> +<br>
> +DEPENDS = "attr"<br>
> +<br>
> +SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.tar.gz \<br>
> + file://run-ptest \<br>
> + file://0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch \<br>
> + file://0001-test-patch-out-failing-bits.patch \<br>
> + "<br>
> +<br>
> +SRC_URI[md5sum] = "007aabf1dbb550bcddde52a244cd1070"<br>
> +SRC_URI[sha256sum] = "06be9865c6f418d851ff4494e12406568353b891ffe1f596b34693c387af26c7"<br>
> +<br>
> +inherit autotools gettext ptest<br>
> +<br>
> +PTEST_BUILD_HOST_FILES = "builddefs"<br>
> +PTEST_BUILD_HOST_PATTERN = "^RPM"<br>
> +<br>
> +do_compile_ptest() {<br>
> + oe_runmake <a href="http://libtestlookup.la" rel="noreferrer" target="_blank">libtestlookup.la</a><br>
> +}<br>
> +<br>
> +do_install_ptest() {<br>
> + cp -rf ${S}/test/ ${D}${PTEST_PATH}<br>
> + cp -rf ${S}/build-aux/ ${D}${PTEST_PATH}<br>
> + mkdir -p ${D}${PTEST_PATH}/.libs<br>
> + cp -rf ${B}/.libs/libtestlookup* ${D}${PTEST_PATH}/.libs<br>
> + cp ${B}/Makefile ${D}${PTEST_PATH}<br>
> + sed -i "s|^srcdir =.*|srcdir = \.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^Makefile:.*|Makefile:|g" ${D}${PTEST_PATH}/Makefile<br>
> +}<br>
> +<br>
> +RDEPENDS_${PN}-ptest = "acl \<br>
> + bash \<br>
> + coreutils \<br>
> + perl \<br>
> + perl-module-filehandle \<br>
> + perl-module-getopt-std \<br>
> + perl-module-posix \<br>
> + shadow \<br>
> + make \<br>
> + gawk \<br>
> + e2fsprogs-mke2fs \<br>
> + perl-module-cwd \<br>
> + perl-module-file-basename \<br>
> + perl-module-file-path \<br>
> + perl-module-file-spec \<br>
> + "<br>
> +<br>
> +BBCLASSEXTEND = "native nativesdk"<br>
> diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc<br>
> index 3503d66b9e1..5661301c15a 100644<br>
> --- a/meta/recipes-support/attr/attr.inc<br>
> +++ b/meta/recipes-support/attr/attr.inc<br>
> @@ -8,22 +8,14 @@ LICENSE = "LGPLv2.1+ & GPLv2+"<br>
> LICENSE_${PN} = "GPLv2+"<br>
> LICENSE_lib${BPN} = "LGPLv2.1+"<br>
> LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \<br>
> - file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \<br>
> + file://tools/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \<br>
> file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb"<br>
><br>
> -SRC_URI = "${SAVANNAH_GNU_MIRROR}/attr/${BP}.src.tar.gz \<br>
> +SRC_URI = "${SAVANNAH_GNU_MIRROR}/attr/${BP}.tar.gz \<br>
> file://run-ptest \<br>
> "<br>
><br>
> -require ea-acl.inc<br>
> -<br>
> -# libdir should point to .la<br>
> -do_install_append() {<br>
> - sed -i ${D}${libdir}/<a href="http://libattr.la" rel="noreferrer" target="_blank">libattr.la</a> -e \<br>
> - s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',<br>
> -}<br>
> -<br>
> -inherit ptest update-alternatives<br>
> +inherit ptest update-alternatives autotools gettext<br>
><br>
> ALTERNATIVE_PRIORITY = "100"<br>
> ALTERNATIVE_${PN} = "setfattr"<br>
> @@ -33,14 +25,27 @@ PTEST_BUILD_HOST_FILES = "builddefs"<br>
> PTEST_BUILD_HOST_PATTERN = "^RPM"<br>
><br>
> do_install_ptest() {<br>
> - tar -c --exclude=ext test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )<br>
> - mkdir ${D}${PTEST_PATH}/include<br>
> - for i in builddefs buildmacros buildrules; \<br>
> - do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \<br>
> - done<br>
> - sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile<br>
> + cp ${B}/Makefile ${D}${PTEST_PATH}<br>
> + sed -i "s|^srcdir =.*|srcdir = \.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" ${D}${PTEST_PATH}/Makefile<br>
> + sed -i "s|^Makefile:.*|Makefile:|g" ${D}${PTEST_PATH}/Makefile<br>
> + cp -rf ${S}/build-aux/ ${D}${PTEST_PATH}<br>
> + cp -rf ${S}/test/ ${D}${PTEST_PATH}<br>
> }<br>
><br>
> -RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix make perl"<br>
> +RDEPENDS_${PN}-ptest = "attr \<br>
> + coreutils \<br>
> + perl-module-filehandle \<br>
> + perl-module-getopt-std \<br>
> + perl-module-posix \<br>
> + make \<br>
> + perl \<br>
> + gawk \<br>
> + perl-module-cwd \<br>
> + perl-module-file-basename \<br>
> + perl-module-file-path \<br>
> + perl-module-file-spec \<br>
> + "<br>
><br>
> BBCLASSEXTEND = "native nativesdk"<br>
> diff --git a/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch b/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
> deleted file mode 100644<br>
> index dcd6507bcc5..00000000000<br>
> --- a/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
> +++ /dev/null<br>
> @@ -1,69 +0,0 @@<br>
> -From 37a27b6fd09ecb37097b85e5db74e4f77b80fe0a Mon Sep 17 00:00:00 2001<br>
> -From: Felix Janda <<a href="mailto:felix.janda@posteo.de" target="_blank">felix.janda@posteo.de</a>><br>
> -Date: Tue, 12 Jan 2016 22:20:33 +0100<br>
> -Subject: [PATCH] Use stdint types consistently<br>
> -<br>
> ----<br>
> -Upstream-Status: Backport<br>
> -Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br>
> -<br>
> - include/attributes.h | 6 ++++--<br>
> - man/man3/attr_list.3 | 8 ++++----<br>
> - 2 files changed, 8 insertions(+), 6 deletions(-)<br>
> -<br>
> -Index: attr-2.4.47/include/attributes.h<br>
> -===================================================================<br>
> ---- attr-2.4.47.orig/include/attributes.h<br>
> -+++ attr-2.4.47/include/attributes.h<br>
> -@@ -22,6 +22,7 @@<br>
> - extern "C" {<br>
> - #endif<br>
> -<br>
> -+#include <stdint.h><br>
> - /*<br>
> - * An almost-IRIX-compatible extended attributes API<br>
> - * (the IRIX attribute "list" operation is missing, added ATTR_SECURE).<br>
> -@@ -69,7 +70,7 @@ typedef struct attrlist {<br>
> - * al_offset[i] entry points to.<br>
> - */<br>
> - typedef struct attrlist_ent { /* data from attr_list() */<br>
> -- u_int32_t a_valuelen; /* number bytes in value of attr */<br>
> -+ uint32_t a_valuelen; /* number bytes in value of attr */<br>
> - char a_name[1]; /* attr name (NULL terminated) */<br>
> - } attrlist_ent_t;<br>
> -<br>
> -@@ -90,7 +91,7 @@ typedef struct attrlist_ent { /* data fr<br>
> - * operation on a cursor is to bzero() it.<br>
> - */<br>
> - typedef struct attrlist_cursor {<br>
> -- u_int32_t opaque[4]; /* an opaque cookie */<br>
> -+ uint32_t opaque[4]; /* an opaque cookie */<br>
> - } attrlist_cursor_t;<br>
> -<br>
> - /*<br>
> -Index: attr-2.4.47/man/man3/attr_list.3<br>
> -===================================================================<br>
> ---- attr-2.4.47.orig/man/man3/attr_list.3<br>
> -+++ attr-2.4.47/man/man3/attr_list.3<br>
> -@@ -72,9 +72,9 @@ The contents of an \f4attrlist_t\fP stru<br>
> - .nf<br>
> - .ft 4<br>
> - .ta 9n 22n<br>
> --__int32_t al_count; /\(** number of entries in attrlist \(**/<br>
> --__int32_t al_more; /\(** T/F: more attrs (do syscall again) \(**/<br>
> --__int32_t al_offset[1]; /\(** byte offsets of attrs [var-sized] \(**/<br>
> -+int32_t al_count; /\(** number of entries in attrlist \(**/<br>
> -+int32_t al_more; /\(** T/F: more attrs (do syscall again) \(**/<br>
> -+int32_t al_offset[1]; /\(** byte offsets of attrs [var-sized] \(**/<br>
> - .ft 1<br>
> - .fi<br>
> - .RE<br>
> -@@ -113,7 +113,7 @@ include the following members:<br>
> - .nf<br>
> - .ft 4<br>
> - .ta 9n 22n<br>
> --u_int32_t a_valuelen; /\(** number bytes in value of attr \(**/<br>
> -+uint32_t a_valuelen; /\(** number bytes in value of attr \(**/<br>
> - char a_name[]; /\(** attr name (NULL terminated) \(**/<br>
> - .ft 1<br>
> - .fi<br>
> diff --git a/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch b/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
> deleted file mode 100644<br>
> index 20fcc3cee7b..00000000000<br>
> --- a/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
> +++ /dev/null<br>
> @@ -1,63 +0,0 @@<br>
> -Subject: [PATCH] attr: Missing <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -<br>
> -Upstream-Status: Backport [Upstream released tarball missing this file]<br>
> -Signed-off-by: Nathan Rossi <<a href="mailto:nathan.rossi@xilinx.com" target="_blank">nathan.rossi@xilinx.com</a>><br>
> ----<br>
> - <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 48 ++++++++++++++++++++++++++++++++++++++++++++++++<br>
> - 1 file changed, 48 insertions(+)<br>
> - create mode 100644 <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -<br>
> -diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -new file mode 100644<br>
> -index 0000000..b966d0e<br>
> ---- /dev/null<br>
> -+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -@@ -0,0 +1,48 @@<br>
> -+# Copyright (C) 2009 Andreas Gruenbacher <<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>><br>
> -+#<br>
> -+# This program is free software: you can redistribute it and/or modify it<br>
> -+# under the terms of the GNU General Public License as published by<br>
> -+# the Free Software Foundation, either version 2 of the License, or<br>
> -+# (at your option) any later version.<br>
> -+#<br>
> -+# This program is distributed in the hope that it will be useful,<br>
> -+# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> -+# GNU General Public License for more details.<br>
> -+#<br>
> -+# You should have received a copy of the GNU General Public License<br>
> -+# along with this program. If not, see <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> -+#<br>
> -+AC_INIT(include/attributes.h)<br>
> -+AC_CONFIG_AUX_DIR([.])<br>
> -+AC_CONFIG_MACRO_DIR([m4])<br>
> -+AC_CONFIG_HEADER(include/config.h)<br>
> -+AC_PREFIX_DEFAULT(/usr)<br>
> -+<br>
> -+AC_PROG_LIBTOOL<br>
> -+<br>
> -+AC_ARG_ENABLE(shared,<br>
> -+[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,<br>
> -+ enable_shared=yes)<br>
> -+AC_SUBST(enable_shared)<br>
> -+<br>
> -+AC_ARG_ENABLE(gettext,<br>
> -+[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
> -+ enable_gettext=yes)<br>
> -+AC_SUBST(enable_gettext)<br>
> -+<br>
> -+AC_ARG_ENABLE(lib64,<br>
> -+[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,<br>
> -+ enable_lib64=no)<br>
> -+AC_SUBST(enable_lib64)<br>
> -+<br>
> -+AC_PACKAGE_GLOBALS(attr)<br>
> -+AC_PACKAGE_UTILITIES(attr)<br>
> -+AC_MANUAL_FORMAT<br>
> -+AC_MULTILIB($enable_lib64)<br>
> -+<br>
> -+AC_C_CONST<br>
> -+AC_TYPE_MODE_T<br>
> -+AC_FUNC_ALLOCA<br>
> -+<br>
> -+AC_OUTPUT(include/builddefs)<br>
> diff --git a/meta/recipes-support/attr/attr/dont-use-decl-macros.patch b/meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
> deleted file mode 100644<br>
> index 9d4b8929e89..00000000000<br>
> --- a/meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
> +++ /dev/null<br>
> @@ -1,56 +0,0 @@<br>
> -Use extern "C" instead of __BEGIN_DECL/__END_DECL macros<br>
> -these macros are defined in sys/cdefs.h for glibc and this header is not available on all libc<br>
> -<br>
> -anyway they defined like below<br>
> -<br>
> -#ifdef __cplusplus<br>
> -# define __BEGIN_DECLS extern "C" {<br>
> -# define __END_DECLS }<br>
> -#else<br>
> -# define __BEGIN_DECLS /* empty */<br>
> -# define __END_DECLS /* empty */<br>
> -#endif<br>
> -<br>
> -__THROW macro is also not available on musl, defined thusly<br>
> -<br>
> -Upstream-Status: Pending<br>
> -<br>
> -Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br>
> -<br>
> -Index: attr-2.4.47/include/xattr.h<br>
> -===================================================================<br>
> ---- attr-2.4.47.orig/include/xattr.h 2014-04-02 00:01:30.252091280 -0700<br>
> -+++ attr-2.4.47/include/xattr.h 2014-04-02 00:12:57.985428099 -0700<br>
> -@@ -30,8 +30,20 @@<br>
> - #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */<br>
> - #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */<br>
> -<br>
> --<br>
> --__BEGIN_DECLS<br>
> -+#ifndef __THROW<br>
> -+# ifndef __GNUC_PREREQ<br>
> -+# define __GNUC_PREREQ(maj, min) (0)<br>
> -+# endif<br>
> -+# if defined __cplusplus && __GNUC_PREREQ (2,8)<br>
> -+# define __THROW throw ()<br>
> -+# else<br>
> -+# define __THROW<br>
> -+# endif<br>
> -+#endif<br>
> -+<br>
> -+#ifdef __cplusplus<br>
> -+extern "C" {<br>
> -+#endif<br>
> -<br>
> - extern int setxattr (const char *__path, const char *__name,<br>
> - const void *__value, size_t __size, int __flags) __THROW;<br>
> -@@ -58,6 +70,8 @@<br>
> - extern int lremovexattr (const char *__path, const char *__name) __THROW;<br>
> - extern int fremovexattr (int __filedes, const char *__name) __THROW;<br>
> -<br>
> --__END_DECLS<br>
> -+#ifdef __cplusplus<br>
> -+}<br>
> -+#endif<br>
> -<br>
> - #endif /* __XATTR_H__ */<br>
> diff --git a/meta/recipes-support/attr/attr/run-ptest b/meta/recipes-support/attr/attr/run-ptest<br>
> new file mode 100644<br>
> index 00000000000..f64244f2393<br>
> --- /dev/null<br>
> +++ b/meta/recipes-support/attr/attr/run-ptest<br>
> @@ -0,0 +1,3 @@<br>
> +#!/bin/sh<br>
> +<br>
> +make test-suite.log<br>
> diff --git a/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a> b/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
> deleted file mode 100644<br>
> index fc88bef830b..00000000000<br>
> --- a/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
> +++ /dev/null<br>
> @@ -1,15 +0,0 @@<br>
> -require attr.inc<br>
> -<br>
> -# <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> was missing from the release tarball. This should be fixed in<br>
> -# future releases of attr, remove this when updating the recipe.<br>
> -SRC_URI += "file://attr-Missing-configure.ac.patch \<br>
> - file://dont-use-decl-macros.patch \<br>
> - file://Remove-the-section-2-man-pages.patch \<br>
> - file://Remove-the-attr.5-man-page-moved-to-man-pages.patch \<br>
> - file://0001-Use-stdint-types-consistently.patch \<br>
> - "<br>
> -<br>
> -SRC_URI[md5sum] = "84f58dec00b60f2dc8fd1c9709291cc7"<br>
> -SRC_URI[sha256sum] = "25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859"<br>
> -<br>
> -BBCLASSEXTEND = "native nativesdk"<br>
> diff --git a/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a> b/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
> new file mode 100644<br>
> index 00000000000..530d4e48833<br>
> --- /dev/null<br>
> +++ b/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
> @@ -0,0 +1,6 @@<br>
> +require attr.inc<br>
> +<br>
> +SRC_URI[md5sum] = "bc1e5cb5c96d99b24886f1f527d3bb3d"<br>
> +SRC_URI[sha256sum] = "5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7"<br>
> +<br>
> +BBCLASSEXTEND = "native nativesdk"<br>
> diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc<br>
> deleted file mode 100644<br>
> index 9336ffc9389..00000000000<br>
> --- a/meta/recipes-support/attr/ea-acl.inc<br>
> +++ /dev/null<br>
> @@ -1,52 +0,0 @@<br>
> -# this build system is mostly shared by attr and acl<br>
> -<br>
> -SRC_URI += "file://relative-libdir.patch;striplevel=0 \<br>
> - "<br>
> -# This patch should be applied after '(attr\|acl)-Missing-configure.ac.patch'<br>
> -SRC_URI_append = " file://0001-Added-configure-option-to-enable-disable-static-libr.patch"<br>
> -<br>
> -inherit autotools-brokensep gettext<br>
> -<br>
> -# When upstream is using automake properly, this can be removed<br>
> -CLEANBROKEN = "1"<br>
> -<br>
> -# the package comes with a custom <a href="http://config.h.in" rel="noreferrer" target="_blank">config.h.in</a>, it cannot be<br>
> -# overwritten by autoheader<br>
> -EXTRA_AUTORECONF += "--exclude=autoheader"<br>
> -EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"<br>
> -EXTRA_OECONF_append_class-native = " --enable-gettext=no"<br>
> -EXTRA_OECONF_append_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS') == 'no')]}"<br>
> -<br>
> -EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"<br>
> -<br>
> -do_install () {<br>
> - oe_runmake install install-lib install-dev DIST_ROOT="${D}" ZIP="gzip -n"<br>
> -}<br>
> -<br>
> -do_install_append_class-native () {<br>
> - if test "${libdir}" = "${base_libdir}" ; then<br>
> - return<br>
> - fi<br>
> - librelpath=${@os.path.relpath(d.getVar('libdir'), d.getVar('base_libdir'))}<br>
> - baselibrelpath=${@os.path.relpath(d.getVar('base_libdir'), d.getVar('libdir'))}<br>
> -<br>
> - # Remove bad symlinks & create the correct symlinks<br>
> - if test -L ${D}${libdir}/lib${BPN}.so ; then<br>
> - rm -rf ${D}${libdir}/lib${BPN}.so<br>
> - ln -sf $baselibrelpath/lib${BPN}.so ${D}${libdir}/lib${BPN}.so<br>
> - fi<br>
> - if test -L ${D}${base_libdir}/lib${BPN}.a ; then<br>
> - rm -rf ${D}${base_libdir}/lib${BPN}.a<br>
> - ln -sf $librelpath/lib${BPN}.a ${D}${base_libdir}/lib${BPN}.a<br>
> - fi<br>
> - if test -L ${D}${base_libdir}/lib${BPN}.la ; then<br>
> - rm -rf ${D}${base_libdir}/lib${BPN}.la<br>
> - ln -sf $librelpath/lib${BPN}.la ${D}${base_libdir}/lib${BPN}.la<br>
> - fi<br>
> -}<br>
> -<br>
> -PACKAGES =+ "lib${BPN}"<br>
> -<br>
> -FILES_lib${BPN} = "${base_libdir}/lib*${SOLIBS}"<br>
> -<br>
> -BBCLASSEXTEND = "native"<br>
> diff --git a/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch b/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
> deleted file mode 100644<br>
> index 1c1159f2c90..00000000000<br>
> --- a/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
> +++ /dev/null<br>
> @@ -1,70 +0,0 @@<br>
> -From 01256c61ba126449c46dd4ab5d5e145488b981fa Mon Sep 17 00:00:00 2001<br>
> -From: Amarnath Valluri <<a href="mailto:amarnath.valluri@intel.com" target="_blank">amarnath.valluri@intel.com</a>><br>
> -Date: Mon, 23 Jan 2017 13:25:13 +0200<br>
> -Subject: [PATCH] Added configure option to enable/disable static library<br>
> -<br>
> -Create static library archive only in case of --enable-static.<br>
> -<br>
> -Upstream-Status: Pending<br>
> -<br>
> -Signed-off-by: Amarnath Valluri <<a href="mailto:amarnath.valluri@intel.com" target="_blank">amarnath.valluri@intel.com</a>><br>
> ----<br>
> - <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 6 ++++++<br>
> - include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a> | 1 +<br>
> - include/buildmacros | 3 +++<br>
> - 3 files changed, 10 insertions(+)<br>
> -<br>
> -diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -index b966d0e..e48268b 100644<br>
> ---- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> -@@ -26,6 +26,12 @@ AC_ARG_ENABLE(shared,<br>
> - enable_shared=yes)<br>
> - AC_SUBST(enable_shared)<br>
> -<br>
> -+AC_ARG_ENABLE(static,<br>
> -+[ --enable-static=[yes/no] Enable use of static libraries [default=yes]],,<br>
> -+ enable_static=yes)<br>
> -+AC_SUBST(enable_static)<br>
> -+<br>
> -+<br>
> - AC_ARG_ENABLE(gettext,<br>
> - [ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
> - enable_gettext=yes)<br>
> -diff --git a/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a> b/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
> -index d9931db..3b3dbd2 100644<br>
> ---- a/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
> -+++ b/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
> -@@ -71,6 +71,7 @@ RPMBUILD = @rpmbuild@<br>
> - RPM_VERSION = @rpm_version@<br>
> -<br>
> - ENABLE_SHARED = @enable_shared@<br>
> -+ENABLE_STATIC = @enable_static@<br>
> - ENABLE_GETTEXT = @enable_gettext@<br>
> -<br>
> - HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@<br>
> -diff --git a/include/buildmacros b/include/buildmacros<br>
> -index 39fa7e2..b0f25c5 100644<br>
> ---- a/include/buildmacros<br>
> -+++ b/include/buildmacros<br>
> -@@ -80,6 +80,7 @@ endif<br>
> - # /usr/lib.<br>
> - ifeq ($(ENABLE_SHARED),yes)<br>
> - INSTALL_LTLIB_DEV = \<br>
> -+ set -x; \<br>
> - cd $(TOPDIR)/$(LIBNAME)/.libs; \<br>
> - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \<br>
> - ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR); \<br>
> -@@ -88,7 +89,9 @@ INSTALL_LTLIB_DEV = \<br>
> - ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \<br>
> - if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \<br>
> - rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \<br>
> -+ if test "$(ENABLE_STATIC)" = "yes" ; then \<br>
> - ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
> -+ fi ;\<br>
> - ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
> - rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \<br>
> - ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
> ---<br>
> -2.7.4<br>
> -<br>
> diff --git a/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch b/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
> deleted file mode 100644<br>
> index d5ab83d7c68..00000000000<br>
> --- a/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
> +++ /dev/null<br>
> @@ -1,240 +0,0 @@<br>
> -From 6047c8522b91235ad1e835f44f5e36472d9d49b2 Mon Sep 17 00:00:00 2001<br>
> -From: Andreas Gruenbacher <<a href="mailto:andreas.gruenbacher@gmail.com" target="_blank">andreas.gruenbacher@gmail.com</a>><br>
> -Date: Wed, 22 Apr 2015 11:46:59 +0200<br>
> -Subject: [PATCH 2/2] Remove the attr.5 man page (moved to man-pages)<br>
> -<br>
> -Commit dce9b4448c7f2b22bd206cd068fb05cb2f3255b9 from<br>
> -<a href="https://git.savannah.nongnu.org/git/attr.git" rel="noreferrer" target="_blank">https://git.savannah.nongnu.org/git/attr.git</a><br>
> -<br>
> -The attr.5 page is part of the extended attribute system call documentation,<br>
> -which has been moved into the man-pages package. Move the attr.5 page there<br>
> -as well.<br>
> -<br>
> -Upstream-Status: Backport<br>
> -<br>
> -[MA: updated to apply directly to v2.4.47]<br>
> -Signed-off-by: Mark Asselstine <<a href="mailto:mark.asselstine@windriver.com" target="_blank">mark.asselstine@windriver.com</a>><br>
> ----<br>
> - man/Makefile | 2 +-<br>
> - man/man5/Makefile | 35 -------------<br>
> - man/man5/attr.5 | 153 ------------------------------------------------------<br>
> - 3 files changed, 1 insertion(+), 189 deletions(-)<br>
> - delete mode 100644 man/man5/Makefile<br>
> - delete mode 100644 man/man5/attr.5<br>
> -<br>
> -diff --git a/man/Makefile b/man/Makefile<br>
> -index 755daed..9301f09 100644<br>
> ---- a/man/Makefile<br>
> -+++ b/man/Makefile<br>
> -@@ -19,7 +19,7 @@<br>
> - TOPDIR = ..<br>
> - include $(TOPDIR)/include/builddefs<br>
> -<br>
> --SUBDIRS = man1 man3 man5<br>
> -+SUBDIRS = man1 man3<br>
> -<br>
> - default : $(SUBDIRS)<br>
> -<br>
> -diff --git a/man/man5/Makefile b/man/man5/Makefile<br>
> -deleted file mode 100644<br>
> -index 6b70d3d..0000000<br>
> ---- a/man/man5/Makefile<br>
> -+++ /dev/null<br>
> -@@ -1,35 +0,0 @@<br>
> --#<br>
> --# Copyright (c) 2000, 2002 Silicon Graphics, Inc. All Rights Reserved.<br>
> --# Copyright (C) 2009 Andreas Gruenbacher <<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>><br>
> --#<br>
> --# This program is free software: you can redistribute it and/or modify it<br>
> --# under the terms of the GNU General Public License as published by<br>
> --# the Free Software Foundation, either version 2 of the License, or<br>
> --# (at your option) any later version.<br>
> --#<br>
> --# This program is distributed in the hope that it will be useful,<br>
> --# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --# GNU General Public License for more details.<br>
> --#<br>
> --# You should have received a copy of the GNU General Public License<br>
> --# along with this program. If not, see <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --#<br>
> --<br>
> --TOPDIR = ../..<br>
> --include $(TOPDIR)/include/builddefs<br>
> --<br>
> --MAN_SECTION = 5<br>
> --<br>
> --MAN_PAGES = $(shell echo *.$(MAN_SECTION))<br>
> --MAN_DEST = $(PKG_MAN_DIR)/man$(MAN_SECTION)<br>
> --LSRCFILES = $(MAN_PAGES)<br>
> --<br>
> --default : $(MAN_PAGES)<br>
> --<br>
> --include $(BUILDRULES)<br>
> --<br>
> --install : default<br>
> -- $(INSTALL) -m 755 -d $(MAN_DEST)<br>
> -- $(INSTALL_MAN)<br>
> --install-dev install-lib:<br>
> -diff --git a/man/man5/attr.5 b/man/man5/attr.5<br>
> -deleted file mode 100644<br>
> -index a02757d..0000000<br>
> ---- a/man/man5/attr.5<br>
> -+++ /dev/null<br>
> -@@ -1,153 +0,0 @@<br>
> --.\" Extended attributes manual page<br>
> --.\"<br>
> --.\" Copyright (C) 2000, 2002, 2007 Andreas Gruenbacher <<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>><br>
> --.\" Copyright (C) 2001, 2002, 2004, 2007 Silicon Graphics, Inc.<br>
> --.\" All rights reserved.<br>
> --.\"<br>
> --.\" This is free documentation; you can redistribute it and/or<br>
> --.\" modify it under the terms of the GNU General Public License as<br>
> --.\" published by the Free Software Foundation; either version 2 of<br>
> --.\" the License, or (at your option) any later version.<br>
> --.\"<br>
> --.\" The GNU General Public License's references to "object code"<br>
> --.\" and "executables" are to be interpreted as the output of any<br>
> --.\" document formatting or typesetting system, including<br>
> --.\" intermediate and printed output.<br>
> --.\"<br>
> --.\" This manual is distributed in the hope that it will be useful,<br>
> --.\" but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --.\" GNU General Public License for more details.<br>
> --.\"<br>
> --.\" You should have received a copy of the GNU General Public<br>
> --.\" License along with this manual. If not, see<br>
> --.\" <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --.\"<br>
> --.TH ATTR 5<br>
> --.SH NAME<br>
> --attr - Extended attributes<br>
> --.SH DESCRIPTION<br>
> --Extended attributes are name:value pairs associated permanently with<br>
> --files and directories, similar to the environment strings associated<br>
> --with a process.<br>
> --An attribute may be defined or undefined.<br>
> --If it is defined, its value may be empty or non-empty.<br>
> --.PP<br>
> --Extended attributes are extensions to the normal attributes which are<br>
> --associated with all inodes in the system (i.e. the<br>
> --.BR stat (2)<br>
> --data).<br>
> --They are often used to provide additional functionality<br>
> --to a filesystem \- for example, additional security features such as<br>
> --Access Control Lists (ACLs) may be implemented using extended attributes.<br>
> --.PP<br>
> --Users with search access to a file or directory may retrieve a list of<br>
> --attribute names defined for that file or directory.<br>
> --.PP<br>
> --Extended attributes are accessed as atomic objects.<br>
> --Reading retrieves the whole value of an attribute and stores it in a buffer.<br>
> --Writing replaces any previous value with the new value.<br>
> --.PP<br>
> --Space consumed for extended attributes is counted towards the disk quotas<br>
> --of the file owner and file group.<br>
> --.PP<br>
> --Currently, support for extended attributes is implemented on Linux by the<br>
> --ext2, ext3, ext4, XFS, JFS and reiserfs filesystems.<br>
> --.SH EXTENDED ATTRIBUTE NAMESPACES<br>
> --Attribute names are zero-terminated strings.<br>
> --The attribute name is always specified in the fully qualified<br>
> --.IR namespace.attribute<br>
> --form, eg.<br>
> --.IR user.mime_type ,<br>
> --.IR trusted.md5sum ,<br>
> --.IR system.posix_acl_access ,<br>
> --or<br>
> --.IR security.selinux .<br>
> --.PP<br>
> --The namespace mechanism is used to define different classes of extended<br>
> --attributes.<br>
> --These different classes exist for several reasons, e.g. the permissions<br>
> --and capabilities required for manipulating extended attributes of one<br>
> --namespace may differ to another.<br>
> --.PP<br>
> --Currently the<br>
> --.IR security ,<br>
> --.IR system ,<br>
> --.IR trusted ,<br>
> --and<br>
> --.IR user<br>
> --extended attribute classes are defined as described below. Additional<br>
> --classes may be added in the future.<br>
> --.SS Extended security attributes<br>
> --The security attribute namespace is used by kernel security modules,<br>
> --such as Security Enhanced Linux.<br>
> --Read and write access permissions to security attributes depend on the<br>
> --policy implemented for each security attribute by the security module.<br>
> --When no security module is loaded, all processes have read access to<br>
> --extended security attributes, and write access is limited to processes<br>
> --that have the CAP_SYS_ADMIN capability.<br>
> --.SS Extended system attributes<br>
> --Extended system attributes are used by the kernel to store system<br>
> --objects such as Access Control Lists and Capabilities. Read and write<br>
> --access permissions to system attributes depend on the policy implemented<br>
> --for each system attribute implemented by filesystems in the kernel.<br>
> --.SS Trusted extended attributes<br>
> --Trusted extended attributes are visible and accessible only to processes that<br>
> --have the CAP_SYS_ADMIN capability (the super user usually has this<br>
> --capability).<br>
> --Attributes in this class are used to implement mechanisms in user<br>
> --space (i.e., outside the kernel) which keep information in extended attributes<br>
> --to which ordinary processes should not have access.<br>
> --.SS Extended user attributes<br>
> --Extended user attributes may be assigned to files and directories for<br>
> --storing arbitrary additional information such as the mime type,<br>
> --character set or encoding of a file. The access permissions for user<br>
> --attributes are defined by the file permission bits.<br>
> --.PP<br>
> --The file permission bits of regular files and directories are<br>
> --interpreted differently from the file permission bits of special files<br>
> --and symbolic links. For regular files and directories the file<br>
> --permission bits define access to the file's contents, while for device special<br>
> --files they define access to the device described by the special file.<br>
> --The file permissions of symbolic links are not used in access<br>
> --checks. These differences would allow users to consume filesystem resources in<br>
> --a way not controllable by disk quotas for group or world writable special files and directories.<br>
> --.PP<br>
> --For this reason, extended user attributes are only allowed for regular files and directories, and access to extended user attributes is restricted to the<br>
> --owner and to users with appropriate capabilities for directories with the<br>
> --sticky bit set (see the<br>
> --.BR chmod (1)<br>
> --manual page for an explanation of Sticky Directories).<br>
> --.SH FILESYSTEM DIFFERENCES<br>
> --The kernel and the filesystem may place limits on the maximum number<br>
> --and size of extended attributes that can be associated with a file.<br>
> --Some file systems, such as ext2/3 and reiserfs, require the filesystem<br>
> --to be mounted with the<br>
> --.B user_xattr<br>
> --mount option in order for extended user attributes to be used.<br>
> --.PP<br>
> --In the current ext2, ext3 and ext4 filesystem implementations, each<br>
> --extended attribute must fit on a single filesystem block (1024, 2048<br>
> --or 4096 bytes, depending on the block size specified when the<br>
> --filesystem was created).<br>
> --.PP<br>
> --In the XFS and reiserfs filesystem implementations, there is no<br>
> --practical limit on the number or size of extended attributes<br>
> --associated with a file, and the algorithms used to store extended<br>
> --attribute information on disk are scalable.<br>
> --.PP<br>
> --In the JFS filesystem implementation, names can be up to 255 bytes and<br>
> --values up to 65,535 bytes.<br>
> --.SH ADDITIONAL NOTES<br>
> --Since the filesystems on which extended attributes are stored might also<br>
> --be used on architectures with a different byte order and machine word<br>
> --size, care should be taken to store attribute values in an architecture<br>
> --independent format.<br>
> --.SH AUTHORS<br>
> --Andreas Gruenbacher,<br>
> --.RI < <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> ><br>
> --and the SGI XFS development team,<br>
> --.RI < <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> >.<br>
> --.SH SEE ALSO<br>
> --getfattr(1),<br>
> --setfattr(1).<br>
> ---<br>
> -2.7.4<br>
> -<br>
> diff --git a/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch b/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
> deleted file mode 100644<br>
> index 044c5a037c8..00000000000<br>
> --- a/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
> +++ /dev/null<br>
> @@ -1,666 +0,0 @@<br>
> -From b972600a26f3a930e53e2fce2625266a5d29813e Mon Sep 17 00:00:00 2001<br>
> -From: Andreas Gruenbacher <<a href="mailto:andreas.gruenbacher@gmail.com" target="_blank">andreas.gruenbacher@gmail.com</a>><br>
> -Date: Tue, 14 Apr 2015 23:53:11 +0200<br>
> -Subject: [PATCH 1/2] Remove the section 2 man pages<br>
> -<br>
> -Commit 8d1263bca95722d66a6f8e83450f49d0956ea534 from upstream<br>
> -<a href="https://git.savannah.nongnu.org/git/attr.git/" rel="noreferrer" target="_blank">https://git.savannah.nongnu.org/git/attr.git/</a><br>
> -<br>
> -The section 2 man pages have long since been added to the man-pages package<br>
> -which documents all system calls; they were disabled in attr by default since<br>
> -January 2014. Get rid of them here.<br>
> -<br>
> -Upstream-Status: Backport<br>
> -<br>
> -[MA: modified to apply directly to v2.4.47]<br>
> -Signed-off-by: Mark Asselstine <<a href="mailto:mark.asselstine@windriver.com" target="_blank">mark.asselstine@windriver.com</a>><br>
> ----<br>
> - man/Makefile | 2 +-<br>
> - man/man2/Makefile | 35 -----------<br>
> - man/man2/getxattr.2 | 143 --------------------------------------------<br>
> - man/man2/listxattr.2 | 158 -------------------------------------------------<br>
> - man/man2/removexattr.2 | 111 ----------------------------------<br>
> - man/man2/setxattr.2 | 143 --------------------------------------------<br>
> - 6 files changed, 1 insertion(+), 591 deletions(-)<br>
> - delete mode 100644 man/man2/Makefile<br>
> - delete mode 100644 man/man2/getxattr.2<br>
> - delete mode 100644 man/man2/listxattr.2<br>
> - delete mode 100644 man/man2/removexattr.2<br>
> - delete mode 100644 man/man2/setxattr.2<br>
> -<br>
> -diff --git a/man/Makefile b/man/Makefile<br>
> -index 9535426..755daed 100644<br>
> ---- a/man/Makefile<br>
> -+++ b/man/Makefile<br>
> -@@ -19,7 +19,7 @@<br>
> - TOPDIR = ..<br>
> - include $(TOPDIR)/include/builddefs<br>
> -<br>
> --SUBDIRS = man1 man2 man3 man5<br>
> -+SUBDIRS = man1 man3 man5<br>
> -<br>
> - default : $(SUBDIRS)<br>
> -<br>
> -diff --git a/man/man2/Makefile b/man/man2/Makefile<br>
> -deleted file mode 100644<br>
> -index d77309d..0000000<br>
> ---- a/man/man2/Makefile<br>
> -+++ /dev/null<br>
> -@@ -1,35 +0,0 @@<br>
> --#<br>
> --# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.<br>
> --# Copyright (C) 2009 Andreas Gruenbacher <<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>><br>
> --#<br>
> --# This program is free software: you can redistribute it and/or modify it<br>
> --# under the terms of the GNU General Public License as published by<br>
> --# the Free Software Foundation, either version 2 of the License, or<br>
> --# (at your option) any later version.<br>
> --#<br>
> --# This program is distributed in the hope that it will be useful,<br>
> --# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --# GNU General Public License for more details.<br>
> --#<br>
> --# You should have received a copy of the GNU General Public License<br>
> --# along with this program. If not, see <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --#<br>
> --<br>
> --TOPDIR = ../..<br>
> --include $(TOPDIR)/include/builddefs<br>
> --<br>
> --MAN_SECTION = 2<br>
> --<br>
> --MAN_PAGES = $(shell echo *.$(MAN_SECTION))<br>
> --MAN_DEST = $(PKG_MAN_DIR)/man$(MAN_SECTION)<br>
> --LSRCFILES = $(MAN_PAGES)<br>
> --<br>
> --default install : $(MAN_PAGES)<br>
> --<br>
> --include $(BUILDRULES)<br>
> --<br>
> --install-dev : default<br>
> -- $(INSTALL) -m 755 -d $(MAN_DEST)<br>
> -- $(INSTALL_MAN)<br>
> --install-lib:<br>
> -diff --git a/man/man2/getxattr.2 b/man/man2/getxattr.2<br>
> -deleted file mode 100644<br>
> -index 405ad89..0000000<br>
> ---- a/man/man2/getxattr.2<br>
> -+++ /dev/null<br>
> -@@ -1,143 +0,0 @@<br>
> --.\"<br>
> --.\" Extended attributes system calls manual pages<br>
> --.\"<br>
> --.\" (C) Andreas Gruenbacher, February 2001<br>
> --.\" (C) Silicon Graphics Inc, September 2001<br>
> --.\"<br>
> --.\" This is free documentation; you can redistribute it and/or<br>
> --.\" modify it under the terms of the GNU General Public License as<br>
> --.\" published by the Free Software Foundation; either version 2 of<br>
> --.\" the License, or (at your option) any later version.<br>
> --.\"<br>
> --.\" The GNU General Public License's references to "object code"<br>
> --.\" and "executables" are to be interpreted as the output of any<br>
> --.\" document formatting or typesetting system, including<br>
> --.\" intermediate and printed output.<br>
> --.\"<br>
> --.\" This manual is distributed in the hope that it will be useful,<br>
> --.\" but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --.\" GNU General Public License for more details.<br>
> --.\"<br>
> --.\" You should have received a copy of the GNU General Public<br>
> --.\" License along with this manual. If not, see<br>
> --.\" <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --.\"<br>
> --.TH GETXATTR 2 "Extended Attributes" "Dec 2001" "System calls"<br>
> --.SH NAME<br>
> --getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value<br>
> --.SH SYNOPSIS<br>
> --.fam C<br>
> --.nf<br>
> --.B #include <sys/types.h><br>
> --.B #include <attr/xattr.h><br>
> --.sp<br>
> --.BI "ssize_t getxattr (const char\ *" path ", const char\ *" name ",<br>
> --.BI "\t\t\t\t void\ *" value ", size_t " size );<br>
> --.BI "ssize_t lgetxattr (const char\ *" path ", const char\ *" name ",<br>
> --.BI "\t\t\t\t void\ *" value ", size_t " size );<br>
> --.BI "ssize_t fgetxattr (int " filedes ", const char\ *" name ",<br>
> --.BI "\t\t\t\t void\ *" value ", size_t " size );<br>
> --.fi<br>
> --.fam T<br>
> --.SH DESCRIPTION<br>
> --Extended attributes are<br>
> --.IR name :\c<br>
> --.I value<br>
> --pairs associated with inodes (files, directories, symlinks, etc).<br>
> --They are extensions to the normal attributes which are associated<br>
> --with all inodes in the system (i.e. the<br>
> --.BR stat (2)<br>
> --data).<br>
> --A complete overview of extended attributes concepts can be found in<br>
> --.BR attr (5).<br>
> --.PP<br>
> --.B getxattr<br>
> --retrieves the<br>
> --.I value<br>
> --of the extended attribute identified by<br>
> --.I name<br>
> --and associated with the given<br>
> --.I path<br>
> --in the filesystem.<br>
> --The length of the attribute<br>
> --.I value<br>
> --is returned.<br>
> --.PP<br>
> --.B lgetxattr<br>
> --is identical to<br>
> --.BR getxattr ,<br>
> --except in the case of a symbolic link, where the link itself is<br>
> --interrogated, not the file that it refers to.<br>
> --.PP<br>
> --.B fgetxattr<br>
> --is identical to<br>
> --.BR getxattr ,<br>
> --only the open file pointed to by<br>
> --.I filedes<br>
> --(as returned by<br>
> --.BR open (2))<br>
> --is interrogated in place of<br>
> --.IR path .<br>
> --.PP<br>
> --An extended attribute<br>
> --.I name<br>
> --is a simple NULL-terminated string.<br>
> --The name includes a namespace prefix \- there may be several, disjoint<br>
> --namespaces associated with an individual inode.<br>
> --The value of an extended attribute is a chunk of arbitrary textual or<br>
> --binary data of specified length.<br>
> --.PP<br>
> --An empty buffer of<br>
> --.I size<br>
> --zero can be passed into these calls to return the current size of the<br>
> --named extended attribute, which can be used to estimate the size of a<br>
> --buffer which is sufficiently large to hold the value associated with<br>
> --the extended attribute.<br>
> --.PP<br>
> --The interface is designed to allow guessing of initial buffer<br>
> --sizes, and to enlarge buffers when the return value indicates<br>
> --that the buffer provided was too small.<br>
> --.SH RETURN VALUE<br>
> --On success, a positive number is returned indicating the size of the<br>
> --extended attribute value.<br>
> --On failure, \-1 is returned and<br>
> --.I errno<br>
> --is set appropriately.<br>
> --.PP<br>
> --If the named attribute does not exist, or the process has no access to<br>
> --this attribute,<br>
> --.I errno<br>
> --is set to ENOATTR.<br>
> --.PP<br>
> --If the<br>
> --.I size<br>
> --of the<br>
> --.I value<br>
> --buffer is too small to hold the result,<br>
> --.I errno<br>
> --is set to ERANGE.<br>
> --.PP<br>
> --If extended attributes are not supported by the filesystem, or are disabled,<br>
> --.I errno<br>
> --is set to ENOTSUP.<br>
> --.PP<br>
> --The errors documented for the<br>
> --.BR stat (2)<br>
> --system call are also applicable here.<br>
> --.SH AUTHORS<br>
> --Andreas Gruenbacher,<br>
> --.RI < <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> ><br>
> --and the SGI XFS development team,<br>
> --.RI < <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> >.<br>
> --Please send any bug reports or comments to these addresses.<br>
> --.SH SEE ALSO<br>
> --.BR getfattr (1),<br>
> --.BR setfattr (1),<br>
> --.BR open (2),<br>
> --.BR stat (2),<br>
> --.BR setxattr (2),<br>
> --.BR listxattr (2),<br>
> --.BR removexattr (2),<br>
> --and<br>
> --.BR attr (5).<br>
> -diff --git a/man/man2/listxattr.2 b/man/man2/listxattr.2<br>
> -deleted file mode 100644<br>
> -index 8b4371c..0000000<br>
> ---- a/man/man2/listxattr.2<br>
> -+++ /dev/null<br>
> -@@ -1,158 +0,0 @@<br>
> --.\"<br>
> --.\" Extended attributes system calls manual pages<br>
> --.\"<br>
> --.\" (C) Andreas Gruenbacher, February 2001<br>
> --.\" (C) Silicon Graphics Inc, September 2001<br>
> --.\"<br>
> --.\" This is free documentation; you can redistribute it and/or<br>
> --.\" modify it under the terms of the GNU General Public License as<br>
> --.\" published by the Free Software Foundation; either version 2 of<br>
> --.\" the License, or (at your option) any later version.<br>
> --.\"<br>
> --.\" The GNU General Public License's references to "object code"<br>
> --.\" and "executables" are to be interpreted as the output of any<br>
> --.\" document formatting or typesetting system, including<br>
> --.\" intermediate and printed output.<br>
> --.\"<br>
> --.\" This manual is distributed in the hope that it will be useful,<br>
> --.\" but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --.\" GNU General Public License for more details.<br>
> --.\"<br>
> --.\" You should have received a copy of the GNU General Public<br>
> --.\" License along with this manual. If not, see<br>
> --.\" <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --.\"<br>
> --.TH LISTXATTR 2 "Extended Attributes" "Dec 2001" "System calls"<br>
> --.SH NAME<br>
> --listxattr, llistxattr, flistxattr \- list extended attribute names<br>
> --.SH SYNOPSIS<br>
> --.fam C<br>
> --.nf<br>
> --.B #include <sys/types.h><br>
> --.B #include <attr/xattr.h><br>
> --.sp<br>
> --.BI "ssize_t listxattr (const char\ *" path ",<br>
> --.BI "\t\t\t\t char\ *" list ", size_t " size );<br>
> --.BI "ssize_t llistxattr (const char\ *" path ",<br>
> --.BI "\t\t\t\t char\ *" list ", size_t " size );<br>
> --.BI "ssize_t flistxattr (int " filedes ",<br>
> --.BI "\t\t\t\t char\ *" list ", size_t " size );<br>
> --.fi<br>
> --.fam T<br>
> --.SH DESCRIPTION<br>
> --Extended attributes are name:value<br>
> --pairs associated with inodes (files, directories, symlinks, etc).<br>
> --They are extensions to the normal attributes which are associated<br>
> --with all inodes in the system (i.e. the<br>
> --.BR stat (2)<br>
> --data).<br>
> --A complete overview of extended attributes concepts can be found in<br>
> --.BR attr (5).<br>
> --.PP<br>
> --.B listxattr<br>
> --retrieves the<br>
> --.I list<br>
> --of extended attribute names associated with the given<br>
> --.I path<br>
> --in the filesystem.<br>
> --The list is the set of (NULL-terminated) names, one after the other.<br>
> --Names of extended attributes to which the calling process does not<br>
> --have access may be omitted from the list.<br>
> --The length of the attribute name<br>
> --.I list<br>
> --is returned.<br>
> --.PP<br>
> --.B llistxattr<br>
> --is identical to<br>
> --.BR listxattr ,<br>
> --except in the case of a symbolic link, where the list of names of<br>
> --extended attributes associated with the link itself is retrieved,<br>
> --not the file that it refers to.<br>
> --.I list<br>
> --is a caller-allocated buffer of size<br>
> --.IR size .<br>
> --.PP<br>
> --.B flistxattr<br>
> --is identical to<br>
> --.BR listxattr ,<br>
> --only the open file pointed to by<br>
> --.I filedes<br>
> --(as returned by<br>
> --.BR open (2))<br>
> --is interrogated in place of<br>
> --.IR path .<br>
> --.PP<br>
> --A single extended attribute<br>
> --.I name<br>
> --is a simple NULL-terminated string.<br>
> --The name includes a namespace prefix \- there may be several, disjoint<br>
> --namespaces associated with an individual inode.<br>
> --.PP<br>
> --An empty buffer of<br>
> --.I size<br>
> --zero can be passed into these calls to return the current size of the<br>
> --list of extended attribute names, which can be used to estimate the<br>
> --size of a buffer which is sufficiently large to hold the list of names.<br>
> --.SH EXAMPLES<br>
> --The<br>
> --.I list<br>
> --of names is returned as an unordered array of NULL-terminated character<br>
> --strings (attribute names are separated by NULL characters), like this:<br>
> --.fam C<br>
> --.RS<br>
> --.nf<br>
> --user.name1\\0system.name1\\0user.name2\\0<br>
> --.fi<br>
> --.RE<br>
> --.fam T<br>
> --.P<br>
> --Filesystems like ext2, ext3 and XFS which implement POSIX ACLs using<br>
> --extended attributes, might return a<br>
> --.I list<br>
> --like this:<br>
> --.fam C<br>
> --.RS<br>
> --.nf<br>
> --system.posix_acl_access\\0system.posix_acl_default\\0<br>
> --.fi<br>
> --.RE<br>
> --.fam T<br>
> --.SH RETURN VALUE<br>
> --On success, a positive number is returned indicating the size of the<br>
> --extended attribute name list.<br>
> --On failure, \-1 is returned and<br>
> --.I errno<br>
> --is set appropriately.<br>
> --.PP<br>
> --If the<br>
> --.I size<br>
> --of the<br>
> --.I list<br>
> --buffer is too small to hold the result,<br>
> --.I errno<br>
> --is set to ERANGE.<br>
> --.PP<br>
> --If extended attributes are not supported by the filesystem, or are disabled,<br>
> --.I errno<br>
> --is set to ENOTSUP.<br>
> --.PP<br>
> --The errors documented for the<br>
> --.BR stat (2)<br>
> --system call are also applicable here.<br>
> --.SH AUTHORS<br>
> --Andreas Gruenbacher,<br>
> --.RI < <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> ><br>
> --and the SGI XFS development team,<br>
> --.RI < <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> >.<br>
> --Please send any bug reports or comments to these addresses.<br>
> --.SH SEE ALSO<br>
> --.BR getfattr (1),<br>
> --.BR setfattr (1),<br>
> --.BR open (2),<br>
> --.BR stat (2),<br>
> --.BR getxattr (2),<br>
> --.BR setxattr (2),<br>
> --.BR removexattr (2),<br>
> --and<br>
> --.BR attr (5).<br>
> -diff --git a/man/man2/removexattr.2 b/man/man2/removexattr.2<br>
> -deleted file mode 100644<br>
> -index 2c7d934..0000000<br>
> ---- a/man/man2/removexattr.2<br>
> -+++ /dev/null<br>
> -@@ -1,111 +0,0 @@<br>
> --.\"<br>
> --.\" Extended attributes system calls manual pages<br>
> --.\"<br>
> --.\" (C) Andreas Gruenbacher, February 2001<br>
> --.\" (C) Silicon Graphics Inc, September 2001<br>
> --.\"<br>
> --.\" This is free documentation; you can redistribute it and/or<br>
> --.\" modify it under the terms of the GNU General Public License as<br>
> --.\" published by the Free Software Foundation; either version 2 of<br>
> --.\" the License, or (at your option) any later version.<br>
> --.\"<br>
> --.\" The GNU General Public License's references to "object code"<br>
> --.\" and "executables" are to be interpreted as the output of any<br>
> --.\" document formatting or typesetting system, including<br>
> --.\" intermediate and printed output.<br>
> --.\"<br>
> --.\" This manual is distributed in the hope that it will be useful,<br>
> --.\" but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --.\" GNU General Public License for more details.<br>
> --.\"<br>
> --.\" You should have received a copy of the GNU General Public<br>
> --.\" License along with this manual. If not, see<br>
> --.\" <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --.\"<br>
> --.TH REMOVEXATTR 2 "Extended Attributes" "Dec 2001" "System calls"<br>
> --.SH NAME<br>
> --removexattr, lremovexattr, fremovexattr \- remove an extended attribute<br>
> --.SH SYNOPSIS<br>
> --.fam C<br>
> --.nf<br>
> --.B #include <sys/types.h><br>
> --.B #include <attr/xattr.h><br>
> --.sp<br>
> --.BI "int removexattr (const char\ *" path ", const char\ *" name );<br>
> --.BI "int lremovexattr (const char\ *" path ", const char\ *" name );<br>
> --.BI "int fremovexattr (int " filedes ", const char\ *" name );<br>
> --.fi<br>
> --.fam T<br>
> --.SH DESCRIPTION<br>
> --Extended attributes are<br>
> --.IR name :\c<br>
> --value pairs associated with inodes (files, directories, symlinks, etc).<br>
> --They are extensions to the normal attributes which are associated<br>
> --with all inodes in the system (i.e. the<br>
> --.BR stat (2)<br>
> --data).<br>
> --A complete overview of extended attributes concepts can be found in<br>
> --.BR attr (5).<br>
> --.PP<br>
> --.B removexattr<br>
> --removes the extended attribute identified by<br>
> --.I name<br>
> --and associated with the given<br>
> --.I path<br>
> --in the filesystem.<br>
> --.PP<br>
> --.B lremovexattr<br>
> --is identical to<br>
> --.BR removexattr ,<br>
> --except in the case of a symbolic link, where the extended attribute is<br>
> --removed from the link itself, not the file that it refers to.<br>
> --.PP<br>
> --.B fremovexattr<br>
> --is identical to<br>
> --.BR removexattr ,<br>
> --only the extended attribute is removed from the open file pointed to by<br>
> --.I filedes<br>
> --(as returned by<br>
> --.BR open (2))<br>
> --in place of<br>
> --.IR path .<br>
> --.PP<br>
> --An extended attribute name is a simple NULL-terminated string.<br>
> --The<br>
> --.I name<br>
> --includes a namespace prefix \- there may be several, disjoint<br>
> --namespaces associated with an individual inode.<br>
> --.SH RETURN VALUE<br>
> --On success, zero is returned.<br>
> --On failure, \-1 is returned and<br>
> --.I errno<br>
> --is set appropriately.<br>
> --.PP<br>
> --If the named attribute does not exist,<br>
> --.I errno<br>
> --is set to ENOATTR.<br>
> --.PP<br>
> --If extended attributes are not supported by the filesystem, or are disabled,<br>
> --.I errno<br>
> --is set to ENOTSUP.<br>
> --.PP<br>
> --The errors documented for the<br>
> --.BR stat (2)<br>
> --system call are also applicable here.<br>
> --.SH AUTHORS<br>
> --Andreas Gruenbacher,<br>
> --.RI < <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> ><br>
> --and the SGI XFS development team,<br>
> --.RI < <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> >.<br>
> --Please send any bug reports or comments to these addresses.<br>
> --.SH SEE ALSO<br>
> --.BR getfattr (1),<br>
> --.BR setfattr (1),<br>
> --.BR open (2),<br>
> --.BR stat (2),<br>
> --.BR setxattr (2),<br>
> --.BR getxattr (2),<br>
> --.BR listxattr (2),<br>
> --and<br>
> --.BR attr (5).<br>
> -diff --git a/man/man2/setxattr.2 b/man/man2/setxattr.2<br>
> -deleted file mode 100644<br>
> -index b20dc9f..0000000<br>
> ---- a/man/man2/setxattr.2<br>
> -+++ /dev/null<br>
> -@@ -1,143 +0,0 @@<br>
> --.\"<br>
> --.\" Extended attributes system calls manual pages<br>
> --.\"<br>
> --.\" (C) Andreas Gruenbacher, February 2001<br>
> --.\" (C) Silicon Graphics Inc, September 2001<br>
> --.\"<br>
> --.\" This is free documentation; you can redistribute it and/or<br>
> --.\" modify it under the terms of the GNU General Public License as<br>
> --.\" published by the Free Software Foundation; either version 2 of<br>
> --.\" the License, or (at your option) any later version.<br>
> --.\"<br>
> --.\" The GNU General Public License's references to "object code"<br>
> --.\" and "executables" are to be interpreted as the output of any<br>
> --.\" document formatting or typesetting system, including<br>
> --.\" intermediate and printed output.<br>
> --.\"<br>
> --.\" This manual is distributed in the hope that it will be useful,<br>
> --.\" but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
> --.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
> --.\" GNU General Public License for more details.<br>
> --.\"<br>
> --.\" You should have received a copy of the GNU General Public<br>
> --.\" License along with this manual. If not, see<br>
> --.\" <<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
> --.\"<br>
> --.TH SETXATTR 2 "Extended Attributes" "Dec 2001" "System calls"<br>
> --.SH NAME<br>
> --setxattr, lsetxattr, fsetxattr \- set an extended attribute value<br>
> --.SH SYNOPSIS<br>
> --.fam C<br>
> --.nf<br>
> --.B #include <sys/types.h><br>
> --.B #include <attr/xattr.h><br>
> --.sp<br>
> --.BI "int setxattr (const char\ *" path ", const char\ *" name ",<br>
> --.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );<br>
> --.BI "int lsetxattr (const char\ *" path ", const char\ *" name ",<br>
> --.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );<br>
> --.BI "int fsetxattr (int " filedes ", const char\ *" name ",<br>
> --.BI "\t\t\t const void\ *" value ", size_t " size ", int " flags );<br>
> --.fi<br>
> --.fam T<br>
> --.SH DESCRIPTION<br>
> --Extended attributes are<br>
> --.IR name :\c<br>
> --.I value<br>
> --pairs associated with inodes (files, directories, symlinks, etc).<br>
> --They are extensions to the normal attributes which are associated<br>
> --with all inodes in the system (i.e. the<br>
> --.BR stat (2)<br>
> --data).<br>
> --A complete overview of extended attributes concepts can be found in<br>
> --.BR attr (5).<br>
> --.PP<br>
> --.B setxattr<br>
> --sets the<br>
> --.I value<br>
> --of the extended attribute identified by<br>
> --.I name<br>
> --and associated with the given<br>
> --.I path<br>
> --in the filesystem.<br>
> --The<br>
> --.I size<br>
> --of the<br>
> --.I value<br>
> --must be specified.<br>
> --.PP<br>
> --.B lsetxattr<br>
> --is identical to<br>
> --.BR setxattr ,<br>
> --except in the case of a symbolic link, where the extended attribute is<br>
> --set on the link itself, not the file that it refers to.<br>
> --.PP<br>
> --.B fsetxattr<br>
> --is identical to<br>
> --.BR setxattr ,<br>
> --only the extended attribute is set on the open file pointed to by<br>
> --.I filedes<br>
> --(as returned by<br>
> --.BR open (2))<br>
> --in place of<br>
> --.IR path .<br>
> --.PP<br>
> --An extended attribute name is a simple NULL-terminated string.<br>
> --The<br>
> --.I name<br>
> --includes a namespace prefix \- there may be several, disjoint<br>
> --namespaces associated with an individual inode.<br>
> --The<br>
> --.I value<br>
> --of an extended attribute is a chunk of arbitrary textual or<br>
> --binary data of specified length.<br>
> --.PP<br>
> --The<br>
> --.I flags<br>
> --parameter can be used to refine the semantics of the operation.<br>
> --XATTR_CREATE specifies a pure create, which fails if the named<br>
> --attribute exists already.<br>
> --XATTR_REPLACE specifies a pure replace operation, which fails if the<br>
> --named attribute does not already exist.<br>
> --By default (no flags), the extended attribute will be created if<br>
> --need be, or will simply replace the value if the attribute exists.<br>
> --.SH RETURN VALUE<br>
> --On success, zero is returned.<br>
> --On failure, \-1 is returned and<br>
> --.I errno<br>
> --is set appropriately.<br>
> --.PP<br>
> --If XATTR_CREATE is specified, and the attribute exists already,<br>
> --.I errno<br>
> --is set to EEXIST.<br>
> --If XATTR_REPLACE is specified, and the attribute does not exist,<br>
> --.I errno<br>
> --is set to ENOATTR.<br>
> --.PP<br>
> --If there is insufficient space remaining to store the extended attribute,<br>
> --.I errno<br>
> --is set to either ENOSPC, or EDQUOT if quota enforcement was the cause.<br>
> --.PP<br>
> --If extended attributes are not supported by the filesystem, or are disabled,<br>
> --.I errno<br>
> --is set to ENOTSUP.<br>
> --.PP<br>
> --The errors documented for the<br>
> --.BR stat (2)<br>
> --system call are also applicable here.<br>
> --.SH AUTHORS<br>
> --Andreas Gruenbacher,<br>
> --.RI < <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> ><br>
> --and the SGI XFS development team,<br>
> --.RI < <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> >.<br>
> --Please send any bug reports or comments to these addresses.<br>
> --.SH SEE ALSO<br>
> --.BR getfattr (1),<br>
> --.BR setfattr (1),<br>
> --.BR open (2),<br>
> --.BR stat (2),<br>
> --.BR getxattr (2),<br>
> --.BR listxattr (2),<br>
> --.BR removexattr (2),<br>
> --and<br>
> --.BR attr (5).<br>
> ---<br>
> -2.7.4<br>
> -<br>
> diff --git a/meta/recipes-support/attr/files/relative-libdir.patch b/meta/recipes-support/attr/files/relative-libdir.patch<br>
> deleted file mode 100644<br>
> index b72bf184d6f..00000000000<br>
> --- a/meta/recipes-support/attr/files/relative-libdir.patch<br>
> +++ /dev/null<br>
> @@ -1,25 +0,0 @@<br>
> -Upstream-Status: Pending<br>
> -<br>
> -use relative path in symbolic links, or it fails in staging<br>
> -sed expression from udev<br>
> -<br>
> -7/29/2010 - created by Qing He <<a href="mailto:qing.he@intel.com" target="_blank">qing.he@intel.com</a>><br>
> -<br>
> -diff -u include.orig/buildmacros include/buildmacros<br>
> ---- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800<br>
> -+++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800<br>
> -@@ -88,9 +88,11 @@<br>
> - ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \<br>
> - ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \<br>
> - if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \<br>
> -- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
> -- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
> -- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
> -+ rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \<br>
> -+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
> -+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
> -+ rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \<br>
> -+ ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
> - fi<br>
> - else<br>
> - INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)<br>
> diff --git a/meta/recipes-support/attr/files/run-ptest b/meta/recipes-support/attr/files/run-ptest<br>
> deleted file mode 100644<br>
> index a6c6867f2d9..00000000000<br>
> --- a/meta/recipes-support/attr/files/run-ptest<br>
> +++ /dev/null<br>
> @@ -1,5 +0,0 @@<br>
> -#!/bin/sh<br>
> -<br>
> -make -C test -k tests root-tests |sed \<br>
> - -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \<br>
> - -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|'<br>
> --<br>
> 2.17.1<br>
><br>
> --<br>
> _______________________________________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>