Created
November 20, 2021 03:03
-
-
Save ursm/ed002afc7a3680c008451db001e97d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ecleankernel/layout/blspec.py b/ecleankernel/layout/blspec.py | |
index 7dcfdab..9b42c7b 100644 | |
--- a/ecleankernel/layout/blspec.py | |
+++ b/ecleankernel/layout/blspec.py | |
@@ -46,6 +46,9 @@ class BlSpecLayout(ModuleDirLayout): | |
self.bootdir = root / d / machine_id | |
if self.bootdir.is_dir(): | |
return | |
+ self.bootdir = root / d / 'Default' | |
+ if self.bootdir.is_dir(): | |
+ return | |
else: | |
raise LayoutNotFound(f'/boot/[EFI/]{machine_id} ' | |
f'not found') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment