Hi Richard It looks pretty much related to my patch. Will try to replicate locally and fix it.
Thanks! On Sun, 5 Apr 2020, 09:01 Richard Purdie, < richard.pur...@linuxfoundation.org> wrote: > On Wed, 2020-03-04 at 15:49 +0100, Ricardo Ribalda Delgado wrote: > > When parameters include_path or exclude_path are passed to the rootfs > > plugin, it will copy the partition content into a folder and make all > > the modifications there. > > > > This is done using copyhardlinktree(), which does not take into > > consideration the content of the pseudo folder, which contains the > > information about the right permissions and ownership of the folders. > > > > This results in a rootfs owned by the user that is running the wic > > command (usually UID 1000), which makes some rootfs unbootable. > > > > To fix this we copy the content of the pseudo folders to the new > > folder > > and modify the pseudo database using the "pseudo -B" command. > > > > Signed-off-by: Ricardo Ribalda Delgado <rica...@ribalda.com> > > --- > > scripts/lib/wic/plugins/source/rootfs.py | 22 +++++++++++++++++++--- > > 1 file changed, 19 insertions(+), 3 deletions(-) > > I added these two changes to -next but we're seeing a test failure on > Fedora, twice now: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/834 > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/831 > > I suspect its related to these patches but haven't confirmed that as > yet... > > Cheers, > > Richard > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137029): https://lists.openembedded.org/g/openembedded-core/message/137029 Mute This Topic: https://lists.openembedded.org/mt/72395318/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-