diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-29 01:25:44 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-29 01:25:44 +0900 |
| commit | 536db533de2be6ffca53b7f3ef7ad042699b8e84 (patch) | |
| tree | e63cdd42d764dbb4d0684ecd17220e94ed00b3cb /internal/rosa/gnu.go | |
| parent | 07927006a86deadf00e934a85170b9c9d34fff4c (diff) | |
internal/rosa: install bash as sh
This works around software relying on bashisms even when explicitly invoking sh.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/gnu.go')
| -rw-r--r-- | internal/rosa/gnu.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go index c5a5d2cd..09414ebc 100644 --- a/internal/rosa/gnu.go +++ b/internal/rosa/gnu.go @@ -187,6 +187,7 @@ cd "$(mktemp -d)" --without-bash-malloc make "-j$(nproc)" check make DESTDIR=/work install +ln -s bash /work/system/bin/sh `, pkg.Path(AbsUsrSrc.Append("bash"), true, pkg.NewHTTPGetTar( nil, "https://ftp.gnu.org/gnu/bash/bash-"+version+".tar.gz", |
