]> code.ossystems Code Review - openembedded-core.git/commit
recipes-extended: add master image for testing purposes
authorStefan Stanacar <stefanx.stanacar@intel.com>
Sun, 30 Mar 2014 14:47:34 +0000 (17:47 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Mar 2014 16:54:35 +0000 (17:54 +0100)
commitdea237ccd9407288cd3a73e1deca270619dd6d4a
tree2219c29169a4723846e27ab0d09c7b690a86f084
parent39fcab00cd3b85d40966689e31b4c7748f630739
recipes-extended: add master image for testing purposes

Add a custom recipe with custom initramfs and installers, that makes
it easy to deploy a master image for testing purposes.
We need a master image running on the target hardware, that should be a
known good build, with a set of utilities installed so that we use it
to deploy the images under test.

This core-image-testmaster recipe isn't a requirement per se, any image can
be used as long as the required conditions are met.
The test code assumes:
 - that the device has a second rootfs labeled as testrootfs
 - it has a properly configured bootloader entry (called test) for the second kernel and rootfs
 - the master image has a /etc/masterimage file so it can differentiate between master
and test images
 - the master image has tar, mount, bash (basically the normal linux utilities not the busybox
ones)

[YOCTO #5614]

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/images/core-image-testmaster-initramfs.bb [new file with mode: 0644]
meta/recipes-extended/images/core-image-testmaster.bb [new file with mode: 0644]