Skip to content

Commit 27b93b8

Browse files
committed
Update libbpf and bpftool for alpine and nix
1 parent ebb78e8 commit 27b93b8

File tree

2 files changed

+9
-6
lines changed
  • packages
    • conf-bpftool/conf-bpftool.0.1.0
    • libbpf/libbpf.0.1.0

2 files changed

+9
-6
lines changed

packages/conf-bpftool/conf-bpftool.0.1.0/opam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ available: [ os = "linux" ]
1010
depexts: [
1111
[ "linux-tools-common" ] {os-distribution = "ubuntu"}
1212
[ "bpftool" ] {os-distribution = "debian"}
13-
[ "bpftool" ] {os-family = "fedora"}
13+
[ "bpftool" ] {os-family = "fedora"}
14+
[ "bpftools" ] {os-distribution = "nixos"}
15+
[ "bpftool" ] {os-distribution = "alpine"}
1416
]
1517
flags: conf
1618
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"

packages/libbpf/libbpf.0.1.0/opam

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
3737
# eBPF features by kernel version https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md
3838
# Fix to kernel >= 6.1 to provide bound BPF map types
3939
available: [ os = "linux" &
40-
(( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
41-
|( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
42-
|( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
43-
|( os-distribution = "nixos" & os-version >= "23.05" )) # Linux 6.1 & Libbpf 1.1.0
44-
]
40+
(( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
41+
|( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
42+
|( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
43+
|( os-distribution = "nixos" & os-version >= "23.05" ) # Linux 6.1 & Libbpf 1.1.0
44+
|( os-distribution = "alpine" & os-version >= "3.18")) # Linux 6.1 & Libbpf 1.2.2
45+
]
4546
url {
4647
src:
4748
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"

0 commit comments

Comments
 (0)