summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Solve qemu long rng initialization problemLaurent Bonnans2019-04-291-0/+2
| | | | | | Expose a fake hardware rng on the guest, linked to the host's /dev/urandom. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* wic:plugins:otaimage.py: fix a potential issueMing Liu2019-04-291-6/+18
| | | | | | | | | | | | | | | | do_image_wic task is a standalone task that depending on do_image_ota_ext4, so it's possible that do_image_wic runs (taskhash contaminated) but do_image_ota_ext4 does not (taskhash not contaminated), in which case, the otaimage would be in DEPLOY_DIR_IMAGE instead of in IMGDEPLOYDIR, so we need check both of them. Also, the logger.error is not supposed to raise a error, it just prints out a error message, so we should use WicError. And another typo is it checks IMGDEPLOYDIR but reports DEPLOY_DIR_IMAGE not exist, also fix that. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Configure oe-selftests to run on specific node labelci/ota-1810Manikandan Kandasamy2018-12-141-1/+3
| | | | Signed-off-by: Manikandan Kandasamy <manikandan.kandasamy@here.com>
* docs: better explanation of oe-selftest requirements.doc/oe-selftest-and-rm-examplePatrick Vacek2018-11-161-2/+3
| | | | | | Also remove all references to aktualizr-example-interface. It has been removed. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* image_types_ota: use IMGDEPLOYDIR for ota-ext4 imagesStefan Agner2018-10-182-3/+3
| | | | | | | | | | | 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>
* Split yocto builds from yocto selftestsLaurent Bonnans2018-09-062-3/+90
| | | | | In a separate Jenkinsfile right now, with a lot of duplication. Let's hope to find a cleaner way
* Create a user with correct uid inside CI's DockerfileLaurent Bonnans2018-09-062-2/+17
|
* Setup garage credentials for oe-selftest CILaurent Bonnans2018-09-062-18/+23
|
* Install ovmf in ci DockerfileLaurent Bonnans2018-09-061-0/+1
| | | | For qemu tests
* Run oe-selftest on Jenkins CILaurent Bonnans2018-09-062-0/+29
|
* Specify cpu type -host- for KVM modefix/cpu-typeEugene Smirnov2018-08-171-1/+1
|
* Merge pull request #351 from advancedtelematic/feat/better-dependenciescajun-rat2018-07-243-125/+237
|\ | | | | Feat/better dependencies
| * find_dependencies.py: Fix cases with no meaningful dependencies.Patrick Vacek2018-06-281-12/+19
| |
| * find_aktualizr_dependencies.sh: Run once per recipe.Patrick Vacek2018-06-281-12/+11
| |
| * find_dependencies.py: rename from find_packages.py.Patrick Vacek2018-06-281-0/+0
| | | | | | | | | | More generic, hopefully a bit clearer. The input must be a recipe, but recipes depend on packages.
| * find_packages.py: Hide some i586-specific virtual packages.Patrick Vacek2018-06-281-0/+2
| |
| * find_packages.py: Do not write anything if recipe is not found.Patrick Vacek2018-06-281-25/+30
| |
| * find_packages.py: Substantial rewrite based on OSS team feedback.Patrick Vacek2018-06-281-49/+130
| | | | | | | | | | | | | | | | * Only one recipe is investigated at a time. * Output is hopefully closer to the desired format. * Renamed the output file. * Skip some basic native and virtual (cross-compilation) build tools so that the output is not monstrously large.
| * find_packages.py: input package names to search.Patrick Vacek2018-06-272-20/+38
| | | | | | | | | | Use find_aktualizr_dependencies.sh to get the previous output for aktualizr-related projects.
* | Remove python3-requests from Dockerfile.bitbakeLaurent Bonnans2018-06-271-1/+0
| |
* | Rename Jenkinsfile to Jenkinsfile.bleedingLaurent Bonnans2018-06-251-0/+3
| | | | | | | | + small doc comment
* | Small doc about setting up Jenkins for meta-updaterLaurent Bonnans2018-06-251-0/+14
| |
* | Add caching to CI bitbakingLaurent Bonnans2018-06-252-4/+30
| | | | | | | | | | Also fix various issues with environment variables and file transfers to Docker
* | Use plain bash instead of hacky sed for CI config filesLaurent Bonnans2018-06-223-16/+10
| |
* | Try to bitbake on CI inside dockerLaurent Bonnans2018-06-222-4/+42
| |
* | Refactor some of the Jenkins pipeline stuffLaurent Bonnans2018-06-211-9/+14
|/ | | | Some options looked deprecated
* Try to checkout aktualizr from pipelineLaurent Bonnans2018-06-181-2/+11
|
* Bitbake build from JenkinsLaurent Bonnans2018-06-184-2/+83
|
* Checkout of repo from JenkinsLaurent Bonnans2018-06-181-0/+27
|
* find_packages.py: Ignore packages in ASSUME_PROVIDED.Patrick Vacek2018-05-301-3/+6
| | | | | There will not be recipes for those packages, so don't go looking for them. We don't need them, anyway.
* find_packages.py: Fix python style issues.Patrick Vacek2018-05-281-9/+7
|
* find_packages.py: Add explanatory comment about list appending.Patrick Vacek2018-05-281-0/+3
|
* find_packages.py: Fix repo name parsing logic.Patrick Vacek2018-05-281-5/+20
| | | | Also expand/explain TODOs.
* find_packages.py: Get full path for patches and other local files.Patrick Vacek2018-05-281-4/+11
| | | | | It might be even better to get the path relative to the root of the repo the files live in, but this is at least a step in the right direction.
* find_packages.py: Check for a few unlisted aktualizr dependencies.Patrick Vacek2018-05-281-1/+9
| | | | | | | Not all possible dependencies are specified in DEPENDS, since we don't build with everything enabled by default, so search for additional potential dependencies explicitly. Also add a comment about the things that we do not have visibility into from this process.
* find_packages.py: Catch empty info and return early.Patrick Vacek2018-05-281-1/+5
| | | | Master branch returns empty instead of throwing an exception.
* find_packages.py: Initial version.Patrick Vacek2018-05-281-0/+87
| | | | Finds aktualizr package information for OSS Review Toolkit.
* Merge remote-tracking branch 'origin/rocko' into rocko-mergeRicardo Salveti2018-03-292-0/+9
|\ | | | | | | Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * Restrict secondary network to localhostPhil Wise2018-03-271-1/+1
| |
| * Add a --secondary-network option to run-qemu-otaPhil Wise2018-03-192-0/+9
| | | | | | | | | | This sets up a simulated 'in vehicle' network. Add support for a Primary node with a DHCP server and a secondary node with a DHCP client.
* | sdimage-sota.wks: remove label as it gets set by image_types_otaRicardo Salveti2018-03-081-1/+1
|/ | | | | | | image_types_ota already defines the rootfs label when creating the ota image, so drop label overwrite when creating the sdcard partition. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* More general exception handler for `kvm-ok`Laurent Bonnans2018-01-191-1/+1
| | | | If the program is not in PATH, `FileNotFoundError` is raised
* Fix some basic oe-selftest errors.Patrick Vacek2018-01-181-1/+1
| | | | | Grub, HSM, and qemu hostname tests still fail for reasons I haven't figured out yet.
* Merge branch 'pyro' into bugfix/update-rockoPatrick Vacek2018-01-171-6/+5
|\ | | | | | | Bring over fixes from the last couple months from pyro in rocko.
| * Add a hint when machine autodetection failsPhil Wise2017-12-011-6/+5
| | | | | | | | Also fix a pylint warning about indentation
* | Add fixes for compatibility with RockoAnton Gerasimov2017-11-171-1/+1
|/
* Merge pull request #181 from ↵OYTIS2017-11-171-9/+1
|\ | | | | | | | | 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-171-9/+1
| | | | | | | | | | | | 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 )
* | Autodetect KVMPhil Wise2017-11-162-2/+15
| | | | | | | | | | | | | | | | | | | | | | 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
| |