[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package



On Thu, Feb 29, 2024 at 12:12:21PM +0000, Luca Boccassi wrote:
> With the new vmlinux.h shipped in the headers package, the BTF case
> should be covered.

The relevant code in Linux is:

| quiet_cmd_btf_ko = BTF [M] $@
|       cmd_btf_ko =                                                      \
|         if [ ! -f vmlinux ]; then                                       \
|                 printf "Skipping BTF generation for %s due to unavailability of vmlinux\n" $@ 1>&2; \
|         else                                                            \
|                 LLVM_OBJCOPY="$(OBJCOPY)" $(PAHOLE) -J $(PAHOLE_FLAGS) --btf_base vmlinux $@; \
|                 $(RESOLVE_BTFIDS) -b vmlinux $@;                        \
|         fi;

Which change is needed here to use vmlinux.h instead?

Bastian

-- 
Bones: "The man's DEAD, Jim!"


Reply to: