How to get kernel build date on Raspberry Pi for mender integration checklist?

I built a yocto image (dunfell) with u-boot and mender based on meta-raspberry. Everything was ok.

In mender integration checklist I have to check kernel build date in both steps 12 and 16.
However if I run cat /proc/version the result is always:

Linux version 5.4.72-v7l (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP Mon Oct 19 11:12:20 UTC 2020

A month ago, before updating sources the result was:


Linux version 5.4.59-v7 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP Mon Aug 24 16:30:19 UTC 2020

Which is the best way to get kernel build date?

Probably I’m missing something, because I don’t understand why kernel has a fixed build date, in particular if compared to linux-imx of -fslc.

thanks

Actually with dunfell and reproducible builds enabled as default, timestamps are intentionally kept fixed, so that they do not change the binary.

We have actually updated the integration checklist and this step is omitted (replaced with another one),

1 Like