summaryrefslogtreecommitdiffstats
path: root/src/utils/postinstall.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: add postinstall.pyAlejandro Sirgo Rica2024-07-291-0/+170
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.