Workflow with Persistent Partition

The following flashing iterations demonstrate persistence partition workflow when the secure login feature is enabled:

  1. Persistence partition is empty.
  2. Platform is flashed via bootburn.
  3. OEM-config executes because user metadata is NULL and creates the users.
  4. Persistence service copies data from rootfs (/) partition to persistent partition.
  5. Persistence partition overlays its content on top of rootfs (/) partition.
  6. Any new files created under /etc goes into the persistence partition.
  7. Platform is flashed again via bootburn.
  8. OEM-config execution is skipped.
  9. The end-user sees the set of users established after Step 3.
Note:

At step 9, if a user with UID 1000 was added in flashing and has user data, then as a one case exception, persistence service renames the user from rootfs partition to the user from persistence partition.