summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OTA-3988: Split the local.conf to a base and a distro specific partfeat/OTA-3988/non-systemd-supportMykhaylo Sul2019-11-063-25/+11
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-3988: make the DISTRO value in poky-sota-systemd.conf aligned to the ↵Mykhaylo Sul2019-11-051-1/+1
| | | | | | systemd case Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-3988: oe-selftest for the non-systemd caseMykhaylo Sul2019-11-051-0/+36
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-3988: force an ostree boot indication only in case of non-systemd distroMykhaylo Sul2019-11-052-1/+3
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Indicate an OSTree boot on startEugene Smirnov2019-11-053-1/+37
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-3988: Don't build the networkd-dhcp recipe if systemd is not included ↵Mykhaylo Sul2019-11-011-1/+1
| | | | | | into the disto feature list Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* OTA-3988: Non-systemd/poky-sota local.confMykhaylo Sul2019-11-012-2/+26
| | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Merge pull request #623 from advancedtelematic/fix/ptest-reenablePatrick Vacek2019-10-281-0/+4
|\ | | | | Fix aktualizr-ptest breakage
| * Fix aktualizr-ptest breakagefix/ptest-reenableLaurent Bonnans2019-10-281-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. (#622)lbonn2019-10-281-1/+1
|\ | | | | networkd-dhcp-conf: Remove allarch.
| * networkd-dhcp-conf: Remove allarch.fix/dhcp-conf-not-allarchPatrick Vacek2019-10-281-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>
* Merge pull request #620 from advancedtelematic/fix/rm-systemdPatrick Vacek2019-10-281-1/+1
|\ | | | | aktualizr: remove systemd from PACKAGECONFIG.
| * aktualizr: remove systemd from PACKAGECONFIG.fix/rm-systemdPatrick Vacek2019-10-241-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>
* Merge pull request #616 from advancedtelematic/feat/2019.9Patrick Vacek2019-10-241-4/+4
|\ | | | | aktualizr: Bump to 2019.9 release and latest garage-sign.
| * aktualizr: Bump to 2019.9 release and latest garage-sign.feat/2019.9Patrick Vacek2019-10-211-4/+4
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #614 from jsrc27/fix-ref-bindingPatrick Vacek2019-10-221-1/+2
|\ \ | |/ |/| image_types_ostree: Fix OSTree ref-bindings
| * image_types_ostree: Fix OSTree ref-bindingsfix-ref-bindingJeremias Cordoba2019-10-151-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>
* | Merge pull request #612 from advancedtelematic/fix/603/arch-depsPatrick Vacek2019-10-1816-101/+92
|\ \ | | | | | | Fix/603/arch deps
| * | aktualizr-device-prov-creds: remove it.fix/603/arch-depsPatrick Vacek2019-10-186-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-173-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-172-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-171-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-177-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-173-6/+0
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | demo-config: inherit allarch for config-only recipes.Patrick Vacek2019-10-172-5/+9
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | demo-network-config: use ${libdir} consistently.Patrick Vacek2019-10-173-9/+9
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | aktualizr: fix secondary recipes' dependencies.Patrick Vacek2019-10-176-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>
* | Merge pull request #615 from advancedtelematic/fix/use-aktualizr-rlslbonn2019-10-171-10/+13
|\ \ | | | | | | Use proper aktualizr release in deployed images!
| * | Fix aktualizr version reporting in yocto imagefix/use-aktualizr-rlsLaurent Bonnans2019-10-171-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-171-5/+4
|/ / | | | | | | | | | | To make it self-documenting and extendable Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #613 from advancedtelematic/docs/update-readme-linksPatrick Vacek2019-10-161-24/+25
|\ \ | |/ |/| README: update and restructure the links to the dev portal.
| * README: Point docs at the dev guide in the portal.docs/update-readme-linksPatrick Vacek2019-10-161-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-151-1/+2
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * README: update and restructure the links to the dev portal.Patrick Vacek2019-10-141-16/+20
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #611 from advancedtelematic/feat/example-virtual-secPatrick Vacek2019-10-115-2/+48
|\ | | | | Example config for a virtual secondary.
| * Fix CI error if repos are missing after previous runs.feat/example-virtual-secPatrick Vacek2019-10-111-1/+3
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Bump aktualizr to the latest (d13ff1ceeca2694b982287740aca8f58edad514d).Patrick Vacek2019-10-101-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Example config for a virtual secondary.Patrick Vacek2019-10-103-0/+44
|/ | | | | | Useful for updating an arbitrary file in /var. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #597 from advancedtelematic/feat/rpi4lbonn2019-09-233-2/+38
|\ | | | | raspberrypi4 support
| * Use the recommended kernel entry point on RPIfeat/rpi4Laurent Bonnans2019-09-171-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-09-173-1/+37
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #604 from advancedtelematic/fix/2019.8Patrick Vacek2019-09-161-1/+1
|\ \ | |/ |/| aktualizr: update to 2019.8 release.
| * aktualizr: update to 2019.8 release.fix/2019.8Patrick Vacek2019-09-121-1/+1
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #600 from advancedtelematic/fix/initramfs-no-manifestPatrick Vacek2019-09-111-1/+1
|\ | | | | Don't try to put the repo manifest in the initramfs image.
| * Don't try to put the repo manifest in the initramfs image.fix/initramfs-no-manifestPatrick Vacek2019-09-091-1/+1
| | | | | | | | | | | | It isn't very useful there and just takes up space. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #589 from advancedtelematic/refactor/uptane-generator-renamePatrick Vacek2019-09-111-5/+5
|\ \ | | | | | | aktualizr: aktualizr-repo was renamed to uptane-generator.
| * | aktualizr: aktualizr-repo was renamed to uptane-generator.refactor/uptane-generator-renamePatrick Vacek2019-09-101-5/+5
|/ / | | | | | | | | | | Also bump to 2019.7 release of aktualizr and latest garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #599 from advancedtelematic/feat/better-overlaysPatrick Vacek2019-09-102-16/+60
|\ \ | |/ |/| Feat/better overlays
| * Print usage information after parameter checking.feat/better-overlaysPatrick Vacek2019-09-091-6/+6
| | | | | | | | | | | | No use printing all that if there's a problem anyway. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Prevent creating an overlay with any path but the current directory.Patrick Vacek2019-09-091-1/+11
| | | | | | | | | | | | | | | | | | | | Anything else will cause problems because of the hackery with keeping backup copies of the image and the u-boot rom. Also warn about supplying a different image name after the overlay has been created. That doesn't work and it will be ignored. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>