9fbdec2f6b
The upcoming support for LUKS2 disc encryption requires us to include a parser for base64-encoded data, as it is used to represent salts and digests. As gnulib already has code to decode such data, we can just add it to the boostrapping configuration in order to make it available in GRUB. The gnulib module makes use of booleans via the <stdbool.h> header. As GRUB does not provide any POSIX wrapper header for this, but instead implements support for bool in <sys/types.h>, we need to patch base64.h to not use <stdbool.h> anymore. We unfortunately cannot include <sys/types.h> instead, as it would then use gnulib's internal header while compiling the gnulib object but our own <sys/types.h> when including it in a GRUB module. Because of this, the patch replaces the include with a direct typedef. A second fix is required to make available _GL_ATTRIBUTE_CONST, which is provided by the configure script. As base64.h does not include <config.h>, it is thus not available and results in a compile error. This is fixed by adding an include of <config-util.h>. Signed-off-by: Patrick Steinhardt <ps@pks.im> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
140 lines
4.8 KiB
Text
140 lines
4.8 KiB
Text
EXTRA_DIST += autogen.sh
|
|
EXTRA_DIST += geninit.sh
|
|
|
|
EXTRA_DIST += gentpl.py
|
|
EXTRA_DIST += Makefile.util.def
|
|
EXTRA_DIST += Makefile.utilgcry.def
|
|
|
|
EXTRA_DIST += asm-tests
|
|
EXTRA_DIST += unicode
|
|
|
|
EXTRA_DIST += util/import_gcry.py
|
|
EXTRA_DIST += util/import_unicode.py
|
|
|
|
EXTRA_DIST += docs/man
|
|
EXTRA_DIST += docs/autoiso.cfg
|
|
EXTRA_DIST += docs/grub.cfg
|
|
EXTRA_DIST += docs/osdetect.cfg
|
|
|
|
EXTRA_DIST += conf/i386-cygwin-img-ld.sc
|
|
|
|
EXTRA_DIST += grub-core/Makefile.core.def
|
|
EXTRA_DIST += grub-core/Makefile.gcry.def
|
|
|
|
EXTRA_DIST += grub-core/genmoddep.awk
|
|
EXTRA_DIST += grub-core/genmod.sh.in
|
|
EXTRA_DIST += grub-core/gensyminfo.sh.in
|
|
EXTRA_DIST += grub-core/gensymlist.sh
|
|
EXTRA_DIST += grub-core/genemuinit.sh
|
|
EXTRA_DIST += grub-core/genemuinitheader.sh
|
|
|
|
EXTRA_DIST += grub-core/lib/gnulib-patches/fix-base64.patch
|
|
EXTRA_DIST += grub-core/lib/gnulib-patches/fix-null-deref.patch
|
|
EXTRA_DIST += grub-core/lib/gnulib-patches/fix-width.patch
|
|
EXTRA_DIST += grub-core/lib/gnulib-patches/no-abort.patch
|
|
|
|
EXTRA_DIST += grub-core/lib/libgcrypt
|
|
EXTRA_DIST += grub-core/lib/libgcrypt-grub/mpi/generic
|
|
EXTRA_DIST += $(shell find $(top_srcdir)/include -name '*.h')
|
|
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/lib -name '*.h')
|
|
EXTRA_DIST += grub-core/efiemu/runtime/config.h
|
|
|
|
EXTRA_DIST += grub-core/lib/LzmaDec.c
|
|
|
|
EXTRA_DIST += grub-core/fs/cpio_common.c
|
|
|
|
EXTRA_DIST += BUGS
|
|
EXTRA_DIST += util/i386/efi/grub-dumpdevtree
|
|
EXTRA_DIST += util/spkmodem-recv.c
|
|
EXTRA_DIST += util/import_gcrypth.sed
|
|
EXTRA_DIST += util/bin2h.c
|
|
EXTRA_DIST += util/grub-gen-asciih.c
|
|
EXTRA_DIST += util/grub-gen-widthspec.c
|
|
EXTRA_DIST += util/grub-module-verifier.c
|
|
EXTRA_DIST += util/grub-module-verifier32.c
|
|
EXTRA_DIST += util/grub-module-verifier64.c
|
|
EXTRA_DIST += util/grub-module-verifierXX.c
|
|
EXTRA_DIST += util/grub-pe2elf.c
|
|
|
|
|
|
EXTRA_DIST += m4/gnulib-cache.m4
|
|
EXTRA_DIST += m4/glibc2.m4
|
|
EXTRA_DIST += m4/gnulib-tool.m4
|
|
EXTRA_DIST += m4/intdiv0.m4
|
|
EXTRA_DIST += m4/intl.m4
|
|
EXTRA_DIST += m4/intldir.m4
|
|
EXTRA_DIST += m4/intmax.m4
|
|
EXTRA_DIST += m4/inttypes-pri.m4
|
|
EXTRA_DIST += m4/lcmessage.m4
|
|
EXTRA_DIST += m4/lock.m4
|
|
EXTRA_DIST += m4/printf-posix.m4
|
|
EXTRA_DIST += m4/threadlib.m4
|
|
EXTRA_DIST += m4/uintmax_t.m4
|
|
EXTRA_DIST += m4/visibility.m4
|
|
EXTRA_DIST += m4/math_h.m4
|
|
|
|
EXTRA_DIST += grub-core/osdep/apple/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/aros/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/basic/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/bsd/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/freebsd/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/hurd/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/linux/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/windows/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/sun/hostdisk.c
|
|
EXTRA_DIST += grub-core/osdep/haiku/hostdisk.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/basic/init.c
|
|
EXTRA_DIST += grub-core/osdep/windows/init.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/apple/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/aros/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/basic/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/bsd/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/windows/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/freebsd/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/hurd/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/linux/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/sun/getroot.c
|
|
EXTRA_DIST += grub-core/osdep/haiku/getroot.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/basic/random.c
|
|
EXTRA_DIST += grub-core/osdep/basic/ofpath.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/unix/password.c
|
|
EXTRA_DIST += grub-core/osdep/unix/random.c
|
|
EXTRA_DIST += grub-core/osdep/unix/sleep.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/linux/ofpath.c
|
|
|
|
EXTRA_DIST += grub-core/osdep/windows/password.c
|
|
EXTRA_DIST += grub-core/osdep/windows/random.c
|
|
EXTRA_DIST += grub-core/osdep/windows/sleep.c
|
|
|
|
EXTRA_DIST += tests/dfly-mbr-mbexample.mbr.img.gz
|
|
EXTRA_DIST += tests/dfly-mbr-mbexample.dfly.img.gz
|
|
|
|
EXTRA_DIST += coreboot.cfg
|
|
|
|
EXTRA_DIST += tests/file_filter/file
|
|
EXTRA_DIST += tests/file_filter/file.gz
|
|
EXTRA_DIST += tests/file_filter/file.gz.sig
|
|
EXTRA_DIST += tests/file_filter/file.lzop
|
|
EXTRA_DIST += tests/file_filter/file.lzop.sig
|
|
EXTRA_DIST += tests/file_filter/file.xz
|
|
EXTRA_DIST += tests/file_filter/file.xz.sig
|
|
EXTRA_DIST += tests/file_filter/keys
|
|
EXTRA_DIST += tests/file_filter/keys.pub
|
|
EXTRA_DIST += tests/file_filter/test.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/prompt.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/gfxboot.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/adtxt.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/isolinux.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/exithelp.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/txt.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/menu.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/stdmenu.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/dtmenu.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/po4a.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04/isolinux/rqtxt.cfg
|
|
EXTRA_DIST += tests/syslinux/ubuntu10.04_grub.cfg.in
|