initial EFI support
EFI/UEFI is mostly about partitioning and bootloader setup, at least from a distribution's point of view; so the appropriate tools should be handy and firmware interface module should not be exterminated from installer images but get autoloaded instead. Please note that while there exists 32-bit x86 EFI we don't bother with it at the time being: it's relevant to some irrelevant Xeon systems as well as for the older Intel Macs (<2008) that are long out of fashion anyways. That is, initially we deal with x86_64 EFI only.
This commit is contained in:
parent
12340b3165
commit
653b8e1df8
6
features.in/efi/README
Normal file
6
features.in/efi/README
Normal file
@ -0,0 +1,6 @@
|
||||
Фича добавляет в образы необходимое для поддержки EFI/UEFI.
|
||||
|
||||
См. тж.:
|
||||
* http://www.altlinux.org/UEFI
|
||||
* http://www.rodsbooks.com/efi-bootloaders/
|
||||
* https://bugzilla.altlinux.org/showdependencytree.cgi?id=27804
|
7
features.in/efi/config.mk
Normal file
7
features.in/efi/config.mk
Normal file
@ -0,0 +1,7 @@
|
||||
use/efi:
|
||||
@$(call add,THE_LISTS,$(call tags,base efi))
|
||||
@$(call add,INSTALL2_PACKAGES,dosfstools)
|
||||
|
||||
use/efi/debug: use/efi
|
||||
@$(call add,STAGE2_PACKAGES,efibootmgr gdisk)
|
||||
@$(call set,KFLAVOURS,led-ws) ### CONFIG_FB_EFI
|
4
features.in/efi/stage2/image-scripts.d/50-efi
Executable file
4
features.in/efi/stage2/image-scripts.d/50-efi
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# see also https://bugzilla.altlinux.org/27970
|
||||
|
||||
echo efivars >> /etc/modules
|
@ -17,7 +17,7 @@ rm -rf /lib/modules/*/kernel/drivers/char/{ipmi,hw_random,mwave,tpm}
|
||||
rm -rf /lib/modules/*/kernel/drivers/char/watchdog
|
||||
rm -rf /lib/modules/*/kernel/drivers/cpufreq
|
||||
rm -rf /lib/modules/*/kernel/drivers/edac
|
||||
rm -rf /lib/modules/*/kernel/drivers/firmware ###
|
||||
#rm -rf /lib/modules/*/kernel/drivers/firmware ### EFI
|
||||
rm -rf /lib/modules/*/kernel/drivers/gpio
|
||||
rm -rf /lib/modules/*/kernel/drivers/hwmon
|
||||
rm -rf /lib/modules/*/kernel/drivers/infiniband ###
|
||||
|
7
pkg.in/lists/tagged/base+efi
Normal file
7
pkg.in/lists/tagged/base+efi
Normal file
@ -0,0 +1,7 @@
|
||||
gdisk
|
||||
parted
|
||||
dosfstools
|
||||
grub2-efi
|
||||
elilo
|
||||
efibootmgr
|
||||
installer-feature-efi-stage3
|
Loading…
Reference in New Issue
Block a user