Reviewed-on: #114pull/115/head 1.4.3
commit
faf4c2ae26
|
@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.4.4] - 2025-09-09
|
||||
|
||||
## Change
|
||||
|
||||
- Oggit Windows EFI boot fixes v2
|
||||
|
||||
|
||||
## [1.4.3] - 2025-09-09
|
||||
|
||||
## Change
|
||||
|
|
|
@ -833,6 +833,9 @@ class OpengnsysGitLibrary:
|
|||
boot_device = self.fs.find_boot_device()
|
||||
boot_mount = self.fs.find_mountpoint(boot_device)
|
||||
loader_dir = os.path.join(boot_mount, "EFI", "Microsoft", "Boot")
|
||||
loader_file = os.path.join(loader_dir, "bootmgfw.efi")
|
||||
ogloader_file = os.path.join(ogboot_dir, "ogloader.efi")
|
||||
|
||||
|
||||
if os.path.exists(loader_dir):
|
||||
if os.path.exists(ogboot_dir):
|
||||
|
@ -840,7 +843,10 @@ class OpengnsysGitLibrary:
|
|||
shutil.rmtree(ogboot_dir)
|
||||
|
||||
self.logger.debug("Copying Windows boot files from %s to %s", loader_dir, ogboot_dir)
|
||||
shutil.copytree(loader_dir, ogboot_dir)
|
||||
shutil.copytree(loader_dir, ogboot_dir, symlinks=True)
|
||||
|
||||
self.logger.debug("Copying loader from %s to %s", loader_file, ogloader_file)
|
||||
shutil.copy(loader_file, ogloader_file)
|
||||
else:
|
||||
self.logger.error("Failed to find Windows bootloader in %s", loader_dir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue