<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
My guess is that it is expecting Poky at the top. However, that is a pretty bad assumption.
<div><br>
</div>
<div>//Peter</div>
<div><br>
</div>
<div style="font-size:100%;color:#000000"><!-- originalMessage -->
<div>-------- Originalmeddelande --------</div>
<div>Från: Alex Kiernan <alex.kiernan@gmail.com> </div>
<div>Datum: 2018-06-22 12:20 (GMT+01:00) </div>
<div>Till: openembedded-core@lists.openembedded.org, juro.bystricky@intel.com </div>
<div>Rubrik: [OE-core] reproducible_final_image_task failing when REPRODUCIBLE_TIMESTAMP_ROOTFS unset
</div>
<div><br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">I'm trying to use BUILD_REPRODUCIBLE_BINARIES, but I tripped over a<br>
problem when I'd not set REPRODUCIBLE_TIMESTAMP_ROOTFS.<br>
<br>
In the reproducible_final_image_task (), we try to set<br>
REPRODUCIBLE_TIMESTAMP_ROOTFS based on the top most git timestamp, but<br>
that's failing because the working directory at that point is my build<br>
directory, which isn't git controlled:<br>
<br>
| NOTE: Executing reproducible_final_image_task ...<br>
| DEBUG: Executing shell function reproducible_final_image_task<br>
| fatal: Not a git repository (or any of the parent directories): .git<br>
| WARNING: /home/vagrant/poky-master/build/tmp/work/nanohub-poky-linux-gnueabi/nano-image-core/1.0-r0/temp/run.reproducible_final_image_task.3664:1<br>
exit 128 from 'REPRODUCIBLE_TIMESTAMP_ROOTFS=`git log -1<br>
--pretty=%ct`'<br>
<br>
Clearly just setting REPRODUCIBLE_TIMESTAMP_ROOTFS in my global config<br>
fixes the problem, but that doesn't help anyone else trying to use<br>
this... I'm really not sure what repo that piece of code is intending<br>
to target.<br>
<br>
-- <br>
Alex Kiernan<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
Openembedded-core@lists.openembedded.org<br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" target="_BLANK">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a></div>
</span></font>
</body>
</html>