Browse Source

[Pal/Linux-SGX] pal-sgx-sign: Prepend "DO NOT MODIFY" to autogenerated manifest

Isaku Yamahata 5 years ago
parent
commit
b8d824af94
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Pal/src/host/Linux-SGX/signer/pal-sgx-sign

+ 2 - 0
Pal/src/host/Linux-SGX/signer/pal-sgx-sign

@@ -117,6 +117,8 @@ def output_manifest(filename, manifest, manifest_layout):
     with open(filename, 'w') as f:
         written = []
 
+        f.write("# DO NOT MODIFY. THIS FILE WAS AUTO-GENERATED.\n\n")
+
         for (key, comment) in manifest_layout:
             line = ''
             if key is not None: