Skip to content

Commit

Permalink
fix boot entry creation to use actual removable media path
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhudson committed Aug 13, 2023
1 parent 47dc10c commit 1ab061f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion subiquity/server/controllers/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ async def configure_rp_boot_uefi(self, context, rp: Partition):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
rp.device.path,
"--part",
Expand Down
6 changes: 3 additions & 3 deletions subiquity/server/controllers/tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async def test_configure_rp_boot_uefi_add(self, m_get_efibootmgr):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",
Expand Down Expand Up @@ -282,7 +282,7 @@ async def test_configure_rp_boot_uefi_bootnext(self, m_get_efibootmgr):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",
Expand Down Expand Up @@ -312,7 +312,7 @@ async def test_configure_rp_boot_uefi_dup(self, m_get_efibootmgr):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",
Expand Down

0 comments on commit 1ab061f

Please sign in to comment.