RFC Master image generation and testing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest3 patches 2 repliesIn review
- v1 RFC4 patches 0 repliesSuperseded
Changes since v2 from the cover letter
- droped the kernel options patch, the required options are now in the default
config fragments. You still neeed to build with an updated SRCREV though, as the kernel recipes haven't picked up the changes yet.
(SRCREV_meta_pn-linux-yocto = "${AUTOREV}" in local.conf)
- impove a bit the master image recipe (inherit core-image and add to IMAGE_INSTALL instead
of overwriting IMAGE_INSTALL, that ensures we pick up the correct modules, as core-image brings in packagegroup-base-extended)
- tweaks and fixes for GenericEfi - I did a complete test run for a NUC device connected
to a web power strip. The powercontrol command is an expect script that does ssh on a device which controls the power strip (this is particular to a network setup that
I can't control). It still works for the no power command available case.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | meta-yocto-bsp: copy install scripts from core (meta)meta-yocto-bsp/ meta-yocto-bsp/ | +405 | 0 replies | |
| 2/3 | meta-yocto-bsp: add master image for testing purposesmeta-yocto-bsp/ meta-yocto-bsp/ meta-yocto-bsp/ +3 more | +112 | 0 replies | |
| 3/3 | meta-yocto-bsp: add a controller for EFI targetsmeta-yocto-bsp/ meta-yocto-bsp/ meta/ | +123 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/3] 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.
Changes since v2:
- droped the kernel options patch, the required options are now in the default
config fragments. You still neeed to build with an updated SRCREV though, as the kernel recipes haven't picked up the changes yet.
(SRCREV_meta_pn-linux-yocto = "${AUTOREV}" in local.conf)
- impove a bit the master image recipe (inherit core-image and add to IMAGE_INSTALL instead
of overwriting IMAGE_INSTALL, that ensures we pick up the correct modules, as core-image brings in packagegroup-base-extended)
- tweaks and fixes for GenericEfi - I did a complete test run for a NUC device connected
to a web power strip. The powercontrol command is an expect script that does ssh on a device which controls the power strip (this is particular to a network setup that
I can't control). It still works for the no power command available case.
Also see YB#1596 and it's sub-bug #5614 for a bit of background. Any comments, questions, most welcome.
Cheers,
Stefan
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 92155fde2079251739f455bca599a52cd21ef12b:
bitbake: runqueue: Don't error if we never setup workers (2014-03-17 15:04:46 +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 (3):
meta-yocto-bsp: copy install scripts from core (meta)
meta-yocto-bsp: add master image for testing purposes
meta-yocto-bsp: add a controller for EFI targets
meta-yocto-bsp/lib/oeqa/controllers/__init__.py | 0 meta-yocto-bsp/lib/oeqa/controllers/masterimage.py | 121 ++++++++++++ .../images/core-image-testmaster-initramfs.bb | 20 ++ .../recipes-core/images/core-image-testmaster.bb | 15 ++ .../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 ++ meta/lib/oeqa/runtime/ssh.py | 2 + 9 files changed, 608 insertions(+) create mode 100644 meta-yocto-bsp/lib/oeqa/controllers/__init__.py create mode 100644 meta-yocto-bsp/lib/oeqa/controllers/masterimage.py create mode 100644 meta-yocto-bsp/recipes-core/images/core-image-testmaster-initramfs.bb create mode 100644 meta-yocto-bsp/recipes-core/images/core-image-testmaster.bb create mode 100644 meta-yocto-bsp/recipes-core/initrdscripts/files/init-install-efi-testfs.sh create mode 100644 meta-yocto-bsp/recipes-core/initrdscripts/files/init-install-testfs.sh create mode 100644 meta-yocto-bsp/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb create mode 100644 meta-yocto-bsp/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
Signature · 1 line
1.8.5.3