summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-03-07 16:02:39 -0300
committerDavid P <megver83@parabola.nu>2019-03-07 16:34:59 -0300
commit255474286a8a065fe9cd101e154ec2d6fb69e22f (patch)
tree032cd26e644f219ab134f8365b93ed1a5937fe12 /configs
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 <megver83@parabola.nu>
Diffstat (limited to 'configs')
-rw-r--r--configs/lxde-openrc/SHA512SUMS2
-rwxr-xr-xconfigs/lxde-openrc/build.sh10
-rw-r--r--configs/profile-openrc/SHA512SUMS2
-rwxr-xr-xconfigs/profile-openrc/build.sh12
-rw-r--r--configs/profile/SHA512SUMS2
-rwxr-xr-xconfigs/profile/build.sh12
-rw-r--r--configs/talkingparabola/SHA512SUMS2
-rwxr-xr-xconfigs/talkingparabola/build.sh12
8 files changed, 43 insertions, 11 deletions
diff --git a/configs/lxde-openrc/SHA512SUMS b/configs/lxde-openrc/SHA512SUMS
new file mode 100644
index 0000000..08383eb
--- /dev/null
+++ b/configs/lxde-openrc/SHA512SUMS
@@ -0,0 +1,2 @@
+52bf5ab98fad18468ef95b3cc504e8da99c769d1780fa2a788580e9afbdbbf2e495fee6723672d62ea60628aebd609e781543f57bc5b20f9c49ef6c47992a85f shellx64_v2.efi
+9f9e008bb8f586c2e6d80ce6205937cf31913e750b94a4f3005639179a33bf0a35f1a4207735f1d0a6547e7a72e470c5da05c93bf195abd784c38b78dcab9779 shellx64_v1.efi
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
diff --git a/configs/profile-openrc/SHA512SUMS b/configs/profile-openrc/SHA512SUMS
new file mode 100644
index 0000000..08383eb
--- /dev/null
+++ b/configs/profile-openrc/SHA512SUMS
@@ -0,0 +1,2 @@
+52bf5ab98fad18468ef95b3cc504e8da99c769d1780fa2a788580e9afbdbbf2e495fee6723672d62ea60628aebd609e781543f57bc5b20f9c49ef6c47992a85f shellx64_v2.efi
+9f9e008bb8f586c2e6d80ce6205937cf31913e750b94a4f3005639179a33bf0a35f1a4207735f1d0a6547e7a72e470c5da05c93bf195abd784c38b78dcab9779 shellx64_v1.efi
diff --git a/configs/profile-openrc/build.sh b/configs/profile-openrc/build.sh
index 9365603..1404769 100755
--- a/configs/profile-openrc/build.sh
+++ b/configs/profile-openrc/build.sh
@@ -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
init=openrc
@@ -179,9 +179,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
diff --git a/configs/profile/SHA512SUMS b/configs/profile/SHA512SUMS
new file mode 100644
index 0000000..08383eb
--- /dev/null
+++ b/configs/profile/SHA512SUMS
@@ -0,0 +1,2 @@
+52bf5ab98fad18468ef95b3cc504e8da99c769d1780fa2a788580e9afbdbbf2e495fee6723672d62ea60628aebd609e781543f57bc5b20f9c49ef6c47992a85f shellx64_v2.efi
+9f9e008bb8f586c2e6d80ce6205937cf31913e750b94a4f3005639179a33bf0a35f1a4207735f1d0a6547e7a72e470c5da05c93bf195abd784c38b78dcab9779 shellx64_v1.efi
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index f82b418..553be01 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -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
init=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 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
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/build.sh b/configs/talkingparabola/build.sh
index e19db38..619a7ce 100755
--- a/configs/talkingparabola/build.sh
+++ b/configs/talkingparabola/build.sh
@@ -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
init=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 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