mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
Enable debuginfo to fix bpftool selftest (#48)
debuginfo is needed to have BTF in vmlinux - which is necessary for bpftool selftest
This commit is contained in:
@@ -18,9 +18,6 @@ sed -i 's/%define specrelease 200/%define specrelease 210/g' "kernel.spec"
|
||||
# Disable debug kernels
|
||||
sed -i "/%define with_debug /c %define with_debug 0" "kernel.spec"
|
||||
|
||||
# Disable debuginfo
|
||||
sed -i "/%define with_debuginfo /c %define with_debuginfo 0" "kernel.spec"
|
||||
|
||||
# Add our patches
|
||||
sed -i "/Patch1:/a Patch2: t2linux-combined.patch" "kernel.spec"
|
||||
sed -i "/ApplyOptionalPatch patch-%{patchversion}-redhat.patch/a ApplyOptionalPatch t2linux-combined.patch" "kernel.spec"
|
||||
|
||||
Reference in New Issue
Block a user