My current thought is that we create a second apt.Cache() off /rofs (the read-only copy of the squashfs that gets copied to the target filesystem), take the set difference of installed packages from both caches, and repack each package in that delta.
Failing an adequate solution, we can hide the upgrade/reinstall option when an Internet connection is not available.
My current thought is that we create a second apt.Cache() off /rofs (the read-only copy of the squashfs that gets copied to the target filesystem), take the set difference of installed packages from both caches, and repack each package in that delta.
Failing an adequate solution, we can hide the upgrade/reinstall option when an Internet connection is not available.