From 2ba55933c81f78f4e4c36e21c59e935f74ce0f52 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Fri, 5 Aug 2016 11:25:20 +0000 Subject: 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] Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton --- meta/recipes-support/attr/acl.inc | 2 +- meta/recipes-support/attr/attr.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support/attr') 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() { inherit ptest do_install_ptest() { - tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - ) + tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) mkdir ${D}${PTEST_PATH}/include cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ } 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() { inherit ptest do_install_ptest() { - tar -cf - test/ --exclude ext | ( cd ${D}${PTEST_PATH} && tar -xf - ) + tar -c --exclude=ext test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) mkdir ${D}${PTEST_PATH}/include for i in builddefs buildmacros buildrules; \ do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \ -- cgit 1.2.3-korg