]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: fix default path for hwids
authorClayton Craft <clayton@craftyguy.net>
Wed, 22 Apr 2026 18:00:04 +0000 (11:00 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 22 Apr 2026 22:05:50 +0000 (23:05 +0100)
The documentation and commit that added this seem to suggest this should
be under /usr/lib/systemd

fixes 117ec9db7e71357837190833d7731bc61ae54ecc

src/ukify/ukify.py

index 6f492bc9ba07f26bdcb3efb3658029a7d8554e18..03d475e5e763e37cb5a6f2e3feeb9cb9e0e0e03f 100755 (executable)
@@ -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)