summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * aktualizr_git: remove duplicate installsLaurent Bonnans2018-05-161-7/+2
| | | | | | | | | | If it's in `do_install_append`, no need to also put it in `do_install_append_class-native`
| * Check for custom target version for installed_versionsRicardo Salveti2018-05-161-1/+5
| | | | | | | | | | | | | | Make sure to use the custom target version when creating installed_versions if defined by the user. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * ostree: remove python from rdependsRicardo Salveti2018-05-161-2/+1
| | | | | | | | | | | | | | Python is not needed by ostree itself (no script or utility using python), so remove it from the rdepends list. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * sdimage-sota.wks: remove label as it gets set by image_types_otaRicardo Salveti2018-05-161-1/+1
| | | | | | | | | | | | | | image_types_ota already defines the rootfs label when creating the ota image, so drop label overwrite when creating the sdcard partition. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * image_types_ota: make default grub.cfg a link to loader/grub.cfgRicardo Salveti2018-05-161-1/+1
| | | | | | | | | | | | | | /boot/grub2/grub.cfg should reflect the grub.cfg used by the boot process instead of being an empty file. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * Replace INITRAMFS_FSTYPES with OSTREE_INITRAMFS_FSTYPESRicardo Salveti2018-05-163-3/+3
| | | | | | | | | | | | | | | | | | | | User is able to customize the init script via OSTREE_INITRAMFS_IMAGE but there is no way to set INITRAMFS_FSTYPES as it gets defined by sota.bbclass. Create a new variable called OSTREE_INITRAMFS_IMAGE to handle the INITRAMFS_FSTYPES update, and also allow the user to override it. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * ostree: fix systemd service files permissionRicardo Salveti2018-05-151-2/+2
| | | | | | | | | | | | | | | | | | Fix the following boot warning: systemd[1]: Configuration file /usr/lib/systemd/system/ostree-remount.service is marked executable. Please remove executable permission bits. Proceeding anyway. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * sota: introduce INITRAMFS_FSTYPESMing Liu2018-05-154-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | RAMDISK_EXT and IMAGE_FSTYPES of initramfs-ostree-image should not be defined separately, because they are representing the same fstype of a same initramfs image, or else, they turn out to be inconsistent if the users change one of them. So we use INITRAMFS_FSTYPES already defined in bitbake.conf, to be able to set fstype for initramfs. And it should default to ext4.gz.u-boot or ext4.gz depending on what OSTREE_BOOTLOADER is being set. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
| * image_types_ostree.bbclass: change the systemd detecting logicMing Liu2018-05-151-1/+1
|/ | | | | | | | It can not determine the init manager is systemd by checking if DISTRO_FEATURES contains 'systemd', change it to check VIRTUAL-RUNTIME_init_manager instead. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #296 from advancedtelematic/feat/backport-from-mastercajun-rat2018-05-144-8/+22
|\ | | | | Feat/backport from master
| * image_types_ostree.bbclass: clean up GARAGE_SIGN_REPO after pushRicardo Salveti2018-05-141-0/+1
| | | | | | | | | | | | Avoid exposing the sign repo after the build is completed. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * Add support for custom garage target version and urlRicardo Salveti2018-05-112-2/+10
| | | | | | | | | | | | | | Both values can be defined by the user, allowing a custom version id and URL, which is specially useful for CI builds. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * aktualizr: include default configs as part of host-toolsRicardo Salveti2018-05-111-0/+10
| | | | | | | | | | | | | | Provide the default sota configs as part of host-tools so they can be used by aktualizr_cert_provider and aktualizr_implicit_writer. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * sota.bbclass: use common rpi override for raspberrypiRicardo Salveti2018-05-111-2/+1
| | | | | | | | | | | | sota_raspberrypi can handle the rpi differences if required. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
| * image_types_ostree.bbclass: do not inherit imageMing Liu2018-05-111-2/+0
| | | | | | | | | | | | | | As a image_types_* bbclass, it does not have to inherit image class, it is sort of redundant code. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
| * image_types_ota.bbclass: do not inherit imageMing Liu2018-05-111-2/+0
|/ | | | | | | As a image_types_* bbclass, it does not have to inherit image class, it is sort of redundant code. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #310 from advancedtelematic/feat/aktualizr-bumpcajun-rat2018-05-111-1/+1
|\ | | | | Bump Aktualizr version to get P11 fixes
| * Bump Aktualizr version to get P11 fixesPhil Wise2018-05-111-1/+1
|/
* Merge pull request #309 from advancedtelematic/bugfix/install-file-dont-echoPatrick Vacek2018-05-096-3/+12
|\ | | | | Put extra configs in their own files.
| * Put extra configs in their own files.Patrick Vacek2018-05-096-3/+12
|/ | | | | | This is more reliable and readable than just dumping things with echo. Plus it is easier for setting permissions, and it fixes some obscure problem with line endings that only happens on shovel.
* Merge pull request #308 from ↵cajun-rat2018-05-081-1/+1
|\ | | | | | | | | advancedtelematic/bugfix/PRO-5380/libp11-openssl-again Update patch to fix openssl-1.0.o.
| * Update patch to fix openssl-1.0.o.Patrick Vacek2018-05-081-1/+1
|/
* Merge pull request #307 from advancedtelematic/bugfix/bump-aktualizrPatrick Vacek2018-05-082-4/+5
|\ | | | | Bugfix/bump aktualizr
| * Bump aktualizr. Don't build load tests.Patrick Vacek2018-05-081-2/+3
| |
| * Give some more time for checking for successful provisioning.Patrick Vacek2018-05-071-2/+2
|/
* Merge pull request #304 from advancedtelematic/feat/PRO-5331/remove-sota-envcajun-rat2018-05-0412-35/+488
|\ | | | | Provide example aktualizr configuration recipes and documentation
| * Test aktualizr-example-interface package (PRO-5336).Patrick Vacek2018-05-041-0/+9
| | | | | | | | | | Not much else from the example configs that is easy to test with oe-selftest.
| * Update aktualizr config to use default locations.Patrick Vacek2018-05-049-31/+28
| | | | | | | | | | | | Fix permissions, drop explicit aktualizr dependency, put everything in /usr/lib/sota/conf.d, rename with numeric prefixes to make precedence more clear.
| * Update README with aktualizr config management (PRO-5329).Patrick Vacek2018-05-031-4/+18
| |
| * Create aktualizr-log-debug recipe as an example (and debugging aid).Patrick Vacek2018-05-031-0/+23
| |
| * Provide recipe to disable sending ip (PRO-5297).Patrick Vacek2018-05-031-0/+23
| | | | | | | | Obviates the need for SOTA_CLIENT_FEATURES = "disable_send_ip".
| * Move example-interface from sota.env to its own recipe.Patrick Vacek2018-05-036-10/+397
| | | | | | | | | | SOTA_LEGACY_SECONDARY_INTERFACE is now obsolete. Instead, include this: IMAGE_INSTALL_append = " aktualizr-examples aktualizr-example-interface "
| * Add sqlite3 to aktualizr dependencies.Patrick Vacek2018-05-031-1/+1
|/ | | | It's worked fine without it, but better to be explicit.
* Merge pull request #305 from advancedtelematic/fix/var-sota-permsPatrick Vacek2018-04-302-6/+10
|\ | | | | Fix /var/sota perms
| * Add missing delay in loop.Phil Wise2018-04-301-6/+8
| |
| * Fix permissions of /var/sota in image_types_otaPhil Wise2018-04-271-0/+2
|/ | | | We should also do this in the recipes
* Merge pull request #302 from advancedtelematic/feat/pro-5211-rockoBen Luck2018-04-241-1/+1
|\ | | | | Bump Aktualizr to get PRO-5211 Report network info
| * Bump Aktualizr to get PRO-5211 Report network infoPhil Wise2018-04-231-1/+1
|/
* Merge pull request #297 from advancedtelematic/bugfix/decodelbonn2018-04-131-1/+1
|\ | | | | Decode bytes.
| * Decode bytes.Patrick Vacek2018-04-131-1/+1
|/
* Merge pull request #291 from advancedtelematic/feat/garage-sign-auto-versioncajun-rat2018-04-132-6/+39
|\ | | | | Feat/garage sign auto version
| * If GARAGE_SIGN_VERSION is not provided, ask the server for a version.Patrick Vacek2018-04-132-1/+26
| | | | | | | | | | Get the server URL out of the credentials and ask what version the server is using.
| * Pass requested garage-sign version to aktualizr.Patrick Vacek2018-04-131-5/+13
| | | | | | | | | | | | | | | | | | | | Set GARAGE_SIGN_VERSION in local.conf to request a specific version, e.g.: GARAGE_SIGN_VERSION = "cli-0.3.0-5-g5908997.tgz" If unset, the default (latest version) will be used. Set GARAGE_SIGN_SHA256 in local.conf to specify a hash to check, e.g.: GARAGE_SIGN_SHA256 = "94f5db1accbbbaa279f7ac5a2e618f5448adeafbe32d6cbc90c8604054ab653e" If unset, the sha256 is not computed.
* | Merge pull request #289 from advancedtelematic/docs/reorg-and-toccajun-rat2018-04-132-13/+26
|\ \ | |/ |/| Move dev settings to main README. Add table of contents.
| * Move dev settings to main README. Add table of contents.Patrick Vacek2018-04-032-13/+26
| |
* | Merge pull request #290 from advancedtelematic/fix/linux-new-kernelPatrick Vacek2018-04-091-3/+0
|\ \ | |/ |/| Stop forcing Linux 4.4 on qemux86-64
| * Stop forcing Linux 4.4 on qemux86-64Laurent Bonnans2018-04-061-3/+0
| | | | | | | | The mentioned issue doesn't seem to exist anymore
* | Merge pull request #283 from advancedtelematic/refactor/cleanupPatrick Vacek2018-03-296-8/+27
|\ \ | |/ |/| Assorted minor cleanup and formatting.
| * Assorted minor cleanup and formatting.Patrick Vacek2018-03-296-8/+27
|/ | | | | | 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
* Merge pull request #281 from advancedtelematic/fix/bump-aktualizrPatrick Vacek2018-03-281-1/+1
|\ | | | | Bump aktualizr