From 3975dd3e0f6d446241841cdf5c011d4f5f77b5eb Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 1 Jul 2026 14:25:30 +0900 Subject: internal/rosa: create /bin symlinks via helper This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths. Signed-off-by: Ophestra --- internal/rosa/state.go | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 6b914edc..088963bf 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1004,15 +1004,17 @@ func (ctx *evalContext) pf( k("block"): &meta.Blocked, k("latest"): &meta.latest, - k("writable"): &attr.Writable, - k("chmod"): &attr.Chmod, - k("enterSource"): &attr.EnterSource, - k("env"): &attr.Env, - k("early"): &attr.ScriptEarly, - k("patches"): &patches, - k("files"): &files, - k("exclusive"): &excl, - k("toyboxEarly"): &early, + k("writable"): &attr.Writable, + k("chmod"): &attr.Chmod, + k("enterSource"): &attr.EnterSource, + k("env"): &attr.Env, + k("early"): &attr.ScriptEarly, + k("bin"): &attr.Bin, + k("populateUsrBin"): &attr.PopulateUsrBin, + k("patches"): &patches, + k("files"): &files, + k("exclusive"): &excl, + k("toyboxEarly"): &early, k("checksum"): &kc, k("output"): &output, -- cgit v1.3.1