On Fri, Oct 11, 2024 at 4:44 PM Simon Horman <horms@xxxxxxxxxx> wrote: > > On Tue, Oct 08, 2024 at 07:54:02PM +0800, Pingfan Liu wrote: > > A UKI image is a PE file that consists of several sections, typically > > including: .text, .data, .linux, .initrd, .cmdline, and others. > > > > The kernel image is stored in the .linux section, which is one of the > > formats currently recognized by kexec-tools. Therefore, the UKI parser > > can be used to strip away the UKI layer, allowing the other parser to > > process the kernel image. > > > > Signed-off-by: Pingfan Liu <piliu@xxxxxxxxxx> > > Cc: Simon Horman <horms@xxxxxxxxxx> > > Cc: Eric Biederman <ebiederm@xxxxxxxxxxxx> > > Cc: Baoquan He <bhe@xxxxxxxxxx> > > Cc: Dave Young <dyoung@xxxxxxxxxx> > > Cc: kexec@xxxxxxxxxxxxxxxxxxx > > --- > > include/pe.h | 104 +++++++++++++++++++++++++++++++++++++++ > > kexec/Makefile | 1 + > > kexec/kexec-uki.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++ > > kexec/kexec.h | 4 ++ > > 4 files changed, 231 insertions(+) > > create mode 100644 include/pe.h > > create mode 100644 kexec/kexec-uki.c > > Hi Pingfan Liu, > > I think you need to squash the following into this patch > so that pe.h is included in distribution tarballs. > > You should be able to see the problem by running: make distcheck. > Oh, thanks. I will fix it in V2 and remember to do such tests in future. Best regards, Pingfan > diff --git a/include/Makefile b/include/Makefile > index cd88a26b1476..6a3e8541c36d 100644 > --- a/include/Makefile > +++ b/include/Makefile > @@ -8,6 +8,7 @@ dist += include/Makefile \ > include/x86/mb_header.h \ > include/x86/multiboot2.h \ > include/elf.h \ > + include/pe.h \ > include/image.h \ > include/unused.h \ > include/boot/linuxbios_tables.h \ > _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec