internal/rosa/package: iproute2
All checks were successful
Test / Create distribution (push) Successful in 2m54s
Test / Sandbox (push) Successful in 3m15s
Test / ShareFS (push) Successful in 4m5s
Test / Hakurei (push) Successful in 4m18s
Test / Sandbox (race detector) (push) Successful in 5m44s
Test / Hakurei (race detector) (push) Successful in 6m56s
Test / Flake checks (push) Successful in 1m20s
All checks were successful
Test / Create distribution (push) Successful in 2m54s
Test / Sandbox (push) Successful in 3m15s
Test / ShareFS (push) Successful in 4m5s
Test / Hakurei (push) Successful in 4m18s
Test / Sandbox (race detector) (push) Successful in 5m44s
Test / Hakurei (race detector) (push) Successful in 6m56s
Test / Flake checks (push) Successful in 1m20s
Useful for debugging for now. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
53
internal/rosa/package/iproute2.az
Normal file
53
internal/rosa/package/iproute2.az
Normal file
@@ -0,0 +1,53 @@
|
||||
package iproute2 {
|
||||
description = "routing commands and utilities";
|
||||
website = "https://wiki.linuxfoundation.org/networking/iproute2";
|
||||
anitya = 1392;
|
||||
|
||||
version# = "7.0.0";
|
||||
source = remoteTar {
|
||||
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/"+
|
||||
"snapshot/iproute2-"+version+".tar.gz";
|
||||
checksum = "6SNrMEKYMO-Nt4u_Ni-qOnBpzuokkf515ya-75l6APNbZwihXy8Utv1snbUpHx3T";
|
||||
compress = gzip;
|
||||
};
|
||||
|
||||
env = [
|
||||
"CC=cc",
|
||||
"PREFIX=/system",
|
||||
"SBINDIR=/system/sbin",
|
||||
];
|
||||
enterSource = true;
|
||||
writable = true;
|
||||
chmod = true;
|
||||
|
||||
exec = make {
|
||||
inPlace = true;
|
||||
// drop default autoconf options
|
||||
configureName = "./configure";
|
||||
configure = {
|
||||
"prefix": "/system";
|
||||
"color": "auto";
|
||||
};
|
||||
make = [ "CC=cc" ];
|
||||
// wants root
|
||||
skipCheck = true;
|
||||
};
|
||||
|
||||
inputs = [
|
||||
pkg-config,
|
||||
m4,
|
||||
bison,
|
||||
flex,
|
||||
|
||||
elfutils,
|
||||
libmnl,
|
||||
libcap,
|
||||
kernel-headers,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
elfutils,
|
||||
libmnl,
|
||||
libcap,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user