From: Don Zickus on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1153 NOTE: Truncated patchset since committer email 'jolsa@kernel.org' does not match the submitter's GitLab public email address 'dzickus@redhat.com'. Adding/generating vmlinux.h by bpftool to the kernel-devel package:
$ rpm -ql -p kernel-devel-5.13.0-0.rc...x86_64.rpm | grep vmlinux.h /usr/src/kernels/5.13.0-0.rc...x86_64/vmlinux.h
Some tools like bpftool or selftest need vmlinux.h to properly compile. The vmlinux.h will be used by build system to compile tools separately.
Signed-off-by: Jiri Olsa jolsa@redhat.com
--- redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_DEBUG_KERNEL | 2 +- redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_DEBUG_MISC | 1 + redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_DEBUG_SHIRQ | 1 + redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_KALLSYMS_ALL | 1 + redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_LOCK_TORTURE_TEST | 1 + redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST | 1 + redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_TORTURE_TEST | 1 + redhat/kernel.spec.template | 21 +++++++-- 8 files changed, 23 insertions(+), 6 deletions(-)
From: Don Zickus on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1153#note_6056102...
@jolsa1 @veruu - updated by squashing 2 commits and redoing the changelog to remove the idea of 'artifacts'. The code should still be identical to what we tested. Please ack if you feel comfortable.
@jmflinuxtx - this change helps CKI and should have little effect on Koji builds other than the required bpftools now. It might even help Fedora's kernel-tools now, once the kernel-devel package is populated. Similar VMLINUX_H= change to that spec file might be needed too to take advantage, see second commit.
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1153#note_6056118...
Acked-by: Justin M. Forbes jforbes@fedoraproject.org (via approve button)
kernel@lists.fedoraproject.org