Removing efitools
configs/releng/build.sh: Removing the efitools based PreLoader.efi and HashTool.efi, as they are dead weight due to not allowing secure boot (FS#59487). Future secure boot functionality (most probably based on shim) is being discussed in FS#53864. Closes #17
This commit is contained in:
parent
5fbbb05a2e
commit
68df5746f2
@ -61,7 +61,7 @@ make_pacman_conf() {
|
|||||||
# Base installation, plus needed packages (airootfs)
|
# Base installation, plus needed packages (airootfs)
|
||||||
make_basefs() {
|
make_basefs() {
|
||||||
mkarchiso ${verbose} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" init
|
mkarchiso ${verbose} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" init
|
||||||
mkarchiso ${verbose} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "haveged intel-ucode amd-ucode memtest86+ mkinitcpio-nfs-utils nbd zsh efitools" install
|
mkarchiso ${verbose} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" -p "haveged intel-ucode amd-ucode memtest86+ mkinitcpio-nfs-utils nbd zsh" install
|
||||||
}
|
}
|
||||||
|
|
||||||
# Additional packages (airootfs)
|
# Additional packages (airootfs)
|
||||||
@ -153,10 +153,7 @@ make_isolinux() {
|
|||||||
# Prepare /EFI
|
# Prepare /EFI
|
||||||
make_efi() {
|
make_efi() {
|
||||||
mkdir -p ${work_dir}/iso/EFI/boot
|
mkdir -p ${work_dir}/iso/EFI/boot
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi
|
cp ${work_dir}/x86_64/airootfs/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/iso/EFI/boot/bootx64.efi
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/HashTool.efi ${work_dir}/iso/EFI/boot/
|
|
||||||
|
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/iso/EFI/boot/loader.efi
|
|
||||||
|
|
||||||
mkdir -p ${work_dir}/iso/loader/entries
|
mkdir -p ${work_dir}/iso/loader/entries
|
||||||
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/
|
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/
|
||||||
@ -189,10 +186,7 @@ make_efiboot() {
|
|||||||
cp ${work_dir}/iso/${install_dir}/boot/amd_ucode.img ${work_dir}/efiboot/EFI/archiso/amd_ucode.img
|
cp ${work_dir}/iso/${install_dir}/boot/amd_ucode.img ${work_dir}/efiboot/EFI/archiso/amd_ucode.img
|
||||||
|
|
||||||
mkdir -p ${work_dir}/efiboot/EFI/boot
|
mkdir -p ${work_dir}/efiboot/EFI/boot
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi ${work_dir}/efiboot/EFI/boot/bootx64.efi
|
cp ${work_dir}/x86_64/airootfs/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/efiboot/EFI/boot/bootx64.efi
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/HashTool.efi ${work_dir}/efiboot/EFI/boot/
|
|
||||||
|
|
||||||
cp ${work_dir}/x86_64/airootfs/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/efiboot/EFI/boot/loader.efi
|
|
||||||
|
|
||||||
mkdir -p ${work_dir}/efiboot/loader/entries
|
mkdir -p ${work_dir}/efiboot/loader/entries
|
||||||
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/
|
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/
|
||||||
|
Loading…
Reference in New Issue
Block a user