public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Maciej Borzecki <maciej.borzecki@rndity.com>
To: openembedded-core@lists.openembedded.org
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
	Maciej Borzecki <maciek.borzecki@gmail.com>
Subject: [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes
Date: Thu, 10 Nov 2016 13:18:31 +0100	[thread overview]
Message-ID: <cover.1478779674.git.maciej.borzecki@rndity.com> (raw)

v2 of patch series previously posted here [1].

The series introduces anumber of fixes to wic, as well as a new --fixed-size
option applicable to `part` entries in kickstart files. The option makes it
possible to have a fixed size partition, with additional verification that the
file system image fits into the allocated disk space. This is in cotrast with
--size option, which the minimum size, and partition may in fact be larger in
the final disk image.

The series introduces two tests that verify if wic has created the image with
properly sized partition and that partition size checks work as expected.

Patch `oe-selftest: fix handling of test cases without ID in --list-tests-by` is
a small bugfix for oe-selftes tool which resolves an issue triggered by Python
3.x being more strict than 2.x.

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

Maciej Borzecki (10):
  wic: make sure that partition size is always an integer in internal
    processing
  wic: use partition size when creating empty partition files
  wic: check that filesystem is specified for a rootfs partition
  wic: fix function comment typos
  wic: add --fixed-size wks option
  oe-selftest: fix handling of test cases without ID in --list-tests-by
  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                 | 193 ++++++++++++++++++++------
 scripts/lib/wic/help.py                       |  14 +-
 scripts/lib/wic/imager/direct.py              |   2 +-
 scripts/lib/wic/ksparser.py                   |  41 +++++-
 scripts/lib/wic/partition.py                  | 104 +++++++++-----
 scripts/lib/wic/plugins/source/bootimg-efi.py |   2 +-
 scripts/lib/wic/plugins/source/rawcopy.py     |   4 +-
 scripts/lib/wic/utils/partitionedfs.py        |   6 +-
 scripts/oe-selftest                           |  13 +-
 9 files changed, 282 insertions(+), 97 deletions(-)

-- 
2.5.0



             reply	other threads:[~2016-11-10 12:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-10 12:18 Maciej Borzecki [this message]
2016-11-10 12:18 ` [PATCH v2 01/10] wic: make sure that partition size is always an integer in internal processing Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 02/10] wic: use partition size when creating empty partition files Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 03/10] wic: check that filesystem is specified for a rootfs partition Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 04/10] wic: fix function comment typos Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 05/10] wic: add --fixed-size wks option Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 06/10] oe-selftest: fix handling of test cases without ID in --list-tests-by Maciej Borzecki
2016-11-10 20:05   ` Burton, Ross
2016-11-10 20:14     ` Maciej Borzęcki
2016-11-10 12:18 ` [PATCH v2 07/10] wic: selftest: avoid COMPATIBLE_HOST issues Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 08/10] wic: selftest: do not repeat core-image-minimal Maciej Borzecki
2016-11-10 20:15   ` Burton, Ross
2016-11-10 20:33     ` Maciej Borzęcki
2016-11-14 10:38       ` Maciej Borzęcki
2016-11-10 12:18 ` [PATCH v2 09/10] wic: selftest: do not assume bzImage kernel image Maciej Borzecki
2016-11-10 12:18 ` [PATCH v2 10/10] wic: selftest: add tests for --fixed-size partition flags Maciej Borzecki
2016-11-14  9:24 ` [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes Burton, Ross
2016-11-14 10:02   ` Maciej Borzęcki
2016-11-14 10:16     ` Burton, Ross
2016-11-14 10:35       ` Maciej Borzęcki
2016-11-14 13:34         ` Burton, Ross
2016-11-14 14:03           ` Maciej Borzęcki
2016-11-14 14:07             ` Burton, Ross
2016-11-14 14:37               ` Maciej Borzęcki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1478779674.git.maciej.borzecki@rndity.com \
    --to=maciej.borzecki@rndity.com \
    --cc=maciek.borzecki@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox