path: root/configs/talkingparabola
diff options
authorDavid P <>2019-03-07 16:02:39 -0300
committerDavid P <>2019-03-07 16:34:59 -0300
commit255474286a8a065fe9cd101e154ec2d6fb69e22f (patch)
tree032cd26e644f219ab134f8365b93ed1a5937fe12 /configs/talkingparabola
parent325eacc9396fedbb1d4103867bfb32c446507125 (diff)
Add sha512 checksums for EFI Shell blobs
And download them from the latest tag, based on the UDK2018 branch (to follow archiso{32}), instead of the UDK2018 branch, which (due to the nature of git branches) I would have to update the checksums everytime someone updates the .efi files (although it is, in theory, not going to happen, since it's a branch from last year, but nah...) This should be temporary until someone gets EdkShellPkg to build successfully, because I've been able to build ShellPkg, but EdkShellPkg breaks, and it would be stupid to have ShellPkg built from source in our repos but EdkShellPkg directly from Github. However, that can be discussed. Looks like we would have to ship an special toolchain for building EdkShellPkg, since it is unmaitained (and obsolete, in fact it is no longer in the master branch of edk2), it may work with older GCC versions (I tried gcc5, looks like there is an improvement, but still breaks) Signed-off-by: David P <>
Diffstat (limited to 'configs/talkingparabola')
2 files changed, 11 insertions, 3 deletions
diff --git a/configs/talkingparabola/SHA512SUMS b/configs/talkingparabola/SHA512SUMS
new file mode 100644
index 0000000..08383eb
--- /dev/null
+++ b/configs/talkingparabola/SHA512SUMS
@@ -0,0 +1,2 @@
+52bf5ab98fad18468ef95b3cc504e8da99c769d1780fa2a788580e9afbdbbf2e495fee6723672d62ea60628aebd609e781543f57bc5b20f9c49ef6c47992a85f shellx64_v2.efi
+9f9e008bb8f586c2e6d80ce6205937cf31913e750b94a4f3005639179a33bf0a35f1a4207735f1d0a6547e7a72e470c5da05c93bf195abd784c38b78dcab9779 shellx64_v1.efi
diff --git a/configs/talkingparabola/ b/configs/talkingparabola/
index e19db38..619a7ce 100755
--- a/configs/talkingparabola/
+++ b/configs/talkingparabola/
@@ -24,7 +24,7 @@ script_path=$(readlink -f ${0%/*})
# All inits, except for systemd, use OpenRC as the
# daemon manager, so for example runit is in fact
-# runit + OpenRC. If this variable is left unset,
+# runit + OpenRC. If this variable is left unset,
# it will default to systemd
@@ -181,9 +181,15 @@ make_efi() {
${script_path}/efiboot/loader/entries/parabolaiso-x86_64-usb.conf > ${work_dir}/iso/loader/entries/parabolaiso-x86_64.conf
# EFI Shell 2.0 for UEFI 2.3+
- curl -o ${work_dir}/iso/EFI/shellx64_v2.efi
+ curl -o ${work_dir}/iso/EFI/shellx64_v2.efi
# EFI Shell 1.0 for non UEFI 2.3+
- curl -o ${work_dir}/iso/EFI/shellx64_v1.efi
+ curl -o ${work_dir}/iso/EFI/shellx64_v1.efi
+ # Checksums for EFI Shell
+ cp ${script_path}/SHA512SUMS ${work_dir}/iso/EFI/
+ cd ${work_dir}/iso/EFI/
+ sha512sum --quiet -c SHA512SUMS
+ rm SHA512SUMS
# Prepare efiboot.img::/EFI for "El Torito" EFI boot mode