summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* Assorted minor cleanup and formatting.Patrick Vacek2018-04-121-6/+19
| | | | | | | | | Includes the suggestion for using /etc/sota/sota.env if it exists as recommended by the discussion here: https://github.com/advancedtelematic/meta-updater/pull/275 Partial cherry-pick of 71c528ab616a707f4125727c8c5a4e4da5a36c94 from rocko.
* Fix calculate_size in case $SIZE < $MINMatthias Andreas Benkard2018-03-071-1/+1
| | | calculate_size had a typo that made one of the cases fail. This patch fixes it.
* Merge pull request #236 from advancedtelematic/bugfix/PRO-4730/firstversionBen Luck2018-01-252-1/+8
|\ | | | | Deploy initial primary version information
| * Deploy initial primary version informationAnton Gerasimov2018-01-192-1/+8
| |
* | Deploy startup.nsh before composing flashable imageAnton Gerasimov2018-01-161-0/+3
|/ | | | Additionally don't create extra images to save space and not confuse the user
* Fix --repo parameter for garage-signAnton Gerasimov2018-01-101-5/+5
|
* Merge pull request #213 from advancedtelematic/doc/PRO-4532/secondaries-etccajun-rat2018-01-021-0/+1
|\ | | | | Update documentation, specifically about variables to support secondaries
| * Update documentation, specifically about variables to support secondaries.Patrick Vacek2017-12-151-0/+1
| | | | | | | | | | Also add a missing mkdir so that SOTA_SECONDARY_ECUS actually works. We can improve this in the future but for now it works and I'm using it.
* | Fixes for SpekulatiusAnton Gerasimov2017-12-203-12/+9
|/ | | | | | - New garage-sign interface - Remove garage-sign recipe (now installed with aktualizr-native) - Small but critical bugfixes in aktualizr
* Deploy OSTree image without a branch nameAnton Gerasimov2017-12-071-2/+4
|
* Fix garage-sign targets add.Patrick Vacek2017-12-051-1/+1
|
* Merge pull request #190 from advancedtelematic/fix/repo-manifestcajun-rat2017-11-301-2/+2
|\ | | | | Fix builds outside the .repo directory
| * Fix builds outside the .repo directoryPhil Wise2017-11-281-2/+2
| | | | | | | | | | The repo tool searches up the directory tree to find the .repo directory. Cleanly handle the case where it can't find anything.
* | Merge pull request #191 from advancedtelematic/bugfix/rpi-sdimgOYTIS2017-11-281-0/+1
|\ \ | |/ |/| Remove sdimg-rpi from IMAGE_FSTYPES
| * Remove sdimg-rpi from IMAGE_FSTYPESAnton Gerasimov2017-11-281-0/+1
| | | | | | | | The image is incompatible with meta-updater and we have our own
* | Rename repo.url -> tufrepo.urlAnton Gerasimov2017-11-231-7/+3
|/ | | | Also pass this URL to garage-sign
* Check if the package and UPTANE target got to the backendAnton Gerasimov2017-11-212-4/+15
|
* Ignore configuration templates to avoid duplicate inclusion of stuffAnton Gerasimov2017-11-171-0/+2
| | | | | | Also add IMAGE_ROOTFS_EXTRA_SPACE to qemu configuration which was the original motivation for returning TEMPLATECONF processing (see https://github.com/advancedtelematic/meta-updater-qemux86-64/pull/9 )
* Add managing targets.json by garage-signAnton Gerasimov2017-11-132-1/+64
|
* Merge pull request #164 from advancedtelematic/fix/pro-4254-cacert-pathcajun-rat2017-11-091-1/+1
|\ | | | | Explicitly include ca-certificates as a dependency for garage-push
| * Fix ca-certificates-native dependency.Patrick Vacek2017-11-081-1/+1
| | | | | | | | | | /etc is not added to the sysroot by default, so force it. Also, move the dependency to where it is actually used.
* | Fix incompatibilities with latest pyro, use wic on RPiAnton Gerasimov2017-11-075-199/+3
| |
* | Copy repo manifest to the device.Patrick Vacek2017-11-062-0/+25
|/ | | | | | | Helpful for debugging, etc. Mostly copied from here: https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
* Merge pull request #150 from advancedtelematic/feat/remerge-recipescajun-rat2017-11-011-1/+0
|\ | | | | Feat/remerge recipes
| * Remerge aktualizr recipes.Patrick Vacek2017-10-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | I found the trick to allow specifiying target vs native variables and tasks. It's a bit wordy but better than having three separate files for the aktualizr recipe. Oddly and annoyingly, while only "aktualizr" must be specified in sota_bleeding.inc, both "BRANCH_pn-aktualizr" and "BRANCH_pn-aktualizr-native" must be specified in local.conf to correctly use a given branch.
* | Remove IMAGEDATESTAMP to make sstate input deterministicAnton Gerasimov2017-10-301-5/+1
|/
* Use garage-push from aktualizr repo.Patrick Vacek2017-10-241-1/+1
| | | | | | No need for sota-tools repo anymore. Bump aktualizr version to get necessary build fix.
* Support pkcs#11 in aktualizr and add softhsm token for testingAnton Gerasimov2017-10-161-0/+3
|
* Move provisioning out of ostree bbclass into autoprov recipe.Patrick Vacek2017-10-052-49/+2
| | | | | Also remove implicit-prov from DISTRO_FEATURES. Just specify SOTA_CLIENT_PROV directly.
* Create recipe for implicit provisioning file shuffling.Patrick Vacek2017-09-293-2/+5
| | | | | | | | Split aktualizr into basic and native recipes by moving most of the work to an include file. Use aktualizr-implicit-writer (on host) to do the actual work of configuring sota.toml and installing files. Still not quite fully functional.
* Formatting.Patrick Vacek2017-09-251-190/+192
| | | | According to https://www.openembedded.org/wiki/Styleguide
* Merge pull request #140 from advancedtelematic/feat/PRO-3805/cert_installcajun-rat2017-09-131-0/+19
|\ | | | | Hacky ability to provide client credentials and install them on the device
| * Hacky ability to provide client credentials and install them on the device.Patrick Vacek2017-09-121-0/+19
| |
* | Add recipes to test pkcs11 functionality in AktualizrAnton Gerasimov2017-09-131-1/+1
|/
* Merge pull request #138 from dl9pf/patch-13OYTIS2017-09-111-0/+1
|\ | | | | Pyro needs coreutils-native (we call sync) b/c rss
| * Pyro needs coreutils-native (we call sync) b/c rssJan-Simon Möller2017-09-091-0/+1
| | | | | | | | | | We need to make sure 'sync' is in place. Unzip-native could probably also use ":do_populate_sysroot".
* | sota.bbclass: Add aktualizr-auto-provLeon Anavi2017-09-111-1/+2
|/ | | | | | | Append recipe aktualizr-auto-prov for provisioning of systemd service and configurations to the SOTA image. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge remote-tracking branch 'github/morty' into HEADPhil Wise2017-08-241-47/+36
|\
| * Show warnings if credentials are not providedLeon Anavi2017-08-171-7/+16
| | | | | | | | | | | | | | Print warnings if variable SOTA_PACKED_CREDENTIALS is not set or if the specified file does not exist. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * Delete treehub.json from the credentials package on the deviceAnton Gerasimov2017-08-101-0/+3
| |
| * Call garage-push directly with zip file instead of sending unzipped contents.Patrick Vacek2017-08-071-43/+16
| | | | | | | | | | Warn if older credential environment variables are set. They are now ignored since the credentials aren't unpacked during building.
| * Split rvi-sota-client into multiple binariesShaun Taheri2017-07-261-1/+5
| |
* | image_types_ostree.bbclass: Fix path to unzipLeon Anavi2017-07-071-1/+2
|/ | | | | | | | | The creation of images, such as rpi-basic-image failed on branch Pyro due to missing/wrong path to unzip. This patch adds unzip-native as a dependency and ensures that the image will be created successfully. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Merge pull request #99 from advancedtelematic/bugfix/rpixzOYTIS2017-07-052-8/+2
|\ | | | | Compress rpi-sdimg-ota
| * Fix output directory in sdcard_image-rpi-otaAnton Gerasimov2017-07-041-7/+1
| |
| * Use compression on output file to save spaceJan-Simon Möller2017-06-291-1/+1
| | | | | | We could make that a option to the user ...
* | Merge pull request #91 from dl9pf/patch-1cajun-rat2017-07-051-1/+1
|\ \ | | | | | | Remove also compressed rpi-sdimg.xz
| * | Remove also compressed rpi-sdimg.xzJan-Simon Möller2017-06-291-1/+1
| |/
* / Disable noisy warnings ... should only print once.Jan-Simon Möller2017-06-291-3/+3
|/
* Aktualizr updates, including sync()Phil Wise2017-06-261-1/+1
| | | | | Perform sync() after provisioning Store sota.toml in updatable /usr directory