mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-22 08:09:41 +00:00
Use the git hash as an identifier and quiet down the dd command
This commit is contained in:
parent
f873ae64c9
commit
91eb18a115
6
Makefile
6
Makefile
@ -18,6 +18,10 @@ BUILD_LOG := $(shell [ -d "$(log_dir)" ] || mkdir -p "$(log_dir)")
|
||||
# Timestamps should be in ISO format
|
||||
DATE=`date --rfc-3339=seconds`
|
||||
|
||||
# Some things want usernames, we use the current checkout
|
||||
# so that they are reproducible
|
||||
GIT_HASH := $(shell git rev-parse HEAD)
|
||||
|
||||
# If V is set in the environment, do not redirect the tee
|
||||
# command to /dev/null.
|
||||
ifeq "$V" ""
|
||||
@ -363,7 +367,7 @@ $(build)/$(coreboot_dir)/initrd.cpio.xz: initrd.cpio
|
||||
--lzma2=dict=1MiB \
|
||||
-9 \
|
||||
< "$<" \
|
||||
| dd bs=512 conv=sync > "$@" \
|
||||
| dd bs=512 conv=sync status=none > "$@" \
|
||||
)
|
||||
@sha256sum "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user