From 5b44cb159bbc2b46bcc9cd6b8612f7e05d4f3ae5 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 12 Jul 2015 16:35:14 +0100 Subject: download/coreboot: verify the checksums of downloaded files --- docs/maintain/index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/maintain') diff --git a/docs/maintain/index.html b/docs/maintain/index.html index add2ee9a..28a585d0 100644 --- a/docs/maintain/index.html +++ b/docs/maintain/index.html @@ -222,6 +222,18 @@ $ rm -Rf coreboot/

+

+ Note: you will also need to replace the sha512 sums in + resources/scripts/helpers/sha512sums/coreboot. Do this with + an unmodified version of coreboot, from the commit that you are using, + and make sure that the files/directories beginning with .git do not + appear in the list of sha512 checksums. You must also run the deblob + script to remove the blobs, before generating this list of sha512 sums. + You can generate the list like so:
+ $ rm -f ../resources/scripts/helpers/sha512sums/coreboot
+ $ for i in $(find -type f); do sha512sum "${i}" >> ../resources/scripts/helpers/sha512sums/coreboot; done +

+

Download coreboot again, only this time, using the download script. The download script also applies custom patches @@ -442,6 +454,7 @@ an unmodified version of GRUB, from the commit that you are using, and make sure that the files/directories beginning with .git do not appear in the list of sha512 checksums. You can generate the list like so:
+ $ rm -f ../resources/scripts/helpers/sha512sums/grub
$ for i in $(find -type f); do sha512sum "${i}" >> ../resources/scripts/helpers/sha512sums/grub; done

-- cgit v1.2.3-70-g09d2