Closed wfeldt closed 2 years ago
:heavy_check_mark: Public Jenkins job #404 successfully finished :heavy_check_mark: Created OBS submit request #937796
:heavy_check_mark: Internal Jenkins job #197 successfully finished :heavy_check_mark: Created IBS submit request #260048
Problem
EFI detection code is all over the place. Consolidate in one spot. As libstorage-ng is using this as well - rely on libstorage-ng.
Solution
Y2Storage::Arch.efibootmgr?
methodY2Storage::Arch.efiboot?
takesLIBSTORAGE_EFI
and/etc/install.inf::efi
settings into accountY2Storage::StorageManager.arch
is initialized takingLIBSTORAGE_EFI
and/etc/install.inf::efi
settings into accountNote
#efibootmgr?
and#efiboot?
are independent and do not rely on each other (#efiboot? == false
does not imply#efibootmgr? == false
, for example). This is how it works in libstorage-ng and the sematics are kept here.See also