diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-04-22 10:59:55 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-07-29 15:07:22 +0200 |
commit | 567fea276e16902be01f80cfb7be335f8d414622 (patch) | |
tree | f249f8264bf07a1b195dd5d722196d71b2e29cd5 /src/utils/bios.py | |
parent | 9d5291f47ae409a480b42f793c72a780b7a8afc6 (diff) |
utils: add postinstall.py
Replace ConfigureOs script by native calls to:
- update BCD via hivex using bcd.py and winreg.py infrastructure.
- restore efi bootloader restore_windows_efi_bootloader().
Call legacy scripts for remaining postinstall procedures to
replace them incrementally.
Define variable CONFIGUREOS_LEGACY_ENABLED as False by default.
Run legacy configureOs when CONFIGUREOS_LEGACY_ENABLED = True.
This serves as a auxiliar method to keep the restoration functional
in case of problems with the new configure_os logic.
Diffstat (limited to 'src/utils/bios.py')
0 files changed, 0 insertions, 0 deletions