ukify: fix default path for hwids
The documentation and commit that added this seem to suggest this should
be under /usr/lib/systemd
fixes 117ec9db7e
This commit is contained in:
committed by
Luca Boccassi
parent
8030e0b19e
commit
9149c75953
+1
-1
@@ -1401,7 +1401,7 @@ def make_uki(opts: UkifyConfig) -> None:
|
||||
if opts.hwids is not None:
|
||||
hwids = parse_hwid_dir(Path(opts.hwids))
|
||||
else:
|
||||
hwids_dir = Path(f'/tmp/s/usr/lib/systemd/boot/hwids/{opts.efi_arch}')
|
||||
hwids_dir = Path(f'/usr/lib/systemd/boot/hwids/{opts.efi_arch}')
|
||||
if hwids_dir.is_dir():
|
||||
print(f'Automatically building .hwids section from {hwids_dir}', file=sys.stderr)
|
||||
hwids = parse_hwid_dir(hwids_dir)
|
||||
|
||||
Reference in New Issue
Block a user