On Sat, Sep 10, 2016 at 11:03:40PM +0200, Denis 'GNUtoo' Carikli wrote:
> This is to permit deterministic builds, while
> at the same time still permitting to identify
> which binary is running.
    ...
> --- a/src/Makefile.housekeeping
> +++ b/src/Makefile.housekeeping
    ...
> -# Command to generate build ID.  Must be unique for each $(BIN)/%.tmp,
> -# even within the same build run.
> -#
> -BUILD_ID_CMD := perl -e 'printf "0x%08x", int ( rand ( 0xffffffff ) );'
    ...
    ...
> -             --defsym _build_id=`$(BUILD_ID_CMD)` \
> +             --defsym _build_id=0x`cat $? | sha1sum | cut -c-8` \

What is "$?"


Groeten
Geert Stappers
-- 
Leven en laten leven
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to