summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* sdimage-sota.wks: remove label as it gets set by image_types_otaRicardo Salveti2018-05-161-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>
* 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.
* 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
| |
* | Rough draft of a run-qemu-ota test.Patrick Vacek2017-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | Refactor QemuCommand class into its own file/module.Patrick Vacek2017-11-132-116/+120
|/
* Merge pull request #166 from advancedtelematic/bugfix/pyrobuildcajun-rat2017-11-091-22/+10
|\ | | | | Fix incompatibilities with latest pyro, use wic on RPi
| * Fix incompatibilities with latest pyro, use wic on RPiAnton Gerasimov2017-11-071-22/+10
| |
* | Fix race condition in run-qemu-otaAnton Gerasimov2017-11-081-1/+1
|/
* Make it easier to build from branches and run a specific imagePhil Wise2017-09-131-3/+7
| | | | | | | | | | 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.
* Merge branch 'morty' into pyroAnton Gerasimov2017-09-081-2/+25
|\
| * PRO-3923 Add persistence option to run-qemu scriptJon Oster2017-09-051-2/+25
| |
* | Merge remote-tracking branch 'github/morty' into HEADPhil Wise2017-08-241-1/+9
|\|
| * scripts/envsetup.sh: Use machine specific local.confLeon Anavi2017-08-181-1/+9
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'morty' of https://github.com/advancedtelematic/meta-updater ↵Leon Anavi2017-07-2510-1982/+150
|\| | | | | | | into pyro
| * Copy run-qemu script over from meta-updater-qemux86-64Phil Wise2017-07-2010-1982/+150
| | | | | | | | Also remove old bash scripts for running inside qemu
* | Merge branch 'morty' into pyroAnton Gerasimov2017-07-051-33/+20
|\|
| * Fix new/existing build directory logicPhil Wise2017-06-261-1/+3
| |
| * Quote all bash variablesShaun Taheri2017-06-261-36/+18
| |
| * Fix script directory in zshShaun Taheri2017-06-261-4/+7
| |
* | otaimage.py: Arrage script for pyroChanghyeok Bae2017-06-131-5/+6
|/ | | | | | | 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>
* Replace includes with bblcassesAnton Gerasimov2017-04-261-7/+1
| | | | | | 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
* Set default DISTRO, disable prelinkPhil Wise2017-04-201-0/+1
| | | | | | 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.
* Script to build over multiple directoriesPhil Wise2017-04-191-0/+60
| | | | This is a basic script to run bitbake over multiple build* directories
* Add configuration for grub-efi on MinnowboardAnton Gerasimov2017-04-112-0/+10
|
* Add tweaks for compatibility with AGLAnton Gerasimov2017-04-111-3/+2
|
* Fix small bugs, fix WIC for minnowboardAnton Gerasimov2017-04-071-0/+0
|
* Replace TEMPLATECONF with agl-like config snippetsAnton Gerasimov2017-04-041-0/+53
|
* Replace sdcard_image* classes with wicAnton Gerasimov2017-04-032-0/+76
|
* Add support for emulating OSTree updates in qemux86: new live image,Anton Gerasimov2016-08-169-0/+1982
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>