internal/rosa: create /bin symlinks via helper

This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-01 14:25:30 +09:00
parent 3ab7116b29
commit 3975dd3e0f
17 changed files with 67 additions and 62 deletions
+2 -2
View File
@@ -12,8 +12,6 @@ package git {
};
early = `
ln -s ../../system/bin/perl /usr/bin/ || true
# test suite assumes apache
rm -f /system/bin/httpd
`;
@@ -22,6 +20,8 @@ rm -f /system/bin/httpd
enterSource = true;
env = [ "NO_RUST=YesPlease" ];
bin = [ "perl" ];
populateUsrBin = true;
exec = make {
inPlace = true;
generate = "make configure";