aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/kernel/package.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-21 16:10:55 +0900
committerOphestra <cat@gensokyo.uk>2026-05-21 16:11:38 +0900
commit6546ddc64bcbf73c7419bac7af596b924005dbc3 (patch)
tree5e09262421b52a2ce626200c79d67f36fac74b94 /internal/rosa/package/kernel/package.az
parentcbf18b302d51c3e667ebe06cfebb14b90ccc93b7 (diff)
internal/rosa: expose in-place behaviour in generic helper
This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/kernel/package.az')
-rw-r--r--internal/rosa/package/kernel/package.az2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/rosa/package/kernel/package.az b/internal/rosa/package/kernel/package.az
index d768ebac..9460813d 100644
--- a/internal/rosa/package/kernel/package.az
+++ b/internal/rosa/package/kernel/package.az
@@ -153,7 +153,9 @@ package gen_init_cpio {
description = "a program in the kernel source tree for creating initramfs archive";
source = kernel-source;
+ enterSource = true;
exec = generic {
+ inPlace = true;
build = `
mkdir -p /work/system/bin/
cc -o /work/system/bin/gen_init_cpio usr/gen_init_cpio.c