delta_generator: Accept --metadata_signature_file flag.
The flag currently doesn't actually include the signature in the
payload, but need the binary to accept the flag before we update
the caller script.
Bug: 23981164
Test: `delta_generator --metadata_signature_file=foo` doesn't complain
Change-Id: I81dd4b17be4f66482bc041a0310c8ef13e9bb566
diff --git a/payload_generator/generate_delta_main.cc b/payload_generator/generate_delta_main.cc
index 8a49c16..e122fb9 100644
--- a/payload_generator/generate_delta_main.cc
+++ b/payload_generator/generate_delta_main.cc
@@ -256,6 +256,11 @@
"e.g. /path/to/sig:/path/to/next:/path/to/last_sig . Each "
"signature will be assigned a client version, starting from "
"kSignatureOriginalVersion.");
+ DEFINE_string(metadata_signature_file, "",
+ "Raw signature file with the signature of the metadata hash. "
+ "To pass multiple signatures, use a single argument with a "
+ "colon between paths, "
+ "e.g. /path/to/sig:/path/to/next:/path/to/last_sig .");
DEFINE_int32(chunk_size, 200 * 1024 * 1024,
"Payload chunk size (-1 for whole files)");
DEFINE_uint64(rootfs_partition_size,