summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* image_types_ota: make default grub.cfg a link to loader/grub.cfgRicardo Salveti2018-03-071-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-02-092-2/+2
| | | | | | | | | | 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>
* Merge branch 'rocko'Anton Gerasimov2018-02-017-29/+51
|\
| * Merge branch 'pyro' into rockoAnton Gerasimov2018-01-263-1/+11
| |\
| | * 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
| * | Merge pull request #232 from advancedtelematic/bugfix/PRO-4685/ubootversioncajun-rat2018-01-191-1/+1
| |\ \ | | | | | | | | Use u-boot version with patches for newer QEMU
| | * | Use u-boot version with patches for newer QEMUAnton Gerasimov2018-01-181-1/+1
| | | |
| * | | Merge pull request #226 from leon-anavi/PRJ-317cajun-rat2018-01-191-0/+1
| |\ \ \ | | | | | | | | | | sota_raspberrypi.bbclass: Enable U-Boot for Raspberry Pi
| | * | | sota_raspberrypi.bbclass: Enable U-Boot for Raspberry PiLeon Anavi2018-01-111-0/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Enable U-Boot for Raspberry Pi using the new setting from Yocto/OE layer meta-raspberrypi RPI_USE_U_BOOT. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * | | Merge branch 'pyro' into bugfix/update-rockoPatrick Vacek2018-01-174-23/+30
| |\ \ \ | | |/ / | |/| / | | |/ Bring over fixes from the last couple months from pyro in rocko.
| | * 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
| | |
| * | sota_raspberrypi.bbclass: Remove sdimg-rpiLeon Anavi2018-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove sdimg-rpi from IMAGE_FSTYPES and rely only on wic image for SOTA as it has been done at commit 27e0edbef0180fd7643e2b1558e313bc2baa92d9 for Pyro. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * | sota_qemux86-64.bbclass: Use u-boot-otaLeon Anavi2017-12-221-1/+1
| | | | | | | | | | | | | | | | | | Use u-boot-ota recipe for QEMU x86-64 bootloader. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
| * | Port fix for non-repo use-case from pyroAnton Gerasimov2017-12-131-2/+2
| | |
| * | Add fixes for compatibility with RockoAnton Gerasimov2017-11-173-5/+5
| |/
| * 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 )
* | Fix calculate_size in case $SIZE < $MINMatthias Andreas Benkard2017-12-051-1/+1
| | | | | | calculate_size had a typo that made one of the cases fail. This patch fixes it.
* | sota: introduce INITRAMFS_FSTYPESMing Liu2017-11-203-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Liu2017-11-201-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>
* | image_types_ostree.bbclass: do not inherit imageMing Liu2017-11-171-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 Liu2017-11-171-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: drop deprecated IMAGE_DEPENDSMing Liu2017-11-171-3/+3
|/ | | | | | | IMAGE_DEPENDS is deprecated in latest OE, replace it with: do_image_<type>[depends] += "<recipe>:<task>" Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* 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
| |