poky/scripts/lib/wic
Ricardo Ribalda Delgado 58589bc538 wic: Fix (again) partition files UIDs on multi rootfs images
Commit 450335ba5e73a375eb9932b4c4cf37979640dbfc copies the pseudo
database to the working directory in order to have ownership information
when the filesystem is generated.

Unfortunately this does not work anymore. The filenames on the database
are absolute and there is no information about the new directory.

Instead of fixing the database, we could redo a bit the way we patch the
fstab file. Now I am saving the old contents of fstab, modifying the
file and then reverting the changes on exit.

This is faster than the previous approach, although it can cause
indeterminism if the application is killed before finishing.

(From OE-Core rev: dcbf7b864dd1713b54a172d8714ce1508482f086)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
..
canned-wks wic: sdimage-bootpart: Use mmcblk0 drive instead of bogus mmcblk 2019-01-16 15:35:07 +00:00
plugins wic: Fix (again) partition files UIDs on multi rootfs images 2019-07-19 08:41:40 +01:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic/engine: include .wks.in in wic search and list 2019-06-07 09:11:49 +01:00
filemap.py wic/filemap: handle FIGETBSZ failing 2019-06-08 16:01:41 +01:00
help.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
ksparser.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
misc.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
partition.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
pluginbase.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00