diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2012-08-21 15:43:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 12:15:31 +0100 |
commit | 3435ce1586d9a6af79f47c5a2dc6d7f225b50b98 (patch) | |
tree | 3b622ce8a163ee67f577ef8c31846bcb7c063882 | |
parent | 46b3ab1f2bdd01041c91ad1576351f1e4e948f2b (diff) | |
download | poky-3435ce1586d9a6af79f47c5a2dc6d7f225b50b98.tar.gz |
coreutils: fix to build with acl support
Fix the issue that coreutils was built without acl support:
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: GNU coreutils will be built without ACL support.
which will cause ls and cp commands don't have the ACL related behaviors:
ls -l: no plus sign(+) after the permission string for files that have ACL
cp -p: can not preserves the ACLs.
[YOCTO #2959]
(From OE-Core rev: b30ef39cc26dd0b6ed08bd2b1a6394de6b540720)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-build-with-acl.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-build-with-acl.patch new file mode 100644 index 0000000000..8273d78eb3 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-build-with-acl.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Fix the following issue so that coreutils can build with ACL: | ||
4 | |||
5 | configure: WARNING: libacl development library was not found or not usable. | ||
6 | configure: WARNING: GNU coreutils will be built without ACL support. | ||
7 | |||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
9 | --- | ||
10 | m4/acl.m4 | 2 +- | ||
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/m4/acl.m4 b/m4/acl.m4 | ||
14 | index d6a448a..a9d4836 100644 | ||
15 | --- a/m4/acl.m4 | ||
16 | +++ b/m4/acl.m4 | ||
17 | @@ -159,7 +159,7 @@ AC_DEFUN([gl_ACL_GET_FILE], | ||
18 | ]])], | ||
19 | [gl_cv_func_working_acl_get_file=yes], | ||
20 | [gl_cv_func_working_acl_get_file=no], | ||
21 | - [gl_cv_func_working_acl_get_file=cross-compiling])]) | ||
22 | + [gl_cv_func_working_acl_get_file=yes])]) | ||
23 | |||
24 | AS_IF([test $gl_cv_func_working_acl_get_file = yes], [$1], [$2]) | ||
25 | ]) | ||
26 | -- | ||
27 | 1.7.7 | ||
28 | |||
diff --git a/meta/recipes-core/coreutils/coreutils-8.14/coreutils-build-with-acl.patch b/meta/recipes-core/coreutils/coreutils-8.14/coreutils-build-with-acl.patch new file mode 100644 index 0000000000..8273d78eb3 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-8.14/coreutils-build-with-acl.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Fix the following issue so that coreutils can build with ACL: | ||
4 | |||
5 | configure: WARNING: libacl development library was not found or not usable. | ||
6 | configure: WARNING: GNU coreutils will be built without ACL support. | ||
7 | |||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
9 | --- | ||
10 | m4/acl.m4 | 2 +- | ||
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/m4/acl.m4 b/m4/acl.m4 | ||
14 | index d6a448a..a9d4836 100644 | ||
15 | --- a/m4/acl.m4 | ||
16 | +++ b/m4/acl.m4 | ||
17 | @@ -159,7 +159,7 @@ AC_DEFUN([gl_ACL_GET_FILE], | ||
18 | ]])], | ||
19 | [gl_cv_func_working_acl_get_file=yes], | ||
20 | [gl_cv_func_working_acl_get_file=no], | ||
21 | - [gl_cv_func_working_acl_get_file=cross-compiling])]) | ||
22 | + [gl_cv_func_working_acl_get_file=yes])]) | ||
23 | |||
24 | AS_IF([test $gl_cv_func_working_acl_get_file = yes], [$1], [$2]) | ||
25 | ]) | ||
26 | -- | ||
27 | 1.7.7 | ||
28 | |||
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 5bfab163fb..20d8120930 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb | |||
@@ -24,6 +24,7 @@ SRC_URI_BASE = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ | |||
24 | file://coreutils-fix-install.patch \ | 24 | file://coreutils-fix-install.patch \ |
25 | file://man-touch.patch \ | 25 | file://man-touch.patch \ |
26 | file://coreutils_fix_for_automake-1.12.patch \ | 26 | file://coreutils_fix_for_automake-1.12.patch \ |
27 | file://coreutils-build-with-acl.patch \ | ||
27 | " | 28 | " |
28 | 29 | ||
29 | SRC_URI = "${SRC_URI_BASE} file://fix_for_manpage_building.patch" | 30 | SRC_URI = "${SRC_URI_BASE} file://fix_for_manpage_building.patch" |
diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb index 9a714a95f0..178bd674c6 100644 --- a/meta/recipes-core/coreutils/coreutils_8.14.bb +++ b/meta/recipes-core/coreutils/coreutils_8.14.bb | |||
@@ -16,6 +16,7 @@ inherit autotools gettext | |||
16 | SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ | 16 | SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ |
17 | file://remove-usr-local-lib-from-m4.patch \ | 17 | file://remove-usr-local-lib-from-m4.patch \ |
18 | file://remove-gets.patch \ | 18 | file://remove-gets.patch \ |
19 | file://coreutils-build-with-acl.patch \ | ||
19 | " | 20 | " |
20 | SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a" | 21 | SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a" |
21 | SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d" | 22 | SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d" |