summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Try to set hardware IDs in local.conf.bugfix/PRO-5140/hardware_idsPatrick Vacek2018-05-288-3/+74
| | | | | | Communicating the IDs to the images works, but getting the IDs in the garage-push commits does not. I can get the variables exported, but the script still uses the wrong (old) value. Not sure why.
* Merge pull request #319 from advancedtelematic/bugfix/ostree-autotools-brokensepPatrick Vacek2018-05-251-2/+2
|\ | | | | ostree: Don't use autotools-brokensep.
| * ostree: Don't use autotools-brokensep.Patrick Vacek2018-05-231-2/+2
| | | | | | | | | | The only reason we needed it was because of a relative path that I've now made absolute.
* | Merge pull request #317 from advancedtelematic/fix/u-boot-multilib-issuelbonn2018-05-232-6/+3
|\ \ | |/ |/| Include fix for qemu in sota_qemux86-64.bbclass
| * Include fix for qemu in sota_qemux86-64.bbclassLaurent Bonnans2018-05-232-6/+3
|/
* Merge pull request #316 from advancedtelematic/fix/rm-minnowboard-ubootlbonn2018-05-181-8/+0
|\ | | | | Remove support for u-boot on minnowboard
| * Remove support for u-boot on minnowboardLaurent Bonnans2018-05-181-8/+0
|/ | | | See https://github.com/advancedtelematic/meta-updater-minnowboard/pull/6
* Merge pull request #313 from advancedtelematic/fix/qa-shipped-fileslbonn2018-05-175-2/+6
|\ | | | | Review shipped directories in aktualizr recipes
| * Review shipped directories in aktualizr recipesLaurent Bonnans2018-05-175-2/+6
| | | | | | | | Missing directories in FILES_xx were causing bitbake QA errors on sumo
* | Merge pull request #314 from advancedtelematic/feat/bump-embed-sqlPatrick Vacek2018-05-171-10/+2
|\ \ | |/ |/| Remove aktualizr-common because schemas are embedded
| * Remove aktualizr-common because schemas are embeddedPhil Wise2018-05-171-10/+2
|/
* Merge pull request #312 from advancedtelematic/bugfix/log-debug-firstlbonn2018-05-172-3/+3
|\ | | | | Move log-debug from 90 to 05.
| * Move log-debug from 90 to 05.Patrick Vacek2018-05-172-3/+3
|/ | | | | | This way it will probably the first config read, meaning it will be applied earlier in the config processing flow. It still means that at the moment, no message about reading the log-debug.toml appears, though.
* Merge pull request #311 from ↵lbonn2018-05-168-22/+19
|\ | | | | | | | | advancedtelematic/fix/PRO-5376/backport-master-fixes Backport from master to rocko
| * Fix boot on qemux86-64Laurent Bonnans2018-05-162-1/+2
| | | | | | | | It needs a plain compressed file system and not an u-boot legacy image
| * 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
| |