Bring eBPF to static binaries (#11709)
thiagoftsm committed
Oct 29, 2021 at 12:39 UTC
28881271aa8a84ef00ec41673037b06636182b8e
5 files changed
+8
-6
packaging/ebpf.checksums
+3
-3
@@ -1,3 +1,3 @@
1
-e5a4e49fcfcb1602aec5c770de773e91918836b24ac7de2d817bc8a6d106dbcf netdata-kernel-collector-glibc-v0.8.4.tar.xz
2
-beb57f51c6c8178e9a16f7e8370c55d0f29f20f1d4e9546a5e097e647192514c netdata-kernel-collector-musl-v0.8.4.tar.xz
3
-9ee4ca483b7575f9e9c74dc61ec0ab7af3abf1a6404f191e0ac092500842b8a7 netdata-kernel-collector-static-v0.8.4.tar.xz
1
+7ffd13d0f32df93bc7868a7cf040e75c40a9e041f6bb7f4a591cc6ce71b1cf72 netdata-kernel-collector-glibc-v0.8.6.tar.xz
2
+05c10d57252941b7f6dbb8a726a243416942c58738015014dd764b4bcb0c2f9c netdata-kernel-collector-musl-v0.8.6.tar.xz
3
+2a607729a9093538624a94dfdbf2a3660eb4eb199f86962d38806d8e1e420a71 netdata-kernel-collector-static-v0.8.6.tar.xz
packaging/ebpf.version
+1
-1
@@ -1 +1 @@
1
-v0.8.4
1
+v0.8.6
packaging/makeself/build-static.sh
+1
-1
@@ -39,7 +39,7 @@ if ! docker inspect "${DOCKER_CONTAINER_NAME}" > /dev/null 2>&1; then
39
# inside the container and runs the script install-alpine-packages.sh
40
# (also inside the container)
41
#
42
- if docker inspect alpine:3.14 > dev/null 2>&1; then
42
+ if docker inspect alpine:3.14 > /dev/null 2>&1; then
43
run docker image remove alpine:3.14
44
run docker pull --platform=${platform} alpine:3.14
45
fi
packaging/makeself/install-alpine-packages.sh
+2
@@ -16,10 +16,12 @@ apk add --no-cache -U \
16
binutils \
17
cmake \
18
curl \
19
+ elfutils-dev \
20
gcc \
21
git \
22
gnutls-dev \
23
gzip \
24
+ libelf-static \
25
libmnl-dev \
26
libnetfilter_acct-dev \
27
libtool \
packaging/makeself/install-or-update.sh
+1
-1
@@ -214,7 +214,7 @@ run chown -R ${NETDATA_USER}:${NETDATA_GROUP} /opt/netdata
214
215
progress "fix plugin permissions"
216
217
-for x in apps.plugin freeipmi.plugin ioping cgroup-network; do
217
+for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin; do
218
f="usr/libexec/netdata/plugins.d/${x}"
219
220
if [ -f "${f}" ]; then