]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/import_gcry.py: Sort cipher_files, to make build system
authorColin Watson <cjwatson@ubuntu.com>
Wed, 5 Sep 2012 08:00:39 +0000 (09:00 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 5 Sep 2012 08:00:39 +0000 (09:00 +0100)
generation more deterministic.

ChangeLog
util/import_gcry.py

index ff982b3c6deac15651d50fc36d7bfd83e44c82f6..9124825f3c2052d0739a0c1b9dfa95f34354da63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-05  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/import_gcry.py: Sort cipher_files, to make build system
+       generation more deterministic.
+
 2012-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/disk/ieee1275/ofdisk.c (scan): Check function return value.
index 18966a6d6fceaa9b78ed04b49cbf038ca9170281..64c5870d056ef7b10f34f246332508ed54d45440 100644 (file)
@@ -40,7 +40,7 @@ try:
 except:
     print ("WARNING: %s already exists" % cipher_dir_out)
 
-cipher_files = os.listdir (cipher_dir_in)
+cipher_files = sorted (os.listdir (cipher_dir_in))
 conf = codecs.open (os.path.join ("grub-core", "Makefile.gcry.def"), "w", "utf-8")
 conf.write ("AutoGen definitions Makefile.tpl;\n\n")
 confutil = codecs.open ("Makefile.utilgcry.def", "w", "utf-8")