diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:26 +0900 |
| commit | 656059278d96c86987c261ae842592617ee17962 (patch) | |
| tree | 469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/squashfs.go | |
| parent | 1a9974ffdc63e9deb24e4c83f4b4ce566311360f (diff) | |
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/squashfs.go')
| -rw-r--r-- | internal/rosa/squashfs.go | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/internal/rosa/squashfs.go b/internal/rosa/squashfs.go deleted file mode 100644 index 267dd3d3..00000000 --- a/internal/rosa/squashfs.go +++ /dev/null @@ -1,58 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newSquashfsTools() (pkg.Artifact, string) { - const ( - version = "4.7.5" - checksum = "rF52wLQP-jeAmcD-48wqJcck8ZWRFwkax3T-7snaRf5EBnCQQh0YypMY9lwcivLz" - ) - return t.NewPackage("squashfs-tools", version, newFromGitHubRelease( - "plougher/squashfs-tools", - version, - "squashfs-tools-"+version+".tar.gz", - checksum, - pkg.TarGzip, - ), &PackageAttr{ - // uses source tree as scratch space - Writable: true, - Chmod: true, - - Env: []string{ - "CONFIG=1", - "XZ_SUPPORT=0", - "LZO_SUPPORT=0", - "LZ4_SUPPORT=0", - "COMP_DEFAULT=zstd", - "USE_PREBUILT_MANPAGES=y", - }, - ScriptEarly: "cd squashfs-tools", - }, &MakeHelper{ - SkipConfigure: true, - InPlace: true, - - SkipCheck: true, - Install: "make INSTALL_PREFIX=/work/system install", - }, - Sed, - - Zstd, - Gzip, - Zlib, - ), version -} -func init() { - native.mustRegister(Toolchain.newSquashfsTools, &Metadata{ - Name: "squashfs-tools", - Description: "tools to create and extract Squashfs filesystems", - Website: "https://github.com/plougher/squashfs-tools", - - Dependencies: P{ - Zstd, - Gzip, - Zlib, - }, - - ID: 4879, - }) -} |
