From 6fed6d67bd112af1383977cba57bee6ffbf6610b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 6 Aug 2026 15:51:05 +0900 Subject: [PATCH] internal/rosa/package: libaio Library for the dreaded AIO syscalls. Test suite is absurdly expensive. Required by lvm2. Signed-off-by: Ophestra --- internal/rosa/package/libaio.az | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 internal/rosa/package/libaio.az 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, + ]; +}