[0/3] Master image generation and hw testing

Submitted by Stanacar, StefanX on March 30, 2014, 2:47 p.m. | Patch ID: 69651


Message ID cover.1396188987.git.stefanx.stanacar@intel.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib stefans/masterimage

Commit Message

Stanacar, StefanX March 30, 2014, 2:47 p.m.

This is what I currently use for doing automated deployment
for a genericx86-64 image on NUC. 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.


V4: this is almost identical to the RFC sent but:
  - squased the first two patches
  - adress Otavio's comments - rename the class and use a constant for one
of the deploy commands
  - cosmetic changes, mostly comments/typos, nothing functional

The following changes since commit 790cc61a754d156c15f77c95539e17ec4d9f2c41:

  bitbake: user-manual-execution.xml: Added how BB processes curly braces. (2014-03-30 10:19:49 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib stefans/masterimage

Stefan Stanacar (3):
  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           | 133 +++++++++++++
 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       |  14 ++
 .../initramfs-live-install-testfs_1.0.bb           |  14 ++
 .../images/core-image-testmaster-initramfs.bb      |  19 ++
 .../images/core-image-testmaster.bb                |  18 ++
 8 files changed, 610 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