Advance the version of the VPD cache file used by dump_vpd_log.

This fix ensures that current images will necessarily refresh the VPD
cache and /var/log/vpd-2.0.txt when restarting after an upgrade. In
turn, this releases us from the need to invoke dump_vpd_log with the
--force option during the post-install process.

BUG=chromium-os:25383
TEST=Executed the script on x86-alex via terminal, verified new cache
file and absence of old one; also tested on a booting image.

Change-Id: I0c1c5ffbbc7c82a4af97d92eaf51179d67937c14
Reviewed-on: https://gerrit.chromium.org/gerrit/15020
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Ready: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
1 file changed
tree: c3c51eacecb5945c653f76cb85d2c470d6c8d895
  1. include/
  2. lib/
  3. util/
  4. LICENSE
  5. Makefile
  6. README
  7. vpd.c