mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-14 00:49:03 +00:00
* util/import_gcry.py: Include grub/crypto.h in init.c.
This commit is contained in:
parent
495fc8c181
commit
5ebd976935
@ -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 New Issue
Block a user