| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
| |
CLI has changed
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
| |
OSTree needs UsrMove to be implemented, meaning that everything
should be in /usr. OpenEmbedded has a distro feature usrmerge which
implements exactly that, and makes sure that no package install
anything in /bin, /sbin or /lib. Make use of it.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qemucommand.py script uses kvm-ok to determine whether KVM
is available. However, kvm-ok is very Ubuntu specific and not
readily available on Fedora.
Use QEMU_USE_KVM variable which is also used in OpenEmbedded
selftests. The variable must contain True to enable KVM for
machines containing x86 in its name, or contain a list of
machines. For meta-updater this makes sure KVM is used for all
tests:
QEMU_USE_KVM = "intel-corei7-64 qemux86-64"
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Bump to the latest version as well.
|
|
|
|
|
|
|
|
|
|
|
| |
Do not write directly to the IMAGE_DEPLOY_DIR but to the new
deploy directory IMGDEPLOYDIR.
Also change the image ending to match the image type name (from
otaimg to ota-ext4). This allows to use the automatic symlinking
and output artefact management too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Work around a bug in oe-selftest with migration and aktualizr-info
interplay by forcing --allow-migrate for now.
|
| |
|
|
|
|
|
| |
This should not be necessary, but after building for the grub test, the
sysroot does not get repopulated as expected for the implicit/HSM tests.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
STAGING_DIR_NATIVE does not get populated as I had previously believed.
Native recipes do not get packaged, so although we want to use a native
executable, we need to get the config files from the
aktualizr-host-tools package built by the aktualizr (target) recipe.
Thanks to Andre McCurdy and Khem Raj for insight on how to get this
right.
|
|
|
|
| |
Note that the HsmTests still sometimes fail
|
|
|
|
|
|
|
|
| |
Move HSM dependencies to aktualizr recipe, since it's aktualizr that can
depend on HSM support, not the provisioning prepartion.
Remove references to systemd in provisioning recipes, since they have
nothing to do with systemd.
|
| |
|
| |
|
|
|
|
|
| |
Not much else from the example configs that is easy to test with
oe-selftest.
|
| |
|
|
|
|
| |
Also add a test for the 'primary-image'
|
|
|
|
| |
Also, timeout communication to the DUT after 60s.
|
| |
|
| |
|
|
|
|
|
|
| |
This required splitting the aktualizr package into several components, in order
to be able to either install the primary 'aktualzr' or the secondary
'aktualizr-secondary'.
|
|
|
|
|
|
|
|
|
|
| |
There's not much we can do, since booting the device via a test is not
practical. Still, it's useful to make sure that we can build the image.
If trying to build the image in an environment designed for qemu, this
takes some trickery to set things up just right.
Also consistently set up layers before setting the MACHINE, since the
sanity checker sometimes complains otherwise.
|
|
|
|
|
|
|
|
| |
The layers required for the grub test are now also only added if not
already present.
This should make the tests runnable from an environment configured for
raspberry pi.
|
|
|
|
|
|
|
| |
* Check successful provisioning with autoprov and grub.
* Refactor provisioning check into an independent function.
* Rename QemuTests to AutoProvTests since that's what it is now.
* Be more explicit about MACHINE.
|
|
|
|
| |
Bring in updates to oe-selftest.
|
| |
|
|
|
|
| |
Also add a helpful hint for the oe-selftest grub problem.
|
|
|
|
|
| |
Grub, HSM, and qemu hostname tests still fail for reasons I haven't
figured out yet.
|
|
|