Skip to content

Instantly share code, notes, and snippets.

@ursm
Created November 20, 2021 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ursm/ed002afc7a3680c008451db001e97d99 to your computer and use it in GitHub Desktop.
Save ursm/ed002afc7a3680c008451db001e97d99 to your computer and use it in GitHub Desktop.
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