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/package/util-linux.az | |
| 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/package/util-linux.az')
| -rw-r--r-- | internal/rosa/package/util-linux.az | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/internal/rosa/package/util-linux.az b/internal/rosa/package/util-linux.az new file mode 100644 index 00000000..b2055583 --- /dev/null +++ b/internal/rosa/package/util-linux.az @@ -0,0 +1,59 @@ +package util-linux { + description = "a random collection of Linux utilities"; + website = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"; + anitya = 8179; + // release candidates confuse Anitya + latest = anityaFallback; + + version* = "2.42"; + source = remoteTar { + url = "https://www.kernel.org/pub/linux/utils/util-linux/"+ + "v"+join { + elems = slice { + elems = split { + s = version; + sep = "."; + n = 3; + }; + end = 2; + }; + sep = "."; + }+"/util-linux-"+version+".tar.gz"; + checksum = "Uy8Nxg9DsW5YwDoeaZeZTyQJ2YmnaaL_fSsQXsLUiFFUd7wnZeD_3SEaVO7ClJlk"; + compress = gzip; + }; + + early = "\nln -s ../system/bin/bash /bin/\n"; + + exec = make { + configure = { + "disable-use-tty-group"; + "disable-makeinstall-setuid"; + "disable-makeinstall-chown"; + + "enable-fs-paths-default": join { + elems = [ + "/system/sbin", + "/system/sbin/fs.d", + "/system/sbin/fs", + ]; + sep = ":"; + }; + + "disable-su"; + "disable-liblastlog2"; + "disable-pam-lastlog2"; + }; + + // check script claims: + // For development purpose only. + // Don't execute on production system! + skipCheck = true; + }; + + inputs = [ + bash, + + kernel-headers, + ]; +} |
