summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | Test booting with grub.Patrick Vacek2017-11-171-4/+35
| | | | | |
| | | * | | Refactor Qemu interaction into seperate functions.Patrick Vacek2017-11-171-37/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make it easy to make new test classes that launch independent qemu instances with different configurations.
| | * | | | Merge pull request #189 from advancedtelematic/bugfix/teamcity-buildPatrick Vacek2017-11-271-1/+3
| | |\ \ \ \ | | | | | | | | | | | | | | Bugfix/teamcity build
| | | * | | | Bump aktualizr version for C++98 standard fix.Patrick Vacek2017-11-271-1/+1
| | | | | | |
| | | * | | | Actually do something with aktualizr-info.Patrick Vacek2017-11-271-0/+2
| | |/ / / /
| | * | | | Merge pull request #188 from advancedtelematic/bugfix/PRO-4260/backwardsPatrick Vacek2017-11-271-1/+1
| | |\ \ \ \ | | | |_|_|/ | | |/| | | Bump aktualizr version for good
| | | * | | Bump aktualizr version for goodAnton Gerasimov2017-11-241-1/+1
| | |/ / / | | | | | | | | | | | | | | | Should fix PRO-4260
| | * | | Merge pull request #187 from advancedtelematic/bugfix/tufrepocajun-rat2017-11-242-8/+4
| | |\ \ \ | | | |_|/ | | |/| | Rename repo.url -> tufrepo.url
| | | * | Rename repo.url -> tufrepo.urlAnton Gerasimov2017-11-232-8/+4
| | |/ / | | | | | | | | | | | | Also pass this URL to garage-sign
| | * | Merge pull request #186 from advancedtelematic/feat/PRO-4290/garagecheckcajun-rat2017-11-213-5/+16
| | |\ \ | | | | | | | | | | Check if the package and UPTANE target got to the backend
| | | * | Check if the package and UPTANE target got to the backendAnton Gerasimov2017-11-213-5/+16
| | |/ /
| * | | Merge pull request #221 from leon-anavi/PRJ-315cajun-rat2018-01-103-0/+3
| |\ \ \ | | | | | | | | | | sota_raspberrypi*.inc: Included meta-python
| | * | | sota_raspberrypi.bbclass: Remove sdimg-rpiLeon Anavi2018-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | sota_raspberrypi*.inc: Included meta-pythonLeon Anavi2018-01-052-0/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Merge pull request #216 from leon-anavi/rockoPatrick Vacek2017-12-291-1/+1
| |\ \ \ | | | | | | | | | | sota_qemux86-64.bbclass: Use u-boot-ota
| | * | | sota_qemux86-64.bbclass: Use u-boot-otaLeon Anavi2017-12-221-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Use u-boot-ota recipe for QEMU x86-64 bootloader. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * | | Port fix for non-repo use-case from pyroAnton Gerasimov2017-12-131-2/+2
| | | |
| * | | Merge pull request #184 from advancedtelematic/feat/PRO-4252/rockocajun-rat2017-11-1718-205/+331
| |\ \ \ | | | | | | | | | | Feat/pro 4252/rocko
| | * | | Add fixes for compatibility with RockoAnton Gerasimov2017-11-178-33/+6
| | |/ /
| | * | Merge pull request #181 from ↵OYTIS2017-11-172-9/+3
| | |\ \ | | | |/ | | |/| | | | | | | | | advancedtelematic/bugfix/PRO-4319/duplicate-bblayers-snippets Ignore configuration templates to avoid duplicate inclusion of stuff
| | | * Ignore configuration templates to avoid duplicate inclusion of stuffAnton Gerasimov2017-11-172-9/+3
| | |/ | |/| | | | | | | | | | | | | 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 )
| | * Merge pull request #180 from advancedtelematic/feat/PRO-4199/oe-selftest-qemucajun-rat2017-11-171-10/+42
| | |\ | | | | | | | | Feat/pro 4199/oe selftest qemu
| | | * Make launching qemu part of setUpClass.Patrick Vacek2017-11-161-41/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Move oe-selftest qemu logic to its own function.Patrick Vacek2017-11-161-31/+60
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Merge pull request #179 from advancedtelematic/bugfix/PRO-4260/createtokenOYTIS2017-11-162-2/+1
| | |\ \ | | | |/ | | |/| Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakes
| | | * Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakesAnton Gerasimov2017-11-162-2/+1
| | | | | | | | | | | | | | | | | | | | 'SOTA_CLIENT_PROV = "aktualizr-hsm-test-prov"' should set in local.conf in order to build with softhsm
| | * | Merge pull request #178 from advancedtelematic/feat/autodetect-kvmcajun-rat2017-11-163-6/+22
| | |\ \ | | | | | | | | | | Autodetect kvm
| | | * | Autodetect KVMPhil Wise2017-11-163-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | Remove unused import, break long linesPhil Wise2017-11-161-2/+5
| | | | |
| | * | | Merge pull request #176 from advancedtelematic/test/PRO-4229/oe-selftest-hsmcajun-rat2017-11-161-0/+22
| | |\ \ \ | | | |/ / | | |/| | Test/pro 4229/oe selftest hsm
| | | * | garage_push.py: Test SOTA_PACKED_CREDENTIALSLeon Anavi2017-11-151-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * | garage_push.py: Check distro featuresLeon Anavi2017-11-151-0/+8
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Ensure that systemd and sota are among the distro features. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| | * | Merge pull request #174 from ↵cajun-rat2017-11-158-159/+249
| |/| | | | | | | | | | | | | | | | | | advancedtelematic/feat/PRO-4199/oe-selftest-sota-tools Feat/pro 4199/oe selftest sota tools
| | * | Fix some paths based on Leon's techniques.Patrick Vacek2017-11-151-5/+6
| | | |
| | * | Basic garage-deploy test.Patrick Vacek2017-11-132-1/+9
| | | |
| | * | Make double-bitbake test actually useful.Patrick Vacek2017-11-131-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * | Split tests into independent classes.Patrick Vacek2017-11-131-11/+27
| | | | | | | | | | | | | | | | | | | | This reduces unnecessary time spent on setUpClass calls that may not be necessary for individual tests. It also organizes things a bit better.
| | * | Fix paths to be more reliable.Patrick Vacek2017-11-131-9/+9
| | | |
| | * | Rough draft of a run-qemu-ota test.Patrick Vacek2017-11-134-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Rename for accuracy.Patrick Vacek2017-11-132-4/+3
| | | |
| | * | Refactor QemuCommand class into its own file/module.Patrick Vacek2017-11-132-116/+120
| | | |
* | | | Merge pull request #197 from benkard/patch-1cajun-rat2017-12-051-1/+1
|\ \ \ \ | | | | | | | | | | Fix calculate_size in case $SIZE < $MIN
| * | | | Fix calculate_size in case $SIZE < $MINMatthias Andreas Benkard2017-12-051-1/+1
|/ / / / | | | | | | | | calculate_size had a typo that made one of the cases fail. This patch fixes it.
* | | | Merge pull request #185 from liuming50/masterOYTIS2017-12-024-8/+6
|\ \ \ \ | | | | | | | | | | Cleaner intramfs recipe, better systemd detection.
| * | | | sota: introduce INITRAMFS_FSTYPESMing Liu2017-11-204-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | image_types_ostree.bbclass: change the systemd detecting logicMing Liu2017-11-201-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #182 from liuming50/masterOYTIS2017-11-172-7/+3
|\ \ \ \ | |/ / / |/| | | Some bbclass fixes
| * | | image_types_ostree.bbclass: do not inherit imageMing Liu2017-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_types_ota.bbclass: do not inherit imageMing Liu2017-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_types_ota.bbclass: drop deprecated IMAGE_DEPENDSMing Liu2017-11-171-3/+3
|/ / / | | | | | | | | | | | | | | | | | | 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>