| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This should make it easy to make new test classes that launch
independent qemu instances with different configurations.
|
| | |\ \ \ \
| | | | | | |
| | | | | | | |
Bugfix/teamcity build
|
| | | | | | | |
|
| | |/ / / / |
|
| | |\ \ \ \
| | | |_|_|/
| | |/| | | |
Bump aktualizr version for good
|
| | |/ / /
| | | | |
| | | | |
| | | | | |
Should fix PRO-4260
|
| | |\ \ \
| | | |_|/
| | |/| | |
Rename repo.url -> tufrepo.url
|
| | |/ /
| | | |
| | | |
| | | | |
Also pass this URL to garage-sign
|
| | |\ \
| | | | |
| | | | | |
Check if the package and UPTANE target got to the backend
|
| | |/ / |
|
| |\ \ \
| | | | |
| | | | | |
sota_raspberrypi*.inc: Included meta-python
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove sdimg-rpi from IMAGE_FSTYPES and rely only
on wic image for SOTA as it has been done at commit
27e0edbef0180fd7643e2b1558e313bc2baa92d9 for Pyro.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add Yocto/OE layer meta-updater to bblayers as it
required for building recipe rpi-gpio for Yocto/OE
layer meta-raspberrypi.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| |\ \ \
| | | | |
| | | | | |
sota_qemux86-64.bbclass: Use u-boot-ota
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Use u-boot-ota recipe for QEMU x86-64 bootloader.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Feat/pro 4252/rocko
|
| | |/ / |
|
| | |\ \
| | | |/
| | |/|
| | | |
| | | | |
advancedtelematic/bugfix/PRO-4319/duplicate-bblayers-snippets
Ignore configuration templates to avoid duplicate inclusion of stuff
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Also add IMAGE_ROOTFS_EXTRA_SPACE to qemu configuration which was
the original motivation for returning TEMPLATECONF processing (see
https://github.com/advancedtelematic/meta-updater-qemux86-64/pull/9 )
|
| | |\
| | | |
| | | | |
Feat/pro 4199/oe selftest qemu
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
And terminating part of tearDownClass. This cleans things up nicely and
means we only have to boot once for multiple tests.
If we do want to boot multiple times (e.g. with different configs), we
can move most of the qemu code to non-class functions and use multiple
classes that each call those functions in setUpClass and tearDownClass.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This means we can call it from any number of tests and run arbitrary
commands. I finally figured out how to get commands with arguments
working, too.
|
| | |\ \
| | | |/
| | |/| |
Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakes
|
| | | |
| | | |
| | | |
| | | |
| | | | |
'SOTA_CLIENT_PROV = "aktualizr-hsm-test-prov"' should set in local.conf
in order to build with softhsm
|
| | |\ \
| | | | |
| | | | | |
Autodetect kvm
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Autodetect KVM by using the 'kvm-ok' command line tool. This has two benefits:
Firstly, it improves the UX of run-qemu-ota when working on machines without
KVM (e.g. AWS). Previously, people had to use the --no-kvm option in these
cases.
Secondary, it makes oe-selftest usable on machines without KVM. Our tests call
run-qemu-ota, and we want to able to run them on machines without KVM.
|
| | | | | |
|
| | |\ \ \
| | | |/ /
| | |/| | |
Test/pro 4229/oe selftest hsm
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add test to verify that the file specified at
SOTA_PACKED_CREDENTIALS exists and is included
in the image. If SOTA_PACKED_CREDENTIALS is not
set this test case will be skipped.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensure that systemd and sota are among the distro
features.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| |/| |
| | | |
| | | |
| | | |
| | | | |
advancedtelematic/feat/PRO-4199/oe-selftest-sota-tools
Feat/pro 4199/oe selftest sota tools
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Make sure to remove man package before bitbaking.
* Test that the package exists or not.
* Check the image name and size to make sure it changes.
* Move to appropriate class and rename.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reduces unnecessary time spent on setUpClass calls that may not be
necessary for individual tests. It also organizes things a bit better.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Not very useful yet. Could be made into a function for the purpose of
running arbitrary commands via SSH, for example. However, I had plenty
of trouble even getting this far.
Note that I created a softlink to qemucommand to get around the Python
path issues in oe-selftest. I'm not sure if there's a better way to
handle that, since manipulating the path is seemingly impossible.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix calculate_size in case $SIZE < $MIN
|
|/ / / /
| | | |
| | | | |
calculate_size had a typo that made one of the cases fail. This patch fixes it.
|
|\ \ \ \
| | | | |
| | | | | |
Cleaner intramfs recipe, better systemd detection.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
RAMDISK_EXT and IMAGE_FSTYPES of initramfs-ostree-image should not be
defined separately, because they are representing the same fstype of
a same initramfs image, or else, they turn out to be inconsistent if
the users change one of them.
So we use INITRAMFS_FSTYPES already defined in bitbake.conf, to be able
to set fstype for initramfs. And it should default to ext4.gz.u-boot or
ext4.gz depending on what OSTREE_BOOTLOADER is being set.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It can not determine the init manager is systemd by checking if
DISTRO_FEATURES contains 'systemd', change it to check
VIRTUAL-RUNTIME_init_manager instead.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Some bbclass fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As a image_types_* bbclass, it does not have to inherit image class, it
is sort of redundant code.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As a image_types_* bbclass, it does not have to inherit image class, it
is sort of redundant code.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
IMAGE_DEPENDS is deprecated in latest OE, replace it with:
do_image_<type>[depends] += "<recipe>:<task>"
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|