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:
Clayton Craft
2026-04-22 23:05:50 +01:00
committed by Luca Boccassi
parent 8030e0b19e
commit 9149c75953
+1 -1
View File
@@ -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)