* util/import_gcry.py: Include grub/crypto.h in init.c.
This commit is contained in:
parent
495fc8c181
commit
5ebd976935
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue