1
0
forked from rosa/hakurei

internal/rosa: assume file source is xz-compressed

XZ happens to be the only widely-used format that is awful to deal with, everything else is natively supported.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-13 15:06:53 +09:00
parent f1c2ca4928
commit b587caf2e8
4 changed files with 12 additions and 22 deletions

View File

@@ -11,8 +11,6 @@ func (t Toolchain) newStrace() (pkg.Artifact, string) {
nil, "https://strace.io/files/"+version+"/strace-"+version+".tar.xz",
mustDecode(checksum),
), &PackageAttr{
SourceKind: SourceKindTarXZ,
// patch not possible with nonzero SourceKind
ScriptEarly: `
sed -i 's/off64_t/off_t/g' \