aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/util-linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/util-linux.go')
-rw-r--r--internal/rosa/util-linux.go60
1 files changed, 0 insertions, 60 deletions
diff --git a/internal/rosa/util-linux.go b/internal/rosa/util-linux.go
deleted file mode 100644
index 80ec9f7e..00000000
--- a/internal/rosa/util-linux.go
+++ /dev/null
@@ -1,60 +0,0 @@
-package rosa
-
-import (
- "strings"
-
- "hakurei.app/internal/pkg"
-)
-
-func (t Toolchain) newUtilLinux() (pkg.Artifact, string) {
- const (
- version = "2.42"
- checksum = "Uy8Nxg9DsW5YwDoeaZeZTyQJ2YmnaaL_fSsQXsLUiFFUd7wnZeD_3SEaVO7ClJlk"
- )
- return t.NewPackage("util-linux", version, newTar(
- "https://www.kernel.org/pub/linux/utils/util-linux/"+
- "v"+strings.Join(strings.SplitN(version, ".", 3)[:2], ".")+
- "/util-linux-"+version+".tar.gz",
- checksum,
- pkg.TarGzip,
- ), &PackageAttr{
- ScriptEarly: `
-ln -s ../system/bin/bash /bin/
-`,
- }, &MakeHelper{
- Configure: []KV{
- {"disable-use-tty-group"},
- {"disable-makeinstall-setuid"},
- {"disable-makeinstall-chown"},
- {"enable-fs-paths-default", "" +
- "/system/sbin:" +
- "/system/sbin/fs.d:" +
- "/system/sbin/fs"},
-
- {"disable-su"},
- {"disable-liblastlog2"},
- {"disable-pam-lastlog2"},
- },
-
- // check script claims:
- // For development purpose only.
- // Don't execute on production system!
- SkipCheck: true,
- },
- Bash,
-
- KernelHeaders,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newUtilLinux, &Metadata{
- Name: "util-linux",
- Description: "a random collection of Linux utilities",
- Website: "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git",
-
- ID: 8179,
-
- // release candidates confuse Anitya
- latest: (*Versions).getStable,
- })
-}