summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #581 from advancedtelematic/backport/thud-19-08-14Patrick Vacek2019-08-2011-47/+127
|\ | | | | Backport/thud 19 08 14
| * Expose OSTREE_BOOT_PARTITION in do_image_otabackport/thud-19-08-14Laurent Bonnans2019-08-161-0/+1
| | | | | | | | | | | | Used by ostree-grub-generator Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Do not export anything in sota.bbclassLaurent Bonnans2019-08-151-5/+5
| | | | | | | | | | | | | | | | A simple variable definition will be enough and doing an export there completely kills caching. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> (cherry picked from commit 261c28a0dcbf6a9d1720094724aa95f2ad765b40)
| * Bump aktualizr and garage-sign versions to the latest.Patrick Vacek2019-08-151-4/+4
| | | | | | | | | | | | | | Both include support for mutual TLS in the garage tools. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit 8fa3a60d39476903745cb80f6130bb8c412e0694)
| * qemucommand.py: redirect qemu monitor to null chardevEugene Smirnov2019-08-151-6/+10
| | | | | | | | | | | | | | | | | | By default qemu monitor gets attached to stdio, and that interferes with the test output. We also don't need vga options in nographic mode. Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com> (cherry-picked from commit c6ad1d288b8f930bbc3fa6de9e102209e3304c66)
| * Test for setting hwidZee3141592019-08-152-7/+12
| | | | | | | | | | | | | | Fixed bug taking device ID for hardware ID Signed-off-by: Zee314159 <252806294@qq.com> (cherry-picked from commit a2fc4db9ca899db957bb5feb8bc15b6526b1b23e)
| * More helpful error message when running qemuLaurent Bonnans2019-08-151-1/+3
| | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> (cherry-picked from commit 36f311912372be3150633b4da0f344c70e456d55)
| * Dont patch credentialsZee3141592019-08-151-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Unzip files in tmp directory, updated comments Fixed a zip bug Grouped elements with warnings With a fancier loop Signed-off-by: Zee314159 <252806294@qq.com> (cherry-picked from commit 672fcc51d92522c8e2de794ef561e8dd281f7f20)
| * README: fix type in recipe name.Patrick Vacek2019-08-151-1/+1
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Suggested-by: Montgomery, Greg <greg.montgomery@here.com> (cherry-picked from commit 924a190936f24eb9978e66c8a9e44c2d5873f2a4)
| * local.conf.sample: fix provisioning naming.Patrick Vacek2019-08-151-1/+1
| | | | | | | | | | | | | | Missed that somehow when we did the renaming. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit 4216c0aca0d22c6810ea8de45d1efd61102b4d5f)
| * README: add recommendations for logging.Patrick Vacek2019-08-151-1/+17
| | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit f693e967b7c7fb97d07375b076e11dbf2ffd799a)
| * README: describe OSTREE_BRANCHNAME.Patrick Vacek2019-08-151-0/+1
| | | | | | | | | | | | | | | | Not sure how that one got away for so long! It's one of the most commonly used, after all. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit 5593f8500385fdd8532828b539ed5e2dc75bad2c)
| * README: update list of supported boards.Patrick Vacek2019-08-151-4/+11
| | | | | | | | | | | | Renesas isn't actually new, but the TI support is. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * initramfs-ostree-image: unset EXTRA_IMAGEDEPENDS to avoid extra dependenciesRicardo Salveti2019-08-151-0/+3
| | | | | | | | | | | | | | | | | | It is common for machine configurations to set EXTRA_IMAGEDEPENDS, which can end up causing circular dependencies when building the initramfs image (they are usually only required for the actual rootfs image). Signed-off-by: Ricardo Salveti <ricardo@foundries.io> (cherry-picked from commit e556e32c8449fc324481d0d74682f5e04a191477)
| * oe-selftests: wait until provisionedZee3141592019-08-151-1/+7
| | | | | | | | | | | | | | | | | | * fixed bugs * Removed unnecessary code and added comments * Checked stderr and stdout Signed-off-by: Zee314159 <252806294@qq.com> (cherry-picked and squashed from PR #562)
| * Longer timeout for primary/secondary oe-selftestLaurent Bonnans2019-08-151-1/+1
| | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com> (cherry-picked from commit 383144042a1354a0d1e6d042e77bdb0faaba9ed2)
| * image_types_ostree: add /usr/local supportStefan Agner2019-08-151-0/+25
| | | | | | | | | | | | | | | | | | | | Add /usr/local support as outlined in OSTree documentation. This makes sure that a writeable and persistent /usr/local directory is available. See also: https://ostree.readthedocs.io/en/latest/manual/adapting-existing/ Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree: make root directory only readable by rootStefan Agner2019-08-151-2/+2
| | | | | | | | | | | | | | | | Make the root home directory only accessible by root. Use 700 as commonly used for the root home directory. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry-picked from commit c170b6344b13ea075aff4091c846623b9b6f9a97)
| * image_types_ostree: add top level directories unconditionallyStefan Agner2019-08-151-7/+7
| | | | | | | | | | | | | | | | | | The Filesystem Hierarchy Standard defines several top-level directory to be writeable. Add those even in the absence of files installed by OpenEmbedded so a user might actually use them. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry-picked from commit 986526193a8f2f08ccdc77d71bb7d7f5e86185f0)
| * Allow customization of data in targets.jsonAndy Doan2019-08-142-0/+7
|/ | | | | | | | This allows a user to define their own script to be executed after a target has been added to the repository but not yet signed. Signed-off-by: Andy Doan <andy@foundries.io> (cherry picked from commit 086f225a581204f45c1c95cffc06c55d3f4eee30)
* Connman fix thud (#576)lbonn2019-08-015-3/+71
|\ | | | | Connman fix thud
| * Add bugfix service for old connman to systemd-networkdconnman-fix-thudLaurent Bonnans2019-08-013-3/+44
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Do not create connman's resolv.conf symlink at bootLaurent Bonnans2019-08-012-0/+27
|/ | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Backport/thud/secondaries and ci improvement (#548)lbonn2019-07-2619-87/+125
|\ | | | | Backport/thud/secondaries and ci improvement
| * Add support for raspberrypi3-64Backport/thud/secondaries-and-CI-improvementLaurent Bonnans2019-07-222-0/+5
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix ptest build after recent aktualizr changesLaurent Bonnans2019-07-191-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable (old way ↵Mike Sul2019-07-192-12/+2
| | | | | | | | | | | | to configure secondaries). Bump corresponding version of aktualizr. Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * Increase time to wait for secondaries registration at PrimaryMike Sul2019-07-192-2/+2
| | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * OTA-2294: Use WiFi on Primary (if enabled) to communicate with the backend ↵Mike Sul2019-07-194-4/+4
| | | | | | | | | | | | in case of RPi target Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| * Add copyright and reference license and DCO.Patrick Vacek2019-07-191-0/+6
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Add dependencies section.Patrick Vacek2019-07-191-6/+16
| | | | | | | | | | | | | | | | This can be found in the quickstart guide but is worth putting front and center here, especially for the things we don't mention in the quickstart. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Primary and Secondary network configuration in case of RPiMike Sul2019-07-195-18/+32
| | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>