Hi

On Tue, Dec 7, 2021 at 1:34 AM Richard Purdie
<richard.pur...@linuxfoundation.org> wrote:

> # Perform any additional adjustments needed to make rootf binary reproducible
> rootfs_reproducible () {
>         if [ "${REPRODUCIBLE_TIMESTAMP_ROOTFS}" != "" ]; then
>                 # Convert UTC into %4Y%2m%2d%2H%2M%2S
>                 sformatted=`date -u -d @${REPRODUCIBLE_TIMESTAMP_ROOTFS} 
> +%4Y%2m%2d%2H%2M%2S`
>                 echo $sformatted > ${IMAGE_ROOTFS}/etc/version
>                 bbnote "rootfs_reproducible: set /etc/version to $sformatted"
>
>                 if [ -d ${IMAGE_ROOTFS}${sysconfdir}/gconf ]; then
>                         find ${IMAGE_ROOTFS}${sysconfdir}/gconf -name 
> '%gconf.xml' -print0 | xargs -0r \
>                         sed -i -e 
> 's@\bmtime="[0-9][0-9]*"@mtime="'${REPRODUCIBLE_TIMESTAMP_ROOTFS}'"@g'
>                 fi
>         fi
> }
>
> so I'd try setting REPRODUCIBLE_TIMESTAMP_ROOTFS to "". I suspect the change
> above started setting that to some value incidentally.

confirmed by commenting out the echo above that that "solves the
issue", so it's in fact this code that is now wrongfully triggered.

/ Henrik
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55500): https://lists.yoctoproject.org/g/yocto/message/55500
Mute This Topic: https://lists.yoctoproject.org/mt/87544009/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to