]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Use firmwared variable in one more place
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 28 Oct 2024 13:36:18 +0000 (14:36 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 28 Oct 2024 13:36:18 +0000 (14:36 +0100)
mkosi/kmod.py

index b3a8ec1f1e01df75a387591eb15c57cf94f67dc4..6ba873fbe6efc6d7f0ef2accf9fade42931aa6ce 100644 (file)
@@ -236,7 +236,7 @@ def process_kernel_modules(
             if fw in required:
                 continue
 
-            if any(fw.is_relative_to(Path("usr/lib/firmware") / d) for d in ("amd-ucode", "intel-ucode")):
+            if any(fw.is_relative_to(firmwared / d) for d in ("amd-ucode", "intel-ucode")):
                 continue
 
             p = root / fw