mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 04:20:37 +02:00
ef2cf26539
* Some trivial changes * Use blkid for detecting GPT, better than parted * Split UEFISYS checking from GPT check - check_uefisyspart() * Simplify grub2-uefi code in iso generation by using grub-mkstandalone instead of grub-mkimage (upstream does not recommend using grub-mkimage directly due to stability issues), got rid of memdisk mounting etc., in both all-in-one and update-setup scripts * Split UEFI related common code and efibootmgr ones from grub2 functions so that other UEFI bootloaders can be implemented once they come out. * Split initcpio arch_efibootmgr hook from arch_grub2 . * Added arch_dmidecode hook. setup script uses dmidecode for detecting Apple systems (from non-Mac UEFI ones). * Remove i386-efi pkg and scripts from the initramfs and iso, setup script support is not removed. Mainly aimed at reducing iso size. * Replaced module-init-tools with kmod - in arch_base
16 lines
259 B
Text
16 lines
259 B
Text
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
MODULES="$(checked_modules "/firmware/efivars")"
|
|
BINARIES="/usr/sbin/efibootmgr"
|
|
FILES=""
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook includes efibootmgr on an arch boot image.
|
|
HELPEOF
|
|
}
|
|
|