cryptohome: Document rollback dependency
Document that rollback relies on the install attributes file to be
backwards compatible.
BUG=chromium:1124428
TEST=None
Change-Id: I2a89133a1d296420ef84c14f05f3d8ff9794a149
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2435679
Tested-by: Miriam Polzer <mpolzer@google.com>
Commit-Queue: Miriam Polzer <mpolzer@google.com>
Reviewed-by: John L Chen <zuan@chromium.org>
diff --git a/cryptohome/install_attributes.cc b/cryptohome/install_attributes.cc
index 7210e8a..2ff66cb 100644
--- a/cryptohome/install_attributes.cc
+++ b/cryptohome/install_attributes.cc
@@ -22,6 +22,9 @@
namespace cryptohome {
+// Note: Changes in the format of the install attributes file might break
+// rollback (go/rollback-data-restore). If possible, try to maintain backwards
+// compatibility for four release cycles.
// By default, we store this with other cryptohome state.
const char InstallAttributes::kDefaultDataFile[] =
"/home/.shadow/install_attributes.pb";