summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update aktualizr to 2019.11feat/warrior/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 #643 from advancedtelematic/feat/warrior/run-otf-on-prPatrick Vacek2019-12-051-0/+12
|\ | | | | Trigger otf bitbake tests on PR
| * Trigger otf bitbake tests on PRfeat/warrior/run-otf-on-prRaigi2019-12-051-0/+12
|/ | | | Signed-off-by: Raigi <ext-raigi.glaser@here.com>
* Merge pull request #633 from advancedtelematic/feat/warrior/2019.10Patrick Vacek2019-11-2614-51/+136
|\ | | | | Feat/warrior/2019.10
| * aktualizr: Upgrade to 2019.10 release and latest garage-sign.feat/warrior/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>
| * Send a copy of repo manifest through garage-pushLaurent Bonnans2019-11-201-2/+8
| | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * meta: change OTA_IMAGE_ROOTFS to TAR_IMAGE_ROOTFSMing Liu2019-11-202-3/+3
| | | | | | | | | | | | | | | | No functional changes, rename OTA_IMAGE_ROOTFS to TAR_IMAGE_ROOTFS since the later is a more common name. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: Split the local.conf to a base and a distro specific partMykhaylo Sul2019-11-203-25/+11
| | | | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: make the DISTRO value in poky-sota-systemd.conf aligned to the ↵Mykhaylo Sul2019-11-201-1/+1
| | | | | | | | | | | | | | systemd case Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Remove a now unnecessary hack in rpi oe-selftestsLaurent Bonnans2019-11-201-16/+0
| | | | | | | | | | | | | | See https://github.com/advancedtelematic/meta-updater-qemux86-64/pull/37 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: oe-selftest for the non-systemd caseMykhaylo Sul2019-11-201-0/+36
| | | | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: force an ostree boot indication only in case of non-systemd distroMykhaylo Sul2019-11-202-1/+3
| | | | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Indicate an OSTree boot on startEugene Smirnov2019-11-203-1/+37
| | | | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: Don't build the networkd-dhcp recipe if systemd is not included ↵Mykhaylo Sul2019-11-201-1/+1
| | | | | | | | | | | | | | into the disto feature list Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3988: Non-systemd/poky-sota local.confMykhaylo Sul2019-11-202-2/+26
|/ | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #617 from advancedtelematic/feat/warrior/2019.9-backportPatrick Vacek2019-10-3031-331/+220
|\ | | | | Feat/warrior/2019.9 backport
| * Add ethernet driver for rpi4feat/warrior/2019.9-backportLaurent Bonnans2019-10-291-1/+1
| | | | | | | | | | | | On master, it's using the default poky configuration. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix aktualizr-ptest breakageLaurent Bonnans2019-10-291-0/+4
| | | | | | | | | | | | The compile step was removed by mistake in ec1ac0617b120813d6450dffe1aa8d4868e37332! Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * networkd-dhcp-conf: Remove allarch.Patrick Vacek2019-10-291-1/+1
| | | | | | | | | | | | | | | | We were setting PACKAGE_ARCH to MACHINE_ARCH anyway, so this wasn't helping anything. Suggested-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: remove systemd from PACKAGECONFIG.Patrick Vacek2019-10-291-1/+1
| | | | | | | | | | | | | | The systemd functionality in aktualizr is not currently used for anything, so there's no reason to use it. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Bump to 2019.9 release and latest garage-sign.Patrick Vacek2019-10-291-4/+4
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * image_types_ostree: Fix OSTree ref-bindingsJeremias Cordoba2019-10-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The command "ostree refs --create" creates a new ref that points to a pre-existing commit hash. This does not add this new ref to the ref-bindings metadata in OSTree. The missing metadata leads to OSTree verifcation failures when working with the new ref. Fix this by adding the "--bind-ref" option to "ostree commit" which adds the needed ref-binding metadata. Signed-off-by: Jeremias Cordoba <js.cordoba8321@gmail.com>
| * aktualizr-device-prov-creds: remove it.Patrick Vacek2019-10-216-72/+0
| | | | | | | | | | | | | | | | | | | | Originally I was just trying to remove the reference to DEPLOY_DIR_IMAGE because it depends on MACHINE, but then I realized that this recipe is just plain not worth keeping. It isn't viable for anything except the most limited testing, since it bakes device-specific credentials into an image, but we weren't even using it for testing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Specify more configs as MACHINE_ARCH.Patrick Vacek2019-10-213-0/+7
| | | | | | | | | | | | | | If they depend on MACHINE, that's what we gotta do. Still haven't sorted out aktualizr-device-prov-creds, though. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Split aktualizr hwid config to another recipeLaurent Bonnans2019-10-212-5/+24
| | | | | | | | | | | | So that we can fix the ${MACHINE} dependency issues Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * layer.conf: Update LAYERDEPENDS_sota.Patrick Vacek2019-10-211-1/+3
| | | | | | | | | | | | It was missing a few dependencies. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: use SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS for config recipes.Patrick Vacek2019-10-217-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a bit of a compromise. These recipes are allarch, since they do not depend on an architecture, but they depend on aktualizr, which is definitely not allarch. Therefore, we must tell bitbake not to treat the aktualizr architecture as a dependency of these recipes. However, this means that if one of the config files changes in the aktualizr repo, we need to bump the version of the recipe that uses it to make sure bitbake picks up that change. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * demo-config: recipes that depend on MACHINE cannot be allarch.Patrick Vacek2019-10-213-6/+0
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * demo-config: inherit allarch for config-only recipes.Patrick Vacek2019-10-212-5/+9
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * demo-network-config: use ${libdir} consistently.Patrick Vacek2019-10-213-9/+9
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: fix secondary recipes' dependencies.Patrick Vacek2019-10-216-16/+17
| | | | | | | | | | | | | | Most do not need to depend on aktualizr-native and do not need to be rebuilt if the credentials change. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Fix aktualizr version reporting in yocto imageLaurent Bonnans2019-10-211-5/+9
| | | | | | | | | | | | | | | | | | | | Stop overriding AKTUALIZR_VERSION with the recipe version which is mostly bogus. And bump aktualizr to make sure we're using a version which fails at configure time if no version was specified. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Give names to different SRC_URI in aktualizr recipeLaurent Bonnans2019-10-211-5/+4
| | | | | | | | | | | | To make it self-documenting and extendable Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * README: Point docs at the dev guide in the portal.Patrick Vacek2019-10-211-16/+12
| | | | | | | | | | | | As opposed to the source of the docs in the aktualizr repo. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * README: fix a malformed link and add some more.Patrick Vacek2019-10-211-1/+2
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * README: update and restructure the links to the dev portal.Patrick Vacek2019-10-211-16/+20
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Example config for a virtual secondary.Patrick Vacek2019-10-213-0/+44
| | | | | | | | | | | | Useful for updating an arbitrary file in /var. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Use the recommended kernel entry point on RPILaurent Bonnans2019-10-211-1/+1
| | | | | | | | | | | | | | 0x8000 does not work on raspberrypi4-64 whereas 0x80000 is the value recommended for all platforms on u-boot Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Raspberrypi4 initial supportLaurent Bonnans2019-10-213-1/+37
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * CI scripts: remove everything that only belongs in master.Patrick Vacek2019-10-216-191/+0
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #601 from advancedtelematic/backport/warrior/2019.7Patrick Vacek2019-09-169-319/+129
|\ | | | | Backport/warrior/2019.7
| * Revert "layer.conf: add zeus to compatible release series"backport/warrior/2019.7Patrick Vacek2019-09-111-1/+1
| | | | | | | | | | | | | | | | This reverts commit ac7df811cb7589dd6d199ca3d7cde6d606e46f25. Warrior doesn't need to be compatible with zeus. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>