packaging: Add bpftool subpackage and build target 98/320898/1 accepted/tizen/unified/20250312.014644 accepted/tizen/unified/20250312.041117 accepted/tizen/unified/x/20250312.054013
authorMichal Wilczynski <m.wilczynski@samsung.com>
Mon, 10 Mar 2025 15:13:26 +0000 (16:13 +0100)
committerMichal Wilczynski <m.wilczynski@samsung.com>
Mon, 10 Mar 2025 18:02:09 +0000 (19:02 +0100)
commitd3b26f7ade577f3b4f3c72e3075cac6847b65dd0
tree554fa75e14d4c8e047f3798c254dab147818466d
parentd8dcdf90e621f6142d1d2c3d7a57f372c4645c79
packaging: Add bpftool subpackage and build target

Update the linux-rpi4.spec file to build and package bpftool as a
separate subpackage, named linux-kernel-bpftool. By doing so, bpftool
(and its dependencies) can be managed more flexibly. The bpftool utility
is crucial for managing, loading, and debugging eBPF programs, making it
easier to inspect and troubleshoot eBPF-related features.

Changes:
 - Add a dedicated build target for bpftool under tools/bpf/bpftool.
 - Install bpftool and supporting files into /usr/sbin.
 - Create a new subpackage (linux-kernel-bpftool) that provides the
   bpftool binary.

The skeleton generation capability of bpftool is specifically required
for our resourced eBPF build, ensuring that the compiled BPF object can
be integrated seamlessly with user space. This will simplify building
and maintaining eBPF programs for low-memory monitoring or other
functionalities.

Add required manifest file for userspace utility bpftool.

Change-Id: Ie8f83923c537915d7f313fa84e49fe2eaa0877dc
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
packaging/linux-bpif3.manifest [new file with mode: 0644]
packaging/linux-bpif3.spec