generic-poky/meta/recipes-support/attr/acl
Robert Yang f81c0de905 acl: fix race issue when do_compile
Fixed race issue:
 In file included from acl_copy_entry.c:22:0:
 libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
  #include <sys/acl.h>

[snip]

 compilation terminated.
 acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
  #include <acl/libacl.h>
                         ^

The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .

So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.

Let libacl depend on include can fix the problem.

[YOCTO #11349]

(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
..
Makefile-libacl-should-depend-on-include.patch acl: fix race issue when do_compile 2017-04-19 10:18:43 +01:00
acl-fix-the-order-of-expected-output-of-getfacl.patch acl: fix the order of expected output of getfacl 2014-03-25 09:55:35 +00:00
configure.ac acl: drop in instead of patching configure.ac 2017-01-31 14:43:01 +00:00
run-ptest acl.inc, run-ptest: improve ptest functionality on limited rootfs 2016-05-20 10:20:55 +01:00
test-fix-directory-permissions.patch acl.inc, run-ptest: improve ptest functionality on limited rootfs 2016-05-20 10:20:55 +01:00
test-fix-insufficient-quoting-of.patch acl: Fix re pattern in test cases 2016-03-07 00:11:38 +00:00
test-fixups-on-SELinux-machines-for-root-testcases.patch acl: Fix re pattern in test cases 2016-03-07 00:11:38 +00:00