pkgdep: add bpftrace package

This only adds it on fedora 34 and up, as we've found the older versions
to have issues.  It will make it possible to use it on our fedora CI
systems.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I121e273f07a8426212d48ab4540753b963e6e0f0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11666
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Konrad Sztyber 2022-02-18 09:15:32 +01:00 committed by Tomasz Zawadzki
parent a8e0dc8333
commit e7db96cd37

View File

@ -66,6 +66,10 @@ if [[ $OSID != centos ]] || ((OSVERSION != 8)); then
packages+=(btrfs-progs) packages+=(btrfs-progs)
fi fi
if [[ $OSID == fedora ]] && ((OSVERSION >= 34)); then
packages+=(bpftrace)
fi
pre_install() { :; } pre_install() { :; }
if [[ $OSID != fedora ]]; then if [[ $OSID != fedora ]]; then