Workflow with Persistent Partition
The following flashing iterations demonstrate persistence partition workflow when the secure login feature is enabled:
- Persistence partition is empty.
- Platform is flashed via bootburn.
- OEM-config executes because user metadata is NULL and creates the users.
- Persistence service copies data from rootfs (
/
) partition to persistent partition. - Persistence partition overlays its content on top of rootfs (
/
) partition. - Any new files created under
/etc
goes into the persistence partition. - Platform is flashed again via bootburn.
- OEM-config execution is skipped.
- 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.