build: image: add common and reproducible IMG_PART_SIGNATURE variable
authorPaul Spooren <[email protected]>
Mon, 4 Nov 2019 20:55:23 +0000 (10:55 -1000)
committerPetr Štetiar <[email protected]>
Mon, 11 Nov 2019 15:37:13 +0000 (16:37 +0100)
commit98d1c7d83485ed2b024bf8ab5f8ff7e2a66ab85e
tree63e5c237d4c23c2e11018d815b202990a72762fb
parent1c321237c29202e0ed5c168c625cc89fcabb609c
build: image: add common and reproducible IMG_PART_SIGNATURE variable

x86, mvebu and tegra targets are currently using more or less same
SIGNATURE variable which provides unique partition ID/signature, so it
makes sense to refactor it out into common variable which could be
reused by all targets.  While at it, make the content of the variable
reproducible.

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-March/016148.html
Signed-off-by: Paul Spooren <[email protected]>
Suggested-by: Jo-Philipp Wich <[email protected]>
[renamed to IMG_PARTSIGNATURE, reworked with epoch+vermagic hash]
Signed-off-by: Petr Štetiar <[email protected]>
include/image.mk