summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 #618 from advancedtelematic/feat/thud/2019.9-backportPatrick Vacek2019-10-3029-331/+219
|\ | | | | Feat/thud/2019.9 backport
| * Fix aktualizr-ptest breakagefeat/thud/2019.9-backportLaurent 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>
| * Default bblayers.conf for rpi3-64 also requires meta-python.Patrick Vacek2019-10-291-0/+1
| | | | | | | | | | | | | | | | In warrior and newer branches, meta-python is required by everything, but for thud and earlier, it's only necessary for RPi. That said, I'm not sure why rpi2 has never used 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/+2
| | | | | | | | | | | | 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>
| * Remove Jenkins references in meta-updaterLaurent Bonnans2019-10-213-192/+0
|/ | | | | | Was killed for good Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #602 from advancedtelematic/backport/thud/2019.7Patrick Vacek2019-09-169-318/+129
|\ | | | | Backport/thud/2019.7
| * aktualizr: aktualizr-repo was renamed to uptane-generator.backport/thud/2019.7Patrick Vacek2019-09-111-5/+5
| | | | | | | | | | | | Also bump to 2019.7 release of aktualizr and latest garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Don't try to put the repo manifest in the initramfs image.Patrick Vacek2019-09-111-1/+1
| | | | | | | | | | | | It isn't very useful there and just takes up space. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Print usage information after parameter checking.Patrick Vacek2019-09-111-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-111-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>
| * Copy the image and U-Boot rom when using overlays.Patrick Vacek2019-09-112-9/+43
| | | | | | | | | | | | | | | | | | | | | | Since bitbake can remove old images that an overlay was non-obviously dependent on, the safest thing to do is make a copy of the image and keep it alongside the overlay. When using the overlay later, automatically use that image. Also do the same thing with the U-Boot rom. This should also make moving the overlay file to another machine much easier. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * fixing broken linkMerlin Carter2019-09-111-1/+1
| | | | | | | | Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * Restore basic doc about getting started and dependencies.Patrick Vacek2019-09-111-0/+18
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Fix typo.Patrick Vacek2019-09-111-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3682: Remove the existing docMerlin Carter2019-09-1111-388/+17
| | | | | | | | | | | | | | | | | | Removing the existing meta-updater doc so it can be moved into the aktualizr repo. Also updated README to point to same files in aktualizr repo. Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * Remove redundant content from the contrib doc.Patrick Vacek2019-09-111-10/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3629: Responding to PR commentsMerlin Carter2019-09-112-8/+5
| | | | | | | | | | | | | | | | - added "tree" instead of "blob" in root path. - Adding ref to developer guide - fixed erroneous note. Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * Fix some minor typos.Patrick Vacek2019-09-112-5/+5
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Move rocko and sumo to the passive support list.Patrick Vacek2019-09-111-2/+2
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-3594: adding restructured Antora-friendly contentMerlin Carter2019-09-1110-292/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -Adding Antora dir structure - Break up content into individual file - Setting up files for including in other repos - Making options easier to read and more consistent with other reference doc. - Updated README to link to individual topic files rather than all on one page. - Added Mathias's requested HW and bootloader info - Added xaviers requested NRE clause. Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * Use --wait-until-provisioned option while getting aktualizr status in the ip ↵Mykhaylo Sul2019-09-111-12/+2
| | | | | | | | | | | | secondary tests Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
| * README: new section for garage-sign.Patrick Vacek2019-09-111-0/+6
| | | | | | | | | | | | Specifically to explain the metadata expiry topic better. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Use a default expiry of one month if nothing is specified.Patrick Vacek2019-09-111-0/+2
| | | | | | | | | | | | | | This mimics the intended behavior of the default in garage-sign, but doesn't rely on the date in the unsigned targets. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: latest garage-sign with expiration support.Patrick Vacek2019-09-114-7/+21
|/ | | | | | | Use GARAGE_TARGET_EXPIRES or GARAGE_TARGET_EXPIRE_AFTER (but not both!) to set the garage-sign parameters. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>