Skip to content

RFC Master image generation and testing

Stefan Stanacar openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4initrdscripts: copy of the default install scriptsmeta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh meta/recipes-core/initrdscripts/files/init-install-testfs.sh+405 -00 replies
2/4initrdscripts: add install scripts with a second rootfsmeta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh meta/recipes-core/initrdscripts/files/init-install-testfs.sh meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb +1 more+77 -320 replies
3/4recipes-extended: add master image for testing purposesmeta/recipes-extended/images/core-image-testmaster-initramfs.bb meta/recipes-extended/images/core-image-testmaster.bb+33 -00 replies
4/4lib/oeqa: add a test target controller for EFI targetsmeta/lib/oeqa/controllers/masterimage.py meta/lib/oeqa/runtime/ssh.py+126 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Master image generation and testing

Hello,

This is what I currently use for doing automated deployment for a genericx86-64 image. More details on the commit messages. There is nothing particular to genericx86-64,
it should work on any EFI-enabled device with gummiboot as bootloader.

Also see YB#1596 and it's sub-bug #5614 for a bit of background. Any comments, questions, most welcome.

Cheers,
Stefan

--

Note that this is actually v3.
v1 and v2 [1] were sent on the poky mailing list, as everything was added to meta-yocto-bsp layer. Nothing much changed since v2 except moving the files around.
Changes in this version include:
- rebase on top of meta
- add to the master image only the required utilities instead of an entire packagegroup
- use TEST_POWERCONTROL_EXTRA_ARGS with TEST_POWERCONTROL_CMD
- split the second patch in the earlier series in two

[1] https://lists.yoctoproject.org/pipermail/poky/2014-March/009631.html

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit 49aad7da07e187f206e963001844605731b01247:

bitbake: runqueue: Remove use of waitpid on worker processes (2014-03-19 17:46:33 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib stefans/masterimage
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/masterimage

Stefan Stanacar (4):
initrdscripts: copy of the default install scripts
initrdscripts: add install scripts with a second rootfs
recipes-extended: add master image for testing purposes lib/oeqa: add a test target controller for EFI targets

 meta/lib/oeqa/controllers/masterimage.py           | 124 ++++++++++++
 meta/lib/oeqa/runtime/ssh.py                       |   2 +
 .../initrdscripts/files/init-install-efi-testfs.sh | 199 +++++++++++++++++++
 .../initrdscripts/files/init-install-testfs.sh     | 211 +++++++++++++++++++++
 .../initramfs-live-install-efi-testfs_1.0.bb       |  20 ++
 .../initramfs-live-install-testfs_1.0.bb           |  20 ++
 .../images/core-image-testmaster-initramfs.bb      |  20 ++
 .../images/core-image-testmaster.bb                |  13 ++
 8 files changed, 609 insertions(+)
 create mode 100644 meta/lib/oeqa/controllers/masterimage.py
 create mode 100644 meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh
 create mode 100644 meta/recipes-core/initrdscripts/files/init-install-testfs.sh
 create mode 100644 meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb
 create mode 100644 meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
 create mode 100644 meta/recipes-extended/images/core-image-testmaster-initramfs.bb
 create mode 100644 meta/recipes-extended/images/core-image-testmaster.bb
Signature · 1 line
1.8.5.3