internal/rosa/package: migrate remaining trivial packages

The rest are migrated individually.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 05:57:13 +09:00
parent 1a9974ffdc
commit 656059278d
24 changed files with 341 additions and 419 deletions

View File

@@ -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,
];
}