[OE-core] [PATCH v4 0/7] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

Maciej Borzecki maciej.borzecki at rndity.com
Wed Nov 23 07:46:26 UTC 2016


v4 of patch series previously posted here [1].

Some of the patches that were posted as part of v3 are already in master. This
version contains only the patches that were not merged yet.

Changes since v3:

* Running wic tests on Ubuntu resulted in test_fixed_size to fail. The reason
  was that `parted` is not a part of the base system, but is needed for
  verification of wic-produced partition layout. Parted is built as part of wic
  dependencies, hence oeqa/utils/commands.py:runCmd() was extended to include a
  new paramter - native_sysroot. This allows runCmd() to run binaries from
  STAGING_DIR_NATIVE{/sbin,/usr/bin,/usr/sbin}.

[1]. http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128785.html

Maciej Borzecki (7):
  oe-selftest: enforce en_US.UTF-8 locale
  oeqa/utils/commands.py: allow use of binaries from native sysroot
  wic: add --fixed-size wks option
  wic: selftest: avoid COMPATIBLE_HOST issues
  wic: selftest: do not repeat core-image-minimal
  wic: selftest: do not assume bzImage kernel image
  wic: selftest: add tests for --fixed-size partition flags

 meta/lib/oeqa/selftest/wic.py          | 234 +++++++++++++++++++++++++++------
 meta/lib/oeqa/utils/commands.py        |   9 +-
 scripts/lib/wic/help.py                |  14 +-
 scripts/lib/wic/imager/direct.py       |   2 +-
 scripts/lib/wic/ksparser.py            |  41 +++++-
 scripts/lib/wic/partition.py           |  88 ++++++++-----
 scripts/lib/wic/utils/partitionedfs.py |   2 +-
 scripts/oe-selftest                    |   3 +
 8 files changed, 307 insertions(+), 86 deletions(-)

-- 
2.5.0



More information about the Openembedded-core mailing list