Previously, we were unpacking our local configure.ac file directly into ${S} at
unpack time, which meant that the SOURCE_DATE_EPOCH was being set to the local
timestamp of that file.

Signed-off-by: Douglas Royds <douglas.ro...@taitradio.com>
---
 meta/recipes-support/attr/acl_2.2.52.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/attr/acl_2.2.52.bb 
b/meta/recipes-support/attr/acl_2.2.52.bb
index 6bc77d868d..b10767776d 100644
--- a/meta/recipes-support/attr/acl_2.2.52.bb
+++ b/meta/recipes-support/attr/acl_2.2.52.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
 DEPENDS = "attr"
 
 SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \
-           file://configure.ac;subdir=${BP} \
+           file://configure.ac \
            file://run-ptest \
            file://acl-fix-the-order-of-expected-output-of-getfacl.patch \
            file://test-fix-insufficient-quoting-of.patch \
@@ -25,6 +25,11 @@ SRC_URI[sha256sum] = 
"179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c787
 
 require ea-acl.inc
 
+copy_configure_ac_file() {
+       cp -v ${WORKDIR}/configure.ac ${S}
+}
+do_patch[prefuncs] += "copy_configure_ac_file"
+
 # avoid RPATH hardcode to staging dir
 do_configure_append() {
        sed -i ${S}/config.status -e 
s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
-- 
2.17.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to