diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-06 15:51:05 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-06 15:51:05 +0900 |
| commit | 6fed6d67bd112af1383977cba57bee6ffbf6610b (patch) | |
| tree | 6339eac5bcfaa779503b00511e8ef9bca2e6b67c | |
| parent | dcaf67b3d7366fa6aa79b5844799f4d8ca976a55 (diff) | |
internal/rosa/package: libaio
Library for the dreaded AIO syscalls. Test suite is absurdly expensive. Required by lvm2.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/package/libaio.az | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/internal/rosa/package/libaio.az b/internal/rosa/package/libaio.az new file mode 100644 index 00000000..b7982869 --- /dev/null +++ b/internal/rosa/package/libaio.az @@ -0,0 +1,37 @@ +package libaio { + description = "kernel asynchronous I/O (AIO) support"; + website = "https://lse.sourceforge.net/io/aio.html"; + anitya = 1557; + + version# = "0.3.113"; + source = remoteTar { + url = "https://pagure.io/libaio/archive/libaio-"+version+ + "/libaio-libaio-"+version+".tar.gz"; + compress = gzip; + checksum = "vUATfur4I3D742vjRhiGMLYDCm-blbsymb3JTUiM3RV5HIEWi0wDBiPqh7jJpMWd"; + }; + + enterSource = true; + writable = true; + chmod = true; + + env = [ "PATH=/system/sbin" ]; + bin = [ "bash" ]; + exec = make { + inPlace = true; + skipConfigure = true; + preCheck = "rm harness/cases/20.t; "+ // flaky + "CFLAGS='"+ + "-Wno-unknown-warning-option "+ + "-Wno-gnu-designator "+ + "-Wno-#warnings' "; + check = [ "partcheck" ]; + install = "make prefix=/work/system install"; + }; + + inputs = [ + bash, + e2fsprogs, + kernel-headers, + ]; +} |
