From a52037dc8b00351a870cf10bb30cf9f7996d6c80 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Tue, 6 Aug 2019 15:34:31 +0100 Subject: [PATCH] To increase debugging information available for boot issues, ensure that the final ISO checksum is also shown --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b7aa0f9..2205b34 100644 --- a/Makefile +++ b/Makefile @@ -238,15 +238,16 @@ GETELTORITO := ./scripts/geteltorito $(GETELTORITO) -o $@.tmp $< ./scripts/fix_mbr $@.tmp @mv $@.tmp $@ - $(call build_info,$<.report) + $(call build_info,$<) -# $1 is the bat file +# $1 is the base name of the ISO file built define build_info @echo @echo @echo Your build has completed with the following details: @echo - @cat $1 + @echo "Built ISO: `sha1sum $1`" + @cat $1.report endef # Add information about the FL2 file to the current report @@ -254,7 +255,7 @@ endef # $@ is the FL2 file being inserted into define buildinfo_FL2 @echo "Buildinfo: $(BUILDINFO)" >$@.report - @echo "Built: `sha1sum $@`" >>$@.report + @echo "Built FL2: `sha1sum $@`" >>$@.report @echo "" >>$@.report @cat $<.report >>$@.report endef @@ -368,7 +369,7 @@ rule_IMG_insert_DEPS = scripts/FL2_copyIMG scripts/xx30.encrypt define rule_niceISO_extract cp $< $@ cp $<.report $@.report - $(call build_info,$@.report) + $(call build_info,$@) endef rule_niceISO_extract_DEPS = # no extra dependancies