commit | 48e970da78fd8e8ecf17250b7c8a92aebfa2be79 | [log] [tgz] |
---|---|---|
author | Alex Deymo <[email protected]> | Wed Sep 23 21:34:41 2015 |
committer | chrome-bot <[email protected]> | Thu Sep 24 00:29:07 2015 |
tree | b56beaac9a8c7e50d7e6849d9a95222d88d300d9 | |
parent | ff694bbbbb41b31ab95425a896073132693088f0 [diff] |
devserver: Remove old medatada file when a new payload is forced. ./devserver --payload option allows to force a given payload file which is symlinked to the static directory. Later on, the update.meta file will be added to the static directory with the metadata of that payload but will never be removed and regenerated. This patch removes the update.meta of a forced payload when a new payload is provided. BUG=None TEST=`./devserver --payload=foobar.bin` regenerates the metadata Change-Id: If390785cab1426c9e60e66ac18370240e61eb1da Reviewed-on: https://chromium-review.googlesource.com/302042 Commit-Ready: Alex Deymo <[email protected]> Tested-by: Alex Deymo <[email protected]> Reviewed-by: Simran Basi <[email protected]>