[OpenWrt-Devel] [PATCH] x86: generate reproducible UUID
ynezz at true.cz
Mon Nov 4 06:10:22 EST 2019
On November 4, 2019 4:02:07 AM UTC, Yousong Zhou <yszhou4tech at gmail.com> wrote:
>On Mon, 4 Nov 2019 at 07:47, Paul Spooren <mail at aparcar.org> wrote:
>> -SIGNATURE:=$(shell perl -e 'printf("%08x", rand(0xFFFFFFFF))')
>> +SIGNATURE:=$(shell echo "$(SOURCE_DATE_EPOCH)" | sha256sum | cut -c
>Maybe just unify with other targets should be enough.
Or even better, provide reusable variable in some included makefile and use that instead?
>10:SIGNATURE:=$(shell printf "%.8s" $(SOURCE_DATE_EPOCH))
>43:SIGNATURE:=$(shell perl -e 'printf("%08x", rand(0xFFFFFFFF))')
>16:SIGNATURE:=$(shell printf "%.8s" $(SOURCE_DATE_EPOCH))
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel