[OE-core] [PATCH 0/3] Fix for #9636: wic script should use argparse instead of optparse

Ed Bartosh ed.bartosh at linux.intel.com
Tue May 2 14:38:17 UTC 2017


Hi,

This patchset contains two patches from Andreas J. Reichel's patchset and
a fix for wic test case.

Description taken from the original patchset:

wic uses optparse and a rather complicated approach of its initialization.
It is much easier to switch from the deprecated optparse to the argparse library,
which also supports sub-commands, which wic heavily makes use of.

The following changes since commit 381897c64069ea43d595380a3ae913bcc79cf7e1:

  build-appliance-image: Update to master head revision (2017-05-01 08:56:47 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/wic/wip
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/wip

Andreas J. Reichel (2):
  wic: Use argparse instead of optparse
  wic: Add missing text to usage and help strings

Ed Bartosh (1):
  selftest: fix test_unsupported_subcommand test case

 meta/lib/oeqa/selftest/wic.py |   3 +-
 scripts/lib/wic/engine.py     |  11 ++-
 scripts/lib/wic/help.py       |  25 +++--
 scripts/wic                   | 213 ++++++++++++++++++++++++++----------------
 4 files changed, 156 insertions(+), 96 deletions(-)

--
Regards,
Ed




More information about the Openembedded-core mailing list