* util/import_gcry.py: Include grub/crypto.h in init.c.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-10 13:58:53 +01:00
parent 495fc8c181
commit 5ebd976935
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/import_gcry.py: Include grub/crypto.h in init.c.
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkimage.c (compress_kernel_lzma): Respect format security.

View file

@ -372,6 +372,7 @@ outfile = os.path.join (cipher_dir_out, "ChangeLog")
conf.close ();
initfile = codecs.open (os.path.join (cipher_dir_out, "init.c"), "w", "utf-8")
initfile.write ("#include <grub/crypto.h>\n")
for module in modules:
initfile.write ("extern void grub_%s_init (void);\n" % module)
initfile.write ("extern void grub_%s_fini (void);\n" % module)