summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
| * Add some sample configuration in default local.confLaurent Bonnans2019-07-192-2/+38
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add example recipe for systemd-journald configurationLaurent Bonnans2019-07-192-0/+23
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Remove some ancient recipesLaurent Bonnans2019-07-193-46/+0
|/ | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Ci on thud (#542)lbonn2019-07-1910-110/+181
|\ | | | | Ci on thud
| * Get CI jobs from masterci/thudLaurent Bonnans2019-07-191-0/+91
| | | | | | | | | | | | rpi and minnowboard are enabled here by default Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Give more memory for minnowboard selftestLaurent Bonnans2019-07-191-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Avoid unicode decode error in ptestLaurent Bonnans2019-07-171-1/+1
| | | | | | | | | | | | The full suite logs often contains invalid utf8 sequences. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Use 128M by default for qemu in oe-selftestsLaurent Bonnans2019-07-174-5/+9
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix race condition in oe-selftest HSM testLaurent Bonnans2019-07-171-7/+6
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Do not push ostree images during most of oe-selftestLaurent Bonnans2019-07-172-0/+10
| | | | | | | | | | | | One failure point less Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix some oe-selftest timeouts issuesLaurent Bonnans2019-07-172-8/+12
| | | | | | | | | | | | Was causing problems on CI Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Factor out ugly function in oe-selftestsLaurent Bonnans2019-07-175-63/+28
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix aktualizr-native run in oe-selftestLaurent Bonnans2019-07-173-24/+22
| | | | | | | | | | | | | | | | | | | | It did not work when using an empty build dir with sstate-cache, the proper working way is to bitbake build_sysroots. Also change the way we fetches some of the akautalizr package files which was broken too. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add ability to supply METADIR to envsetup.shLaurent Bonnans2019-07-171-1/+1
|/ | | | | | | So that we can bypass the "relative path from the script" trick that doesn't work with symlinks. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #526 from ↵Patrick Vacek2019-06-1337-219/+510
|\ | | | | | | | | advancedtelematic/refactor/thud/renaming-secondaries-etc Refactor/thud/renaming secondaries etc
| * sota.bbclass: Translate old prov recipe names into the new versions.refactor/thud/renaming-secondaries-etcPatrick Vacek2019-06-051-0/+14
| | | | | | | | | | | | | | This should help ease the transition so that no one is surprised when their provisioning suddenly stops working. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Remove executable access control bits from aktualizr recipe.Patrick Vacek2019-06-051-0/+0
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Rename provisioning methods.Patrick Vacek2019-06-0522-138/+138
| | | | | | | | | | | | | | | | | | | | | | | | "Autoprovisioning" or "automatic provisioning" is now known as "shared credential provisioning". "Implicit provisioning" is now known as "device credential provisioning". "HSM provisioning" was always a misnomer, so it is now refered to as "device credential provisioning with an HSM". This includes a bump of the aktualizr version as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: bump garage sign to version 0.7.0-3-gf5ba640.Patrick Vacek2019-06-051-3/+3
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Switch to Aktualizr's version that supports IP Secondaries ↵Mike Sul2019-06-051-1/+1
| | | | | | | | | | | | | | preconfig and its tests Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: IP Secondary tests (oe-selftest)Mike Sul2019-06-052-66/+138
| | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Use local.conf's variables to configure Primary with ↵Mike Sul2019-06-0510-13/+86
| | | | | | | | | | | | | | Secondary(ies) and vice versa Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Use MPL-2.0 license for recipes-test's recipesMike Sul2019-06-057-7/+10
| | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Add suffix '-sndry' to a default HW_ID for Secondary. Ability to ↵Mike Sul2019-06-057-7/+40
| | | | | | | | | | | | | | define IP and Port in local.conf Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-06-053-11/+6
| | | | | | | | | | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>