fix boot entry creation to use actual removable media path

This commit is contained in:
Michael Hudson-Doyle 2023-08-14 09:10:37 +12:00
parent 47dc10c0c6
commit 1ab061f8d8
2 changed files with 4 additions and 4 deletions

View File

@ -525,7 +525,7 @@ class InstallController(SubiquityController):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
rp.device.path,
"--part",

View File

@ -251,7 +251,7 @@ class TestInstallController(unittest.IsolatedAsyncioTestCase):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",
@ -282,7 +282,7 @@ class TestInstallController(unittest.IsolatedAsyncioTestCase):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",
@ -312,7 +312,7 @@ class TestInstallController(unittest.IsolatedAsyncioTestCase):
"efibootmgr",
"--create",
"--loader",
"\\EFI\\boot\\shimx64.efi",
"\\EFI\\boot\\bootx64.efi",
"--disk",
self.part.device.path,
"--part",