Message ID | 20190923223024.995-1-maxiwell@linux.ibm.com |
---|---|
Headers | show |
Series | Check if the kernel image has Ultravisor support | expand |
Hi Maxiwell, > This patchset enables petitboot to check if the kernel image is > an ultravisor-system compatible. Platform-specific validation is > called from boot_process() and it can be disabled from config UI > screen. Thanks! I've applied these to the upcoming release candidate. I've stuck with the 'pre-boot check' wording, but changed the NVRAM setting slightly to match OF conventions (ie, preboot-check instead of preboot_check). I've also added a bit of wording to the config help screen. Cheers, Jeremy
Hi Maxiwell,
> Thanks! I've applied these to the upcoming release candidate.
.. but just as I'm doing some final checks, it looks like this breaks
one of my builds:
In file included from ../discover/elf.c:6:
../discover/elf.h:4:10: fatal error: elfutils/libdw.h: No such file or directory
#include <elfutils/libdw.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
This is on x86_64 Debian. Could you take a look at this?
Thanks,
Jeremy
On Fri, Nov 29, 2019 at 02:09:10PM +0800, Jeremy Kerr wrote: > Hi Maxiwell, > > > Thanks! I've applied these to the upcoming release candidate. > > .. but just as I'm doing some final checks, it looks like this breaks > one of my builds: > > In file included from ../discover/elf.c:6: > ../discover/elf.h:4:10: fatal error: elfutils/libdw.h: No such file or directory > #include <elfutils/libdw.h> > ^~~~~~~~~~~~~~~~~~ > compilation terminated. > > This is on x86_64 Debian. Could you take a look at this? > > Thanks, Hi Jeremy, Thanks for review. I forgot to add this package as a dependency. The patch below does that. Is it better add this dependency only in PowerPC build? Thanks --- a/configure.ac +++ b/configure.ac @@ -115,6 +115,11 @@ AM_CONDITIONAL([HAVE_LIBFDT], [test x"$have_libfdt" = xyes]) AC_CHECK_HEADERS([stdarg.h]) AC_CHECK_HEADERS([varargs.h]) +AC_CHECK_HEADERS([elfutils/libdw.h], + [], + [AC_MSG_FAILURE([elfutils/libdw.h not found. Try installing the package libdw-dev or elfutils-devel.])] +) + > > > Jeremy >
On Mon, Dec 02, 2019 at 05:39:52PM -0300, Maxiwell S. Garcia wrote: > On Fri, Nov 29, 2019 at 02:09:10PM +0800, Jeremy Kerr wrote: > > Hi Maxiwell, > > > > > Thanks! I've applied these to the upcoming release candidate. > > > > .. but just as I'm doing some final checks, it looks like this breaks > > one of my builds: > > > > In file included from ../discover/elf.c:6: > > ../discover/elf.h:4:10: fatal error: elfutils/libdw.h: No such file or directory > > #include <elfutils/libdw.h> > > ^~~~~~~~~~~~~~~~~~ > > compilation terminated. > > > > This is on x86_64 Debian. Could you take a look at this? > > > > Thanks, > > Hi Jeremy, > > Thanks for review. > I forgot to add this package as a dependency. > The patch below does that. > > Is it better add this dependency only in PowerPC > build? > > Thanks > > --- a/configure.ac > +++ b/configure.ac > @@ -115,6 +115,11 @@ AM_CONDITIONAL([HAVE_LIBFDT], [test x"$have_libfdt" = xyes]) > AC_CHECK_HEADERS([stdarg.h]) > AC_CHECK_HEADERS([varargs.h]) > > +AC_CHECK_HEADERS([elfutils/libdw.h], > + [], > + [AC_MSG_FAILURE([elfutils/libdw.h not found. Try installing the package libdw-dev or elfutils-devel.])] > +) > + > > Hi, These UV patches are good to be applied in the next release? Are they already applied in some branch? Thanks, > > > > > > Jeremy > > > _______________________________________________ > Petitboot mailing list > Petitboot@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/petitboot
Hi Maxiwell,
> These UV patches are good to be applied in the next release?
I'm a bit concerned by the introduction of a new library dependency to
build petitboot, as that will affect more than just the petitboot repo.
Klaus & Joel: any objections to including the libdw components of
elfutils (elfutils/libdw.h) into the op-build build dependencies? Or is
this already available?
Cheers,
Jeremy
On Wed, 15 Jan 2020 at 13:27, Jeremy Kerr <jk@ozlabs.org> wrote: > > Hi Maxiwell, > > > These UV patches are good to be applied in the next release? > > I'm a bit concerned by the introduction of a new library dependency to > build petitboot, as that will affect more than just the petitboot repo. > > Klaus & Joel: any objections to including the libdw components of > elfutils (elfutils/libdw.h) into the op-build build dependencies? Or is > this already available? We have it available due to kexec lite, so I can't see any problems with petitboot using it. Cheers, Joel