From 255474286a8a065fe9cd101e154ec2d6fb69e22f Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 7 Mar 2019 16:02:39 -0300 Subject: 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 --- configs/lxde-openrc/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configs/lxde-openrc/build.sh') diff --git a/configs/lxde-openrc/build.sh b/configs/lxde-openrc/build.sh index 36868e0..56bf30a 100755 --- a/configs/lxde-openrc/build.sh +++ b/configs/lxde-openrc/build.sh @@ -183,9 +183,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 https://raw.githubusercontent.com/tianocore/edk2/UDK2018/ShellBinPkg/UefiShell/X64/Shell.efi + curl -o ${work_dir}/iso/EFI/shellx64_v2.efi https://raw.githubusercontent.com/tianocore/edk2/edk2-stable201811/ShellBinPkg/UefiShell/X64/Shell.efi # EFI Shell 1.0 for non UEFI 2.3+ - curl -o ${work_dir}/iso/EFI/shellx64_v1.efi https://raw.githubusercontent.com/tianocore/edk2/UDK2018/EdkShellBinPkg/FullShell/X64/Shell_Full.efi + curl -o ${work_dir}/iso/EFI/shellx64_v1.efi https://raw.githubusercontent.com/tianocore/edk2/edk2-stable201811/EdkShellBinPkg/FullShell/X64/Shell_Full.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 -- cgit v1.2.2