internal/rosa/package: libbpf
All checks were successful
Test / Create distribution (push) Successful in 2m35s
Test / Sandbox (push) Successful in 2m50s
Test / ShareFS (push) Successful in 3m40s
Test / Hakurei (push) Successful in 3m58s
Test / Sandbox (race detector) (push) Successful in 5m20s
Test / Hakurei (race detector) (push) Successful in 6m37s
Test / Flake checks (push) Successful in 1m19s
All checks were successful
Test / Create distribution (push) Successful in 2m35s
Test / Sandbox (push) Successful in 2m50s
Test / ShareFS (push) Successful in 3m40s
Test / Hakurei (push) Successful in 3m58s
Test / Sandbox (race detector) (push) Successful in 5m20s
Test / Hakurei (race detector) (push) Successful in 6m37s
Test / Flake checks (push) Successful in 1m19s
For eBPF support in iproute2. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -39,14 +39,14 @@ package iproute2 {
|
|||||||
bison,
|
bison,
|
||||||
flex,
|
flex,
|
||||||
|
|
||||||
elfutils,
|
libbpf,
|
||||||
libmnl,
|
libmnl,
|
||||||
libcap,
|
libcap,
|
||||||
kernel-headers,
|
kernel-headers,
|
||||||
];
|
];
|
||||||
|
|
||||||
runtime = [
|
runtime = [
|
||||||
elfutils,
|
libbpf,
|
||||||
libmnl,
|
libmnl,
|
||||||
libcap,
|
libcap,
|
||||||
];
|
];
|
||||||
|
|||||||
31
internal/rosa/package/libbpf.az
Normal file
31
internal/rosa/package/libbpf.az
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
package libbpf {
|
||||||
|
description = "the reference library for eBPF development";
|
||||||
|
website = "https://github.com/libbpf/libbpf";
|
||||||
|
anitya = 141355;
|
||||||
|
|
||||||
|
version# = "1.7.0";
|
||||||
|
source = remoteGitHub {
|
||||||
|
suffix = "libbpf/libbpf";
|
||||||
|
tag = "v"+version;
|
||||||
|
checksum = "Gsk3TYDTne6behhdiyRB0Y5GTGECRh2265VY7IQ_VB62vIm7U9oqzEW-Va5Tvi_w";
|
||||||
|
};
|
||||||
|
|
||||||
|
env = [ "PREFIX=/system" ];
|
||||||
|
early = "cd src";
|
||||||
|
writable = true;
|
||||||
|
chmod = true;
|
||||||
|
|
||||||
|
exec = make {
|
||||||
|
inPlace = true;
|
||||||
|
skipConfigure = true;
|
||||||
|
skipCheck = true;
|
||||||
|
install = "make DESTDIR=/work LIBSUBDIR=lib install";
|
||||||
|
};
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
elfutils,
|
||||||
|
kernel-headers,
|
||||||
|
];
|
||||||
|
|
||||||
|
runtime = [ elfutils ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user