]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference
authorMatt Madison <matt@madison.systems>
Mon, 7 Sep 2020 13:21:15 +0000 (06:21 -0700)
committerSteve Sakoman <steve@sakoman.com>
Wed, 9 Sep 2020 14:14:28 +0000 (04:14 -1000)
commit21d7ab8ce10f6d6a56875244c09dcfebae457b22
treeb8e4e50f4711f66aa4ba5b822dc71b1bf61b652a
parent829443b3fafa000e330c06ebb144641bd2d20ad1
image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference

Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback
mechanism for getting the rootfs timestamp. However, it uses curly
braces around the variable name, which causes bitbake resolve the
variable reference, rather than the shell, so the git timestamp
never gets used. Fix the reference to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbcf2c1c255b0c61a795c032cf7b67f5db41baa8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/image.bbclass