From: Douglas Royds Date: Wed, 28 Nov 2018 21:13:17 +0000 (+1300) Subject: acl: Use install instead of cp X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15978 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df65ec47a8743aab2e06f920539a6d79b2d65b54;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git acl: Use install instead of cp Signed-off-by: Douglas Royds Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/attr/acl_2.2.52.bb b/meta/recipes-support/attr/acl_2.2.52.bb index 8b89de9b421..318308a009d 100644 --- a/meta/recipes-support/attr/acl_2.2.52.bb +++ b/meta/recipes-support/attr/acl_2.2.52.bb @@ -41,8 +41,8 @@ inherit ptest do_install_ptest() { 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/ + install -d ${D}${PTEST_PATH}/include + install -m 644 ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ # Remove any build host references sed -e "s:--sysroot=${STAGING_DIR_TARGET}::g" \ -e 's:${HOSTTOOLS_DIR}/::g' \