get-sources/verify-sources: reduce verbosity

This commit is contained in:
Joanna Rutkowska 2012-11-14 11:40:59 +01:00 committed by Marek Marczykowski
parent d3ca20fb86
commit 98796f66c1

View File

@ -51,27 +51,23 @@ URL_SIGN := $(SRC_BASEURL)/$(SIGN_FILE)
get-sources: $(SRC_FILE) $(SIGN_FILE) get-sources: $(SRC_FILE) $(SIGN_FILE)
$(SRC_FILE): $(SRC_FILE):
@echo -n "Downloading $(URL)... "
@wget -q -N $(URL) @wget -q -N $(URL)
@echo "OK."
$(SIGN_FILE): $(SIGN_FILE):
@echo -n "Downloading $(URL_SIGN)... "
@wget -q -N $(URL_SIGN) @wget -q -N $(URL_SIGN)
@echo "OK."
import-keys: import-keys:
gpg --import *-key.asc gpg -q --import *-key.asc
verify-sources: import-keys verify-sources: import-keys
ifeq ($(BUILD_FLAVOR),pvops) ifeq ($(BUILD_FLAVOR),pvops)
@bzcat $(SRC_FILE) | gpg --verify $(SIGN_FILE) - @bzcat $(SRC_FILE) | gpg -q --verify $(SIGN_FILE) - 2>/dev/null
else else
# @gpg --verify $(SIGN_FILE) $(SRC_FILE) # @gpg --verify $(SIGN_FILE) $(SRC_FILE)
# The key has been compromised # The key has been compromised
# and kernel.org decided not to release signature # and kernel.org decided not to release signature
# with a new key... oh, well... # with a new key... oh, well...
sha1sum -c ${HASH_FILE} sha1sum --quiet -c ${HASH_FILE}
endif endif
.PHONY: clean-sources .PHONY: clean-sources