summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* aktualizr: Update to 2020.3 release.feat/thud/2020.3Patrick Vacek2020-02-281-4/+4
| | | | | | Update garage-sign to the latest as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Update CI scripts to match other supported branches.Patrick Vacek2020-02-284-15/+62
| | | | | | | | This seems mostly related to 9eebc8d15a297d68fc35dd4d77fcb945d2f395b2, which didn't make it to thud, since some of it was only required for master. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* oe-selftest.sh: This also now requires setting git identity.Patrick Vacek2020-02-281-1/+11
| | | | | | | | Not sure why this only started cropping up now. Also pull in some other missing bits from other upstream changes. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* sota_bleeding: Also set aktualizr-native to the latest.Patrick Vacek2020-02-281-0/+1
| | | | | | I'm a bit surprised we never noticed this was missing! Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Update aktualizr recipe to use new .so namesLaurent Bonnans2020-02-281-7/+7
| | | | | | Aktualizr and garage-sign are also bumped in the process. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* image_types_ostree: update doc link.Patrick Vacek2020-02-281-2/+2
| | | | | | | Most of the README content has been moved to the docs portal, so provide the direct link. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* test: shared cred provisioning for non-ostree caseKostiantyn Bushko2020-02-283-0/+28
| | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
* fix: make secondaries' network less intrusiveMykhaylo Sul2020-02-284-6/+6
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Remove a debug print in qemucommand.pyLaurent Bonnans2020-02-281-1/+0
| | | | | | Was missed during review Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Get the second IP from DHCP to access InetMykhaylo Sul2020-02-281-1/+1
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-4388: Conf variable to specify an update type for secondaryMykhaylo Sul2020-02-283-5/+21
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* image_types_ostree: set version metadata fieldStefan Agner2020-02-281-0/+2
| | | | | | | | | | | | | OSTree uses the "version" metadata field in various places, e.g. in ostree admin status. Use DISTRO_VERSION as default version number source. This gives a more human readable version number to a particular OSTree: $ ostree admin status * torizon f1825d8a8f89c48cc0915ea059bd23463a97655757a53ae0ab0fe7a97e1ebeb2.0 Version: 3.0+snapshot-20200128 origin refspec: f1825d8a8f89c48cc0915ea059bd23463a97655757a53ae0ab0fe7a97e1ebeb Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* meta: move HOSTTOOLS definitions to sota.conf.incMing Liu2020-02-284-7/+2
| | | | | | | | | | | | | | | | | HOSTTOOLS and HOSTTOOLS_NONFATAL are global variables that being handled in base_eventhandler, so they must be defined in config files or in INHERIT classes or classes being inherited by base.bbclass, or else we might run into the following problems: ``` $ bitbake pkgname $ bitbake imgname ``` the HOSTTOOLS and HOSTTOOLS_NONFATAL in the above image recipe, for instance, 'repo python' in image_repo_manifest.bbclass, they would not be copied to HOSTTOOLS_DIR. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* initramfs-ostree-image: drop image_repo_manifest from IMAGE_CLASSESMing Liu2020-02-281-2/+2
| | | | | | | | We should remove image_repo_manifest from IMAGE_CLASSES instead of dropping buildinfo_manifest from IMAGE_PREPROCESS_COMMAND, which would ensure the entire class not to be inherited. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #682 from minori-yasumura/thudPatrick Vacek2020-02-111-3/+4
|\ | | | | Rename defconfig and bootfiles
| * Rename defconfig and bootfilesMinori Yasumura2020-02-111-3/+4
|/ | | | | | The file name of sota has been changed in AGL, so change it to apply. Signed-off-by: Minori Yasumura <minori@witz-inc.co.jp>
* Merge pull request #680 from advancedtelematic/fix/thud/agl-build-connmanPatrick Vacek2020-02-102-5/+6
|\ | | | | connman: Only apply our patch to 1.35.
| * connman: Only apply our patch to 1.35.fix/thud/agl-build-connmanPatrick Vacek2020-02-102-5/+6
|/ | | | | | Also still set RPROVIDES for all other versions. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #671 from advancedtelematic/feat/thud/2020.2Xavier Gully2020-01-306-24/+67
|\ | | | | Feat/thud/2020.2
| * Bump a new aktualizr versionfeat/thud/2020.2Mykhaylo Sul2020-01-301-1/+1
| | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
| * Fix default uboot-enable variable in qemu command scriptKostiantyn Bushko2020-01-292-2/+2
| | | | | | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
| * aktualizr: Remove unused hmi-stub and examples package.Patrick Vacek2020-01-291-5/+1
| | | | | | | | | | | | | | | | hmi-stub was replaced by libaktualizr-demo-app and is no longer part of this recipe. That leaves the aktualizr-examples package empty, so just get rid of it. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * build and run image without ostree support for qemux86-64Kostiantyn Bushko2020-01-294-17/+64
| | | | | | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
| * aktualizr: relies on nss-lookup.targetMing Liu2020-01-291-1/+1
|/ | | | | | | aktualizr.service needs run after nss-lookup.target to ensure DNS resolving is ready. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #665 from advancedtelematic/feat/thud/2020.1Patrick Vacek2020-01-2311-19/+68
|\ | | | | Feat/thud/2020.1
| * aktualizr: Bump to latest.feat/thud/2020.1Patrick Vacek2020-01-201-4/+4
| | | | | | | | | | | | Bump garage-sign as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-4174: Make an ostree update a default on IP SecondaryMykhaylo Sul2020-01-204-6/+6
| | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
| * zabbix-agent: configuration recipeKostiantyn Bushko2020-01-151-0/+20
| | | | | | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
| * fix issue with attr error for host_forwardKostiantyn Bushko2020-01-151-1/+1
| | | | | | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
| * run-qemu-ota: passing hostfwd as command line argumentKostiantyn Bushko2020-01-152-0/+15
| | | | | | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
| * Adapt to shared libraries changes in aktualizrLaurent Bonnans2020-01-151-3/+17
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * README: bump copyright to 2020.Patrick Vacek2020-01-151-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Allow dots in ostree branch names and hw idsLaurent Bonnans2020-01-151-4/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * meta: add python to HOSTTOOLS_NONFATALMing Liu2020-01-152-3/+3
|/ | | | | | | | | | repo is requiring python to be able to work correctly, add python to HOSTTOOLS_NONFATAL as well. image_repo_manifest is actually a image bbclass, move it to IMAGE_CLASSES instead of inheriting it in sota.bbclass. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Thud backport for 2019.11 (#647)lbonn2019-12-167-20/+58
|\ | | | | Thud backport for 2019.11
| * Update aktualizr to 2019.11feat/thud/2019.11Laurent Bonnans2019-12-121-4/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Set PKCS11_ENGINE_PATH when using aktualizr with HSMLaurent Bonnans2019-12-122-3/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add --bootloader flag to specify path to a custom u-boot rom.Patrick Vacek2019-12-123-0/+4
| | | | | | | | | | | | | | Also should work for other bootloaders. This is intended to help with keeping around older versions of images with a similarly old bootloader. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * keep new name suggestion remove ostree repo checkZee3141592019-12-121-3/+7
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
| * Use regex and add some variablesZee3141592019-12-121-37/+38
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
| * Add sanity checks for user-defined SOTA variablesZee3141592019-12-122-14/+42
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
* | Merge pull request #650 from ↵Raigi2019-12-131-0/+1
|\ \ | |/ |/| | | | | advancedtelematic/feat/thud/exclude-otf-from-schedules Don't trigger otf on nightly meta-updater schedules
| * Don't trigger otf on nightly meta-updater schedulesfeat/thud/exclude-otf-from-schedulesGlaser, Raigi2019-12-131-0/+1
|/ | | | Signed-off-by: Raigi <ext-raigi.glaser@here.com>
* Merge pull request #640 from advancedtelematic/feat/thud/run-otf-on-prPatrick Vacek2019-12-041-0/+12
|\ | | | | Trigger otf bitbake tests on PR
| * Trigger otf bitbake tests on PRfeat/thud/run-otf-on-prRaigi2019-12-031-0/+12
|/ | | | Signed-off-by: Raigi <ext-raigi.glaser@here.com>
* Merge pull request #634 from advancedtelematic/feat/thud/2019.10Patrick Vacek2019-11-2614-51/+136
|\ | | | | Feat/thud/2019.10
| * aktualizr: Upgrade to 2019.10 release and latest garage-sign.feat/thud/2019.10Laurent Bonnans2019-11-201-4/+4
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Build core-image-minimal for rpi on CILaurent Bonnans2019-11-201-0/+11
| | | | | | | | | | | | | | | | Also publish images as artifact so that they can directly be downloaded for tests. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Remove systemd packaging.Patrick Vacek2019-11-201-1/+0
| | | | | | | | | | | | That dependency and build flag have been removed as they were unused. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Only push repo manifest if garage-push supports itLaurent Bonnans2019-11-201-1/+2
| | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>