summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2016-08-05 11:25:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 10:46:31 +0100
commit262c81e3ca2583be2d44b7195747f1a42a10a9f3 (patch)
tree30a2d61eb80728c8effcea81f068ee2588cd9e56 /meta/recipes-support/attr
parent1f00fa182b615cfa1862cb5dcb6b0d868a508d84 (diff)
downloadpoky-262c81e3ca2583be2d44b7195747f1a42a10a9f3.tar.gz
quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29
Starting from tar 1.29 the --exclude option won't work anymore if is not used before the path. There are some recipes that copy the ptest using tar and --exclude option. This fixes these for OE-Core recipes. [YOCTO #9763] (From OE-Core rev: 2ba55933c81f78f4e4c36e21c59e935f74ce0f52) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr')
-rw-r--r--meta/recipes-support/attr/acl.inc2
-rw-r--r--meta/recipes-support/attr/attr.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
index aebebfd965..37a0218cbb 100644
--- a/meta/recipes-support/attr/acl.inc
+++ b/meta/recipes-support/attr/acl.inc
@@ -34,7 +34,7 @@ do_install_append() {
34inherit ptest 34inherit ptest
35 35
36do_install_ptest() { 36do_install_ptest() {
37 tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - ) 37 tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
38 mkdir ${D}${PTEST_PATH}/include 38 mkdir ${D}${PTEST_PATH}/include
39 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ 39 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
40} 40}
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
index 68609784d9..a1b0829e1f 100644
--- a/meta/recipes-support/attr/attr.inc
+++ b/meta/recipes-support/attr/attr.inc
@@ -26,7 +26,7 @@ do_install_append() {
26inherit ptest 26inherit ptest
27 27
28do_install_ptest() { 28do_install_ptest() {
29 tar -cf - test/ --exclude ext | ( cd ${D}${PTEST_PATH} && tar -xf - ) 29 tar -c --exclude=ext test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
30 mkdir ${D}${PTEST_PATH}/include 30 mkdir ${D}${PTEST_PATH}/include
31 for i in builddefs buildmacros buildrules; \ 31 for i in builddefs buildmacros buildrules; \
32 do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \ 32 do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \