Hello,

I discovered that when building a wic image with /home on an extra
partition, the contents will be owned by the user running the build.

The problem persists with the master branch of poky.
Last known version to still work was dunfell-23.0.5

Steps to reproduce the issue:

1. git clone it://git.yoctoproject.org/poky (yes, it is on the master branch!)
2. create a build environment
3. add IMAGE_FSTYPES += "wic wic.bmap" to your local.conf
4. adjust  scripts/lib/wic/canned-wks/common.wks.inc like below to
create a /home partition

>>>
# This file is included into 3 canned wks files from this directory
part /boot --source bootimg-pcbios --ondisk sda --label boot --active
--align 1024
part / --source rootfs --use-uuid --fstype=ext4 --label platform
--align 1024 --exclude home
part /home --source rootfs --rootfs-dir ${IMAGE_ROOTFS}/home
--use-uuid --fstype=ext4 --label home --align 1024
>>>

5. run bitbake core-image-minimal
6. flash wic image to a USB drive
7. check contents of /home on USB drive

Would be amazing if anyone familiar with WIC and pseudo could
recommend how to proceed.

Best,

Lazlo
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161777): 
https://lists.openembedded.org/g/openembedded-core/message/161777
Mute This Topic: https://lists.openembedded.org/mt/89185359/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to