internal/rosa: remove legacy exec helper

This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-07-30 00:18:22 +09:00
parent 7908fb9583
commit 6487b41d92
16 changed files with 178 additions and 179 deletions
+2 -1
View File
@@ -10,7 +10,9 @@ package bison {
compress = gzip;
};
toyboxEarly = true;
exec = make {
omitDefaults = true;
check = [
"TESTSUITEFLAGS=" + jobsFlagE + "' " + skipGNUTests {
tests = [
@@ -24,6 +26,5 @@ package bison {
];
};
toyboxEarly = true;
inputs = [ m4 ];
}
+3 -1
View File
@@ -18,5 +18,7 @@ package byacc {
writable = true;
chmod = true;
exec = make {};
exec = make {
omitDefaults = true;
};
}
+12 -4
View File
@@ -17,9 +17,11 @@ package m4 {
chmod +w tests/test-c32ispunct.sh && echo '#!/bin/sh' > tests/test-c32ispunct.sh
`;
exec = make {};
toyboxEarly = true;
exec = make {
omitDefaults = true;
};
inputs = [
diffutils,
@@ -194,7 +196,9 @@ test_disable '#!/bin/sh' tests/cmp
`;
toyboxEarly = true;
exec = make {};
exec = make {
omitDefaults = true;
};
}
package patch {
@@ -218,7 +222,9 @@ test_disable '#!/bin/sh' tests/need-filename
`;
toyboxEarly = true;
exec = make {};
exec = make {
omitDefaults = true;
};
}
package grep {
@@ -328,6 +334,7 @@ package bash {
toyboxEarly = true;
exec = make {
omitDefaults = true;
configure = {
"without-bash-malloc";
};
@@ -364,6 +371,7 @@ test_disable 'int main(){return 0;}' gnulib-tests/test-lchown.c
`;
exec = make {
omitDefaults = true;
configure = {
"enable-single-binary": "symlinks";
};
+1
View File
@@ -25,6 +25,7 @@ package kernel-headers {
toyboxEarly = true;
exec = make {
omitDefaults = true;
skipConfigure = true;
make = [
"-f /usr/src/kernel-headers/Makefile",
+1
View File
@@ -15,6 +15,7 @@ package rsync {
toyboxEarly = true;
exec = make {
omitDefaults = true;
configure = {
"disable-openssl";
"disable-xxhash";