Hello Richard,
Le 28/02/2020 à 13:25, Richard Purdie a écrit :
Unfortately this does seem to expose a problem with wic, e.g.:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/732
which can be reproduced with:
oe-selftest -r wic.Wic2.test_expand_mbr_image
Afer a quick check, it seems the failure is related to
the commit 03154d2cf25c1d5ce908da9e72d324004b8d5722 ("sfdisk: add -J
between mutually exclusive options") [1] in the version 2.35.1.
ERROR: _exec_cmd:
/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4047/tmp/work/core2-64-poky-linux/wic-tools/1.0-r0/recipe-sysroot-native/usr/sbin/sfdisk
-dJ
/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4047/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic
returned '1' instead of 0
output: sfdisk: mutually exclusive arguments: --list-free --json --dump
So, I think we have to update this command [2] in order to drop the '-J'
option.
I will investigate, and I will send a v3 to fix this issue.
Thanks !
[1] -
https://github.com/karelzak/util-linux/commit/03154d2cf25c1d5ce908da9e72d324004b8d5722#diff-31d5cc325380dbdafe64d0e019846f12
[2] -
https://git.openembedded.org/openembedded-core/tree/scripts/lib/wic/engine.py#n442
--
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core