forked from pool/velociraptor
Accepting request 1035679 from home:jeff_mahoney:security:sensor
re-add vmlinux handling OBS-URL: https://build.opensuse.org/request/show/1035679 OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=24
This commit is contained in:
parent
99d22d300a
commit
9dd9ebd585
@ -17,7 +17,7 @@
|
||||
|
||||
%define projname velociraptor
|
||||
%define vendor_version 0.6.4.2~git86.b5931f7
|
||||
%define vmlinux_h_version 5.18.9-2-default
|
||||
%define vmlinux_h_version 5.14.21150400.22-150400-default
|
||||
|
||||
Name: velociraptor-client
|
||||
Version: 0.6.4.2~git86.b5931f7
|
||||
@ -73,11 +73,8 @@ sed -ie "s/\(VERSION *= \).*/\1 \"%{version}\"/" constants/constants.go
|
||||
|
||||
mkdir -p third_party/libbpfgo/output
|
||||
|
||||
# Any release more recent than SLE 15 SP3/Leap 15.3 will have this
|
||||
if ! test -e /sys/kernel/btf/vmlinux; then
|
||||
cp vmlinux.h-%{vmlinux_h_version}/vmlinux-%{_arch}.h \
|
||||
third_party/libbpfgo/output/vmlinux.h
|
||||
fi
|
||||
cp vmlinux.h-%{vmlinux_h_version}/vmlinux-%{_arch}.h \
|
||||
third_party/libbpfgo/output/vmlinux.h
|
||||
|
||||
# These just clutter the GUI and we don't have Windows clients
|
||||
# Note: There are dependencies on these that need to be resolved before
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
%define projname velociraptor
|
||||
%define vendor_version 0.6.4.2~git86.b5931f7
|
||||
%define vmlinux_h_version 5.18.9-2-default
|
||||
%define vmlinux_h_version 5.14.21150400.22-150400-default
|
||||
|
||||
Name: velociraptor
|
||||
Version: 0.6.4.2~git86.b5931f7
|
||||
@ -86,11 +86,8 @@ sed -ie "s/\(VERSION *= \).*/\1 \"%{version}\"/" constants/constants.go
|
||||
|
||||
mkdir -p third_party/libbpfgo/output
|
||||
|
||||
# Any release more recent than SLE 15 SP3/Leap 15.3 will have this
|
||||
if ! test -e /sys/kernel/btf/vmlinux; then
|
||||
cp vmlinux.h-%{vmlinux_h_version}/vmlinux-%{_arch}.h \
|
||||
third_party/libbpfgo/output/vmlinux.h
|
||||
fi
|
||||
cp vmlinux.h-%{vmlinux_h_version}/vmlinux-%{_arch}.h \
|
||||
third_party/libbpfgo/output/vmlinux.h
|
||||
|
||||
# These just clutter the GUI and we don't have Windows clients
|
||||
# Note: There are dependencies on these that need to be resolved before
|
||||
|
BIN
vmlinux.h-5.14.21150400.22-150400-default.tar.xz
(Stored with Git LFS)
Normal file
BIN
vmlinux.h-5.14.21150400.22-150400-default.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:75a6a812bbed4f1e7abd5a3c02d1658a96b43d3c4fc99a155739c256a8da8245
|
||||
size 457380
|
Loading…
Reference in New Issue
Block a user