summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump aktualizrbugfix/OTA-1436/sumo-secondary-resultsLaurent Bonnans2019-02-191-1/+1
| | | | | | | To 2aa9d93ccea09ec327789eecf858de561ef632da, which changed the installation result reporting format Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #472 from liuming50/sumo-aktualizr-pkgconfigPatrick Vacek2019-02-121-52/+44
|\ | | | | Sumo aktualizr pkgconfig
| * aktualizr: split binaries to their own packagesMing Liu2019-02-061-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch mainly aims to fix the following issues: - ${libdir}/sota/conf.d is being put into aktualizr package, but ${libdir}/sota/*.toml is being put into aktualizr-host-tools, this does not make sense, if a end user only install aktualizr-host-tools to a target, he will miss the config files in ${libdir}/sota/conf.d. - A user should be able to install garage-deploy garage-push to a board if he wants to do that by choosing building aktualizr with sota-tools, but now it's not in that case, garage-deploy garage-push are only available for native. - It's not necessary to distinguish native/target when installing systemd services, they will be dropped by sstate from native sysroot any way. - It would be better that all binaries to be put into their own packages, so a end user can choose to install a package only with one binary, rather than having to install the entire aktualizr-host-tools. Introduce per-binary based packages for host tools, and gather all config files to aktualizr-configs, it will be depended by binary packages and main aktualizr package. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
| * aktualizr: introduce PACKAGECONFIGMing Liu2019-02-061-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several flaws in current aktualizr recipe: - It builds with 'BUILD_SYSTEMD=ON' by default but does not set DEPENDS to systemd, this is not leading to compilation errors so far because systemd is deployed into recipe sysroot by ostree if 'systemd' exists in DISTRO_FEATURES, but in other cases, it will cause compilation errors. - GARAGE_SIGN_SHA256 is being passed to EXTRA_OECMAKE even it's not set anythere, this will lead a wrong GARAGE_SIGN_SHA256_ARG to be set in cmake files. - pkgconfig is being called in aktualizr CMakeFile, so it needs inherit pkgconfig.bbclass To fix the above flaws, meanwhile to keep the code cleaner, we introduce PACKAGECONFIG to handle the configurations. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
| * aktualizr: drop duplicated file from FILES_${PN}Ming Liu2019-02-061-1/+0
|/ | | | | | | "${bindir}/aktualizr-check-discovery" is being set in both FILES_${PN} and FILES_${PN}-tools, drop it from FILES_${PN}. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #466 from advancedtelematic/feat/sumo-latest-aktualizrlbonn2019-02-012-3/+3
|\ | | | | Feat/sumo latest aktualizr
| * Fix oe-selftest for `aktualizr once`feat/sumo-latest-aktualizrLaurent Bonnans2019-01-291-2/+2
| | | | | | | | | | | | CLI has changed Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * aktualizr: bump to latest 1cad6d10286ade64b24021ca0e23de0d3b64f520Laurent Bonnans2019-01-291-1/+1
|/ | | | | | | | | - OStree installations are considered complete after a reboot under the new version - image downloads are not parallelized anymore - various enhancements and bug fixes Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #458 from advancedtelematic/compat/sumo-newimagename-symlinklbonn2019-01-161-0/+3
|\ | | | | (sumo) Add .ota-ext4 image symlink
| * Add .ota-ext4 image symlinkcompat/sumo-newimagename-symlinkLaurent Bonnans2019-01-151-0/+3
|/ | | | | | That is the new name used in master since f07be1805cc22b5428ff529b705731360b485d06 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #444 from advancedtelematic/feat/sumo/hardware-id-etcPatrick Vacek2018-12-058-22/+27
|\ | | | | Feat/sumo/hardware id etc
| * aktualizr: Bump to latest (d00d1a04cc2366d1a5f143b84b9f507f8bd32c44).feat/sumo/hardware-id-etcPatrick Vacek2018-11-291-1/+1
| | | | | | | | | | | | Some OSTree improvements, reboot detection, retry failed downloads. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * oe-selftest: rpi-basic-image is deprecated. Use core-image-minimal.Patrick Vacek2018-11-291-3/+3
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: fix hardware ID config section.Patrick Vacek2018-11-291-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * README: slightly more descriptive explanation of SOTA_HARDWARE_ID.Patrick Vacek2018-11-291-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Allow setup custom hardware_idSerhiy Stetskovych2018-11-294-2/+8
| | | | | | | | Signed-off-by: Serhiy Stetskovych <patriotyk@gmail.com>
| * docs: better explanation of oe-selftest requirements.Patrick Vacek2018-11-292-3/+2
| | | | | | | | | | | | Also remove all references to aktualizr-example-interface. It has been removed. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Bump to latest and fix names.Patrick Vacek2018-11-293-12/+12
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Fix function name conflictAlexandre Bard2018-11-291-2/+2
|/ | | | | | | | | buildinfo function name is used in poky: meta/classes/image-buildinfo.bbclass Both classes could not be used together Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
* Merge pull request #428 from advancedtelematic/fix/sumo/newline-etcPatrick Vacek2018-11-1411-35/+33
|\ | | | | Fix/sumo/newline etc
| * aktualizr: use config instead of environment variables.fix/sumo/newline-etcPatrick Vacek2018-11-137-14/+1
| | | | | | | | | | | | | | This should make the secondary config dir process better anyway, and it finally gets rid of a hacky workaround that we'd been using for ages. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: improve secondary config directory logic.Patrick Vacek2018-11-131-3/+7
| | | | | | | | | | | | Use -d and warn if directory is invalid. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Fix virtual secondary support.Patrick Vacek2018-11-135-17/+12
| | | | | | | | | | | | | | | | Use /etc/sota/ecus as using /var/sota/ecus was conflicting with the provisioning recipes that also use /var/sota. Not totally ideal, but the best compromise I could find. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: bump to latest for server URL newline fix.Patrick Vacek2018-11-091-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Replace more references to ATS Garage with HERE OTA Connect.Patrick Vacek2018-11-091-3/+3
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Update README.adocXavier Gully2018-11-091-1/+1
| | | | | | | | | | | | Update the reference to https://connect.ota.here.com Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Added 'thud' to list of supported releasesArthur Taylor2018-11-091-1/+10
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * classes: image_types_ostree: use locking during OSTree repo updateStefan Agner2018-11-091-0/+1
| | | | | | | | | | | | | | | | | | The OSTree repository might be shared accross several individual OSTree builders. Use bitbakes lockfiles mechanism to lock the OSTree for exclusive use. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * classes: image_types_ostree: check OSTree repo existence using ostreeStefan Agner2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently we assume if the OSTree repo exists, that there is a OSTree repo in it. This does not need to be true in general, and when using lockfiles bitbake will create the directory before the do_image_ostree task is executed the first time. Use ostree refs to detect whether the target directory contains a OSTree repo. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * secondary_image: also remove aktualizr-uboot-env-rollback.Patrick Vacek2018-11-091-0/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Update packages removed for secondary-image.Patrick Vacek2018-11-091-1/+2
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #416 from ↵Patrick Vacek2018-11-054-1/+27
|\ | | | | | | | | advancedtelematic/feat/OTA-627/sumo/targetversion-forwardport Feat/ota 627/sumo/targetversion forwardport
| * Fix typos/languagefeat/OTA-627/sumo/targetversion-forwardportOYTIS2018-10-311-1/+1
| |
| * Document version overriding and add warningsAnton Gerasimov2018-10-313-2/+13
| |
| * Provide example for setting UPTANE target version automaticallyAnton Gerasimov2018-10-313-1/+16
| |
* | Merge pull request #422 from LM555/feat/commit_subj_bodyPatrick Vacek2018-11-052-1/+13
|\ \ | |/ |/| Added support to set custom commit subject and body
| * Added support to automatically update ostree summaryLuka Pivk2018-11-052-1/+9
| | | | | | | | | | | | | | Use OSTREE_UPDATE_SUMMARY to automatically update summary after committing to ostree repo Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
| * Added support to set custom commit subject and bodyLuka Pivk2018-11-051-2/+6
|/ | | | | | | Use OSTREE_COMMIT_BODY write custom text to ostree body Use OSTREE_COMMIT_SUBJECT to write custom subject Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
* Merge pull request #414 from advancedtelematic/refactor/sumo/rm-implicit-writerPatrick Vacek2018-10-318-88/+26
|\ | | | | Refactor/sumo/rm implicit writer
| * Fix typos.refactor/sumo/rm-implicit-writerPatrick Vacek2018-10-301-1/+1
| |
| * aktualizr: Remove implicit_writer. It is now unused.Patrick Vacek2018-10-292-5/+2
| | | | | | | | Bump to the latest version as well.
| * Remove aktualizr hacks related to ubuntu supportLaurent Bonnans2018-10-291-4/+2
| |
| * Update aktualizr example secondary config pathLaurent Bonnans2018-10-291-3/+3
| |
| * Fix README formatting.Patrick Vacek2018-10-291-5/+7
| | | | | | Apparently linebreaks matter.
| * CONTRIBUTING.adoc: Add rebasing requirement.Patrick Vacek2018-10-291-4/+6
| |
| * libgsystem: drop recipeStefan Agner2018-10-291-40/+0
| | | | | | | | | | | | | | OSTree does not use libgsystem as a dependency any longer. Drop the recipe too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * ostree: drop libgsystem dependencyStefan Agner2018-10-291-1/+1
| | | | | | | | | | | | | | OSTree removed libgsystem dependency since v2016.8. Drop it from the OSTree recipe too. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * aktualizr: remove BUILD_ISTOP flag.Patrick Vacek2018-10-291-1/+0
| |
| * aktualizr: remove example-interface.Patrick Vacek2018-10-294-34/+2
| |
| * Add contributor/reviewer checklistAnton Gerasimov2018-10-291-0/+12
|/