public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 00/16] wic integration
@ 2018-04-13 14:18 Henning Schild
  2018-04-13 14:18 ` [PATCH v2 01/17] Revert "wic: Make the bootimg-efi plugin generate usable images" Henning Schild
                   ` (18 more replies)
  0 siblings, 19 replies; 47+ messages in thread
From: Henning Schild @ 2018-04-13 14:18 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger, Andreas Reichel, Henning Schild

This series does the follow things:

1. revert all changes that where made to wic so Isar uses an unmodified
   version of it
2. Introdcue an image-class that will create wic images automatically
3. enable testing that in CI
4. update docs

Patches 1 to 7 just deal with getting back to an unmodified version of
wic.
Patch 11 - the big one - provides the real functionality.

I will provide some more information on what is going on here by
replying to p11.

Major changes to the first series:
 - rebase on recent Isar
 - wic is now running in buildchroot, as root
 - calling wic manually not supported any longer
 - distros before stretch are not supported either (see p11 discussion
   for why)
 - CI can now test wic for the first time

Henning Schild (17):
  Revert "wic: Make the bootimg-efi plugin generate usable images"
  Revert "wic: Introduce the `WicExecError` exception class"
  Revert "wic: Work around mcopy error"
  Revert "wic: Use sudo instead of pseudo"
  Revert "wic: Remove sysroot support"
  wic: now truly go for the wic version we claim to have
  Revert "isar-init-build-env: Add /sbin to PATH"
  classes: image: introduce size measuring function, for before
    do_*_image
  meta/image: Fix broken variables KERNEL_IMAGE and INITRD_IMAGE
  isar-init-build-env: make ISARROOT available in bitbake
  images: New class wic-img for wic intregration
  wic: Add pcibios boot plugins and wks files
  scripts/start_vm: Enable booting of full disk images
  multiconfig: Switch qemuamd64-stretch to using wic by default
  multiconfig: Switch qemui386-stretch to using wic by default
  docs: Change according to recent patches
  scripts/vm_smoke_test: double the timeout we wait for qemus

 doc/technical_overview.md                          |   7 +-
 doc/user_manual.md                                 |  31 +--
 isar-init-build-env                                |   5 -
 meta-isar/conf/multiconfig/qemuamd64-stretch.conf  |   8 +-
 meta-isar/conf/multiconfig/qemui386-stretch.conf   |   5 +-
 .../scripts/lib/wic/canned-wks/common-isar.wks.inc |   3 +
 .../scripts/lib/wic/canned-wks/directdisk-isar.wks |   7 +
 .../scripts/lib/wic/canned-wks/sdimage-efi.wks     |   2 +-
 .../lib/wic/plugins/source/bootimg-efi-isar.py     | 297 +++++++++++++++++++++
 .../lib/wic/plugins/source/bootimg-pcbios-isar.py  | 217 +++++++++++++++
 meta/classes/ext4-img.bbclass                      |   7 +-
 meta/classes/image.bbclass                         |  39 ++-
 meta/classes/wic-img.bbclass                       |  78 ++++++
 meta/recipes-devtools/buildchroot/buildchroot.bb   |  19 ++
 scripts/isar-buildenv-internal                     |   2 +-
 scripts/lib/wic/canned-wks/qemux86-directdisk.wks  |   2 +-
 scripts/lib/wic/engine.py                          |   7 +-
 scripts/lib/wic/filemap.py                         |   6 +-
 scripts/lib/wic/help.py                            |   2 -
 scripts/lib/wic/ksparser.py                        |   4 +-
 scripts/lib/wic/partition.py                       | 197 +++++++++-----
 scripts/lib/wic/pluginbase.py                      |  11 +-
 scripts/lib/wic/plugins/imager/direct.py           |  66 +++--
 scripts/lib/wic/plugins/source/bootimg-efi.py      |  78 ++----
 .../lib/wic/plugins/source/bootimg-partition.py    |   6 +-
 scripts/lib/wic/plugins/source/bootimg-pcbios.py   |  68 ++---
 scripts/lib/wic/plugins/source/fsimage.py          |  56 ++++
 .../lib/wic/plugins/source/isoimage-isohybrid.py   |  28 +-
 scripts/lib/wic/plugins/source/rawcopy.py          |   2 +-
 scripts/lib/wic/plugins/source/rootfs.py           |   4 +-
 scripts/lib/wic/utils/misc.py                      |  33 +--
 scripts/lib/wic/utils/runner.py                    |  74 ++++-
 scripts/start_vm                                   |  35 ++-
 scripts/vm_smoke_test                              |   2 +-
 scripts/wic                                        |  27 +-
 scripts/wic_fakeroot                               |  37 +++
 36 files changed, 1160 insertions(+), 312 deletions(-)
 create mode 100644 meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc
 create mode 100644 meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks
 create mode 100644 meta-isar/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
 create mode 100644 meta-isar/scripts/lib/wic/plugins/source/bootimg-pcbios-isar.py
 create mode 100644 meta/classes/wic-img.bbclass
 create mode 100644 scripts/lib/wic/plugins/source/fsimage.py
 create mode 100755 scripts/wic_fakeroot

-- 
2.16.1


^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2018-05-04  9:51 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 14:18 [PATCH v2 00/16] wic integration Henning Schild
2018-04-13 14:18 ` [PATCH v2 01/17] Revert "wic: Make the bootimg-efi plugin generate usable images" Henning Schild
2018-04-13 14:18 ` [PATCH v2 02/17] Revert "wic: Introduce the `WicExecError` exception class" Henning Schild
2018-04-13 14:18 ` [PATCH v2 03/17] Revert "wic: Work around mcopy error" Henning Schild
2018-04-13 14:18 ` [PATCH v2 04/17] Revert "wic: Use sudo instead of pseudo" Henning Schild
2018-04-16 10:44   ` Andreas Reichel
2018-04-16 10:53     ` Andreas Reichel
2018-04-16 10:57     ` Henning Schild
2018-04-13 14:18 ` [PATCH v2 05/17] Revert "wic: Remove sysroot support" Henning Schild
2018-04-13 14:18 ` [PATCH v2 06/17] wic: now truly go for the wic version we claim to have Henning Schild
2018-04-13 14:18 ` [PATCH v2 07/17] Revert "isar-init-build-env: Add /sbin to PATH" Henning Schild
2018-04-13 14:18 ` [PATCH v2 08/17] classes: image: introduce size measuring function, for before do_*_image Henning Schild
2018-04-13 14:18 ` [PATCH v2 09/17] meta/image: Fix broken variables KERNEL_IMAGE and INITRD_IMAGE Henning Schild
2018-04-16 10:45   ` Andreas Reichel
2018-04-13 14:18 ` [PATCH v2 10/17] isar-init-build-env: make ISARROOT available in bitbake Henning Schild
2018-04-13 14:19 ` [PATCH v2 11/17] images: New class wic-img for wic intregration Henning Schild
2018-04-13 14:44   ` Henning Schild
2018-04-16 10:17     ` Claudius Heine
2018-04-16 10:25       ` Henning Schild
2018-04-16 10:31       ` Andreas Reichel
2018-04-13 14:19 ` [PATCH v2 12/17] wic: Add pcibios boot plugins and wks files Henning Schild
2018-04-16 10:52   ` Andreas Reichel
2018-04-16 11:48     ` Henning Schild
2018-04-13 14:19 ` [PATCH v2 13/17] scripts/start_vm: Enable booting of full disk images Henning Schild
2018-04-16 10:33   ` Andreas Reichel
2018-04-16 11:46     ` Henning Schild
2018-04-16 13:24       ` Andreas Reichel
2018-04-13 14:19 ` [PATCH v2 14/17] multiconfig: Switch qemuamd64-stretch to using wic by default Henning Schild
2018-04-16 10:25   ` Claudius Heine
2018-04-16 10:32     ` Henning Schild
2018-04-13 14:19 ` [PATCH v2 15/17] multiconfig: Switch qemui386-stretch " Henning Schild
2018-04-16 10:35   ` Andreas Reichel
2018-04-16 10:43     ` Henning Schild
2018-04-16 10:51       ` Henning Schild
2018-04-16 10:56         ` Claudius Heine
2018-04-13 14:19 ` [PATCH v2 16/17] docs: Change according to recent patches Henning Schild
2018-04-13 14:19 ` [PATCH v2 17/17] scripts/vm_smoke_test: double the timeout we wait for qemus Henning Schild
2018-04-16 10:47   ` Andreas Reichel
2018-04-16 11:45     ` Henning Schild
2018-04-25 15:53 ` [PATCH v2 00/16] wic integration Alexander Smirnov
2018-04-26 11:26   ` Henning Schild
2018-05-01 19:23 ` Alexander Smirnov
2018-05-03 16:32   ` Henning Schild
2018-05-03 16:39     ` Alexander Smirnov
2018-05-04  8:16       ` Henning Schild
2018-05-04  8:32         ` Alexander Smirnov
2018-05-04  9:30           ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox