internal/rosa/package/python: add kernel-headers
Test / Create distribution (push) Successful in 58s
Test / ShareFS (push) Successful in 7m52s
Test / Sandbox (race detector) (push) Successful in 8m34s
Test / Hakurei (race detector) (push) Successful in 9m42s
Test / Sandbox (push) Successful in 1m28s
Test / Hakurei (push) Successful in 3m43s
Test / Flake checks (push) Successful in 2m46s

Missing kernel headers implicitly disables many useful things. This change also enables PGO and installs symlink, since a rebuild is unavoidable.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-10 16:30:52 +09:00
parent c661a3b63a
commit 5992be3dd3
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -48,7 +48,9 @@ package python {
];
exec = make {
configure = { "enable-optimizations"; };
check = [ "test" ];
postInstall = "ln -s python3 /work/system/bin/python";
};
inputs = [
@@ -59,6 +61,8 @@ package python {
pkg-config,
xz,
kernel-headers,
];
runtime = [
+1 -1
View File
@@ -203,7 +203,7 @@ var absCureScript = AbsSystem.Append(".cure-script")
const (
// TExclusive denotes an exclusive [pkg.Artifact].
TExclusive = 1 << iota
// TEarly hints for an early variant of [Toybox] to be used when available.
// TEarly hints for an early variant of toybox to be used when available.
TEarly
// TNoToolchain excludes the LLVM toolchain.
TNoToolchain