From aff2f638693c32372ebe919f156b2094b3b8e00e Mon Sep 17 00:00:00 2001 From: Pierre Equoy Date: Thu, 5 Dec 2024 14:57:51 +0100 Subject: [PATCH] Add bpftrace to Checkbox runtime snaps (infra) (#1636) * Add bpftrace to Checkbox runtime snaps Adding bpftrace as a stage package allow it to be called on Ubuntu Core in order to monitor and debug some corner cases (namely, #1211 and #1435). * Remove bpftrace from older versions Looks like the package is not available in these versions. --- checkbox-core-snap/series20/snap/snapcraft.yaml | 1 + checkbox-core-snap/series22/snap/snapcraft.yaml | 1 + checkbox-core-snap/series24/snap/snapcraft.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/checkbox-core-snap/series20/snap/snapcraft.yaml b/checkbox-core-snap/series20/snap/snapcraft.yaml index 1157f789f5..1da8662d5c 100644 --- a/checkbox-core-snap/series20/snap/snapcraft.yaml +++ b/checkbox-core-snap/series20/snap/snapcraft.yaml @@ -254,6 +254,7 @@ parts: - bc - bluez-tests - bonnie++ + - bpftrace - cryptsetup-bin - dbus - debsums diff --git a/checkbox-core-snap/series22/snap/snapcraft.yaml b/checkbox-core-snap/series22/snap/snapcraft.yaml index 849275e8fc..687c51689e 100644 --- a/checkbox-core-snap/series22/snap/snapcraft.yaml +++ b/checkbox-core-snap/series22/snap/snapcraft.yaml @@ -258,6 +258,7 @@ parts: - bc - bluez-tests - bonnie++ + - bpftrace - cryptsetup-bin - dbus - debsums diff --git a/checkbox-core-snap/series24/snap/snapcraft.yaml b/checkbox-core-snap/series24/snap/snapcraft.yaml index 2377ff1ce4..ebd6142caa 100644 --- a/checkbox-core-snap/series24/snap/snapcraft.yaml +++ b/checkbox-core-snap/series24/snap/snapcraft.yaml @@ -236,6 +236,7 @@ parts: - python3-opencv - bc - bonnie++ + - bpftrace - cryptsetup-bin - dbus - debsums