Closed asrinuva closed 6 months ago
@jan-kiszka Please have a look.
Can you please merge this changes if no objection.
I explained before that there is an upcoming release and that this is a cleanup, not a fix. I suspect it will only be merged afterwards.
I explained before that there is an upcoming release and that this is a cleanup, not a fix. I suspect it will only be merged afterwards.
Okay, thanks.
This patch refactors the WKS script w.r.t how the rootfs is distributed across multiple partitions. Previously we used rootfs-dir with a full rootfs paths plus the sub directory. However, this is not ideal, as the relation to the rootfs folder is lost and also the new rootfs dir is technically not a rootfs. While this aparently did not create any issues in meta-iot2050, we still believe it is semantically incorrect.
This patch switches that over to the WIC option --change-directory that is provided exactly for this use-case and only deploys a subdirectory without loosing the rootfs relation with the permissions pseudo dir.