feat: add linux kernel initramfs and related tools

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-09-07 03:13:55 +00:00
parent 5c89842dc0
commit 47ade913e2
10 changed files with 230 additions and 14 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
import typing
import hashlib
import os
from lib import arch
@@ -46,11 +47,11 @@ def builddep(s: str):
_builddep += ["gnu-make", "gnu-sed", "awk", "grep"]
elif s == "shortcut/rust":
builddep("shortcut/c")
_builddep += ["cargo", "rustc"]
_builddep += ["cargo", "rust"]
elif s == "shortcut/cmake":
_builddep += ["cmake", "ninja"]
_builddep += ["cmake", "ninja", "pkgconf"]
elif s == "shortcut/meson":
_builddep += ["meson", "ninja"]
_builddep += ["meson", "ninja", "pkgconf"]
else:
_builddep += [s.replace("@target", f"@{arch.get_target()}")]