| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Squashed:
* Oe-selftest GitLab pipeline stage
* Use credentials for CI's oe-selftest
* Setup kvm trick for docker on CI
The gid of the kvm group needs to match the one from the host
* Run ci scripts from Docker images
* Template out jobs and split .gitlab-ci.yml
To be easily reused in other branches and projects
Rely on this gitlab feature: https://docs.gitlab.com/ee/ci/yaml/#extends
* More flexible checkout script for CI
- can work without $CURRENT_PROJECT (checks out everything)
- can take a list of pinned versions
* Add optional CI jobs
ptest and other oe-selftests
* Publish bitbaked images as artifacts
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Including these points (initially as separate commits):
* Try caching updater-repo in gitlab
* Only patch aktualizr recipe in CI if needed
* Run under user 4321 in bitbake docker image
* Add ability to supply METADIR to envsetup.sh
So that we can bypass the "relative path from the script" trick that
doesn't work with symlinks.
* Checkout the PR base branch
* do not run on pushes
* run on runners with "gitlab" tag
* Print all revisions after repo checkout on CI
* Pull CI image from the base branch instead of master
* More robust checkout in CI
* Only store updater-repo artifacts for one day
* Use "stretch" instead of "stable" for Debian release in Dockerfile
(in fact, stable just changed to buster)
* Move UPDATER_REPO variable out of .gitlab-ci.yml
To be defined in the project's settings
* Make docker CI stage buildable on shared runners
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
| |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
| |
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
|
|
| |
Expose a fake hardware rng on the guest, linked to the host's /dev/urandom.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
If the program is not in PATH, `FileNotFoundError` is raised
|
|
|
|
|
| |
Grub, HSM, and qemu hostname tests still fail for reasons I haven't
figured out yet.
|
|\
| |
| |
| | |
Bring over fixes from the last couple months from pyro in rocko.
|
| |
| |
| |
| | |
Also fix a pylint warning about indentation
|
|/ |
|
|\
| |
| |
| |
| | |
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 )
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 incompatibilities with latest pyro, use wic on RPi
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
Is is now easy to build a specific branch by adding the following line to
local.conf
BRANCH_pn-aktualizr = "mybranchname"
Also, the run-qemu-ota script can also take a path to an image file, which is
useful for long-term test images.
|
|\ |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the configurations for local.conf provided by
layer meta-updater-* (depending on the machine)
if variable TEMPLATECONF has not been set.
Otherwise, if the variable is not set or if the
layer does not provide any configurations then
the default will be used (just as before this change).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|\|
| |
| |
| | |
into pyro
|
| |
| |
| |
| | |
Also remove old bash scripts for running inside qemu
|
|\| |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
1. msger is replaced to logging module in yocto upstream (pyro branch).
2. move oe/misc.py one level up in yocto upstream (pyro branch).
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
|
|
|
|
|
|
| |
They are more flexible and allow tricks like conditionally inheriting
machine-related classes from the main one which makes things easier
for external users like AGL
|
|
|
|
|
|
| |
Setting the default DISTRO to include systemd means that the rvi-sota-client
starts by default, making it work 'out of the box'. image-prelink seems to be
broken at the moment, so I've disabled it by default.
|
|
|
|
| |
This is a basic script to run bitbake over multiple build* directories
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
u-boot that can be used as BIOS, machine that uses both and fork of poky
runqemu supporting the new live image.
Bug-AGL: SPEC-236
Change-Id: Id99d122c05a00eb94902e8f6907455a1e681f2a3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
|