squashfs /var extra partition has dpkg db mismatch after swupdate image
Used "x86-efibootguard.wks.in" wic to build image with squashfs with /var extra partition with swupdate function, after image updating, dpkg db might be mismatch between new image version and old deb package version.
Now some downstream projects, followed this solution, but we met this problem.
To solve this problem:
- If isar-cip-core can solve it, all of downstream project will benefit from it;
- If not, only the downstream project solves this problem. By this point, could you please help to provide any better suggestion to do so?
Currently, we consider to change /etc/fstab to add a new /persistent partition, meanwhile need to change initramfs-etc-overlay to mount /etc to /persistent as overlay instead of /var, also need to mount /var to /persistent as overlay.
All of these shall be moved to the downstream to do instead of isar-cir-core, any better solution?
Thanks.
Edited by Jing Wang