summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Add SOTA_DEPLOY_CREDENTIALS variable to control whether the built image ↵Anton Gerasimov2018-10-011-0/+2
| | | | should be provisioned
* ostree-initrd: Make it an initramfs, not initrdYevgeny Popovych2018-08-141-1/+1
| | | | | | | | | | | | | | | | | | | The reasoning here is to allow initramfs generated by this recipe to be included in FIT. To do so w/o changing openembedded-core (it allows only cpio format) - init script should be able to execute from a rootfs (i.e. true initramfs), not ramdisk (initrd). See [1] for more information on these keywords. The gist of this change is switch from `pivot_root` to `switch_root`. This also allows to get rid of some clutter, since `switch_root` handles transition to new sysroot all by itself. Again, see [1] for details on these utility/syscall. [1] https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
* classes, images: Use standard variables for initramfsYevgeny Popovych2018-08-141-2/+2
| | | | | | | | This will reduce the level of indirection and improve compatibility with the rest of OE. For example, FIT that includes initramfs may now be built. Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
* Add support for building ota-tar.xz, and fixes from review commentsBen Clouser2018-07-101-1/+1
|
* Adding support for creating an otaimg.tar file in addition to the ext4 imageBen Clouser2018-06-291-2/+5
|
* sota.bbclass: remove obsolete/incorrect comment.Patrick Vacek2018-06-191-1/+0
|
* Fix boot on qemux86-64Laurent Bonnans2018-05-161-1/+1
| | | | It needs a plain compressed file system and not an u-boot legacy image
* Replace INITRAMFS_FSTYPES with OSTREE_INITRAMFS_FSTYPESRicardo Salveti2018-05-161-1/+1
| | | | | | | | | | 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>
* sota: introduce INITRAMFS_FSTYPESMing Liu2018-05-151-1/+3
| | | | | | | | | | | | | 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>
* Add support for custom garage target version and urlRicardo Salveti2018-05-111-0/+2
| | | | | | | 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>
* 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>
* Fixes for SpekulatiusAnton Gerasimov2017-12-201-2/+2
| | | | | | - New garage-sign interface - Remove garage-sign recipe (now installed with aktualizr-native) - Small but critical bugfixes in aktualizr
* Check if the package and UPTANE target got to the backendAnton Gerasimov2017-11-211-1/+1
|
* Add managing targets.json by garage-signAnton Gerasimov2017-11-131-1/+8
|
* Copy repo manifest to the device.Patrick Vacek2017-11-061-0/+2
| | | | | | | Helpful for debugging, etc. Mostly copied from here: https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
* Support pkcs#11 in aktualizr and add softhsm token for testingAnton Gerasimov2017-10-161-0/+3
|
* Add recipes to test pkcs11 functionality in AktualizrAnton Gerasimov2017-09-131-1/+1
|
* 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>
* sota: Support m3ulcbLeon Anavi2017-06-221-0/+1
| | | | | | Support Renesas R Car Starter Kit Generation 3 (m3ulcb). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* Fix a typo (missing double quotes)OYTIS2017-06-091-1/+1
|
* Set default SOTA_CLIENT directly in sota.bbclassAnton Gerasimov2017-06-081-0/+1
|
* Add option to choose which sota client to use (if any)Anton Gerasimov2017-05-311-1/+1
|
* Merge pull request #67 from advancedtelematic/fix/machine-prefixcajun-rat2017-05-241-1/+2
|\ | | | | Prefix OSTREE_BRANCHNAME with ${MACHINE}-
| * Prefix OSTREE_BRANCHNAME with ${MACHINE}-Phil Wise2017-05-231-1/+2
| | | | | | | | | | As a temporary fix, treehub is going to use this to derive the relevant hardwareIdentifier for a push.
* | Fix typo in machine name for R-Pi3Phil Wise2017-05-231-1/+1
|/
* Merge remote-tracking branch 'origin/morty' into feat/noopAnton Gerasimov2017-05-111-4/+3
|\
| * Add support for am335x-evm based board with WiFiAnton Gerasimov2017-05-051-3/+2
| |
* | Make layer inclusion a neutral operationAnton Gerasimov2017-05-101-20/+18
|/ | | | | | | Classes are and bbappends are reworked so that mere inclusion of this layer to bbappends.conf doesn't change anything. In addition class behavior can now be controlled by both inheriting sota.bblcass and enabling "sota" DISTRO_FEATURE.
* Replace includes with bblcassesAnton Gerasimov2017-04-261-0/+33
They are more flexible and allow tricks like conditionally inheriting machine-related classes from the main one which makes things easier for external users like AGL