Commit Graph

27 Commits

Author SHA1 Message Date
Javier Viguera 2452e85a6b kirkstone migration: cosmetic, clean build warnings
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Francisco Gil d485af020a greengrass: add support for greengrass 1.10
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-24 13:09:26 +01:00
Francisco Gil 6e3334798c greengrass: add support for greengrass 1.9.2
Add support for greengrass 1.9.2 and remove it for 1.9.0.
Support for 1.9.0 was never released and that version is
no longer available.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-09-05 16:39:28 +02:00
Francisco Gil dd745b8a11 greengrass: add support for greengrass 1.9.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-05-09 17:03:43 +02:00
Francisco Gil fd8701845e greengrass: add support for greengrass 1.8.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-03-27 09:52:54 +01:00
Francisco Gil 7ea3714d9c greengrass: generalize the recipe to compile greengrass
Organize the common code in the recipe to make easy the
inclusion of new greengrass versions.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-03-27 09:52:45 +01:00
Gabriel Valcazar 65072fb04c greengrass: add systemd support
Since our initscript contains logic to dynamically generate the path containing
the greengrass daemon (it changes depending on the version), keep it in the
rootfs. Create a symlink to it inside of /etc/init.d for sysvinit images and
create a systemd service wrapper that calls it on systemd images.

https://jira.digi.com/browse/DEL-6510

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-03-18 14:11:59 +01:00
Arturo Buzarra 303106cce1 sumo migration: use pkg_postinst_ontarget() to delayed operation on first boot
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
fgilmar 755892a33c AWS Greengrass: add new recipe for AWS Greengrass core 1.7.0
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-30 10:52:29 +01:00
fgilmar 417b64c949 greengrass: cc8x: add greengrass support for cc8 platform
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
fgilmar 06f193f011 AWS Greengrass: add new recipe for AWS Greengrass core 1.6.0
https://jira.digi.com/browse/DEL-6189

Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
Arturo Buzarra c741dc365a AWS Greengrass: skip file-level dependencies in QA checks
In previous Yocto versions this recipe throws an warning about
the file dependencies however in Yocto 2.4 this throws a build error.
To avoid the build error we skip the QA check at file-level dependencies.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-19 10:23:59 +01:00
Tatiana Leon 65a3cb1667 AWS Greengrass: add new recipe for AWS Greengrass core 1.1.0
https://jira.digi.com/browse/DEL-5368

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-11-27 10:32:49 +01:00
Tatiana Leon 31444d1bd1 AWS Greengrass: set the GG Core daemon relative path in the init script
The recipe modifies the Greengrass Core init script to properly configure the
daemon relative path. This daemon location is different depending on the
Greengrass version being used.

This commits also moves the patch for Greengrass Core 1.0.0 to the
'greengrass-1.0.0' directory in preparation for adding Greengrass Core 1.1.0
recipe in the next commit.

https://jira.digi.com/browse/DEL-5368

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-11-27 10:32:49 +01:00
Javier Viguera f397ee2289 greengrass: add support to preconfigure the package
If values are provided in the local.conf, the package will have the
'config.json' file preconfigured.

https://jira.digi.com/browse/DEL-4274

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-05 13:43:28 +02:00
Javier Viguera 991a087e85 awsiotsdk-c: rename bbclass to aws-iot
Rename the class so it's not specific to the C version of the AWS IoT
Device SDK, and can be used for anything related with AWS IOT (for
example Greengrass).

https://jira.digi.com/browse/DEL-4274

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-07-05 13:43:28 +02:00
Javier Viguera 84f63905ac aws-iot-sdk: minor fixes
* Create the certificates directory before copying files into it.
* Give the downloaded tarball a meaningful name (otherwise tarballs
  downloaded from GitHub don't have a proper name (only the version) and
  may collide with other packages with the same version.
* Allow to create certs package if certs are available at build time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-15 18:31:13 +02:00
Tatiana Leon 78843e5cba aws-iot-sdk: remove certificates dependency
Only copy the certificates to the image if they are provided and exists.

https://jira.digi.com/browse/DEL-4339

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-06-15 11:08:36 +02:00
Tatiana Leon ab909175f0 aws-iot-sdk: remove the samples provided by Amazon
We have our own AWS IoT Device SDK demo application.

https://jira.digi.com/browse/DEL-4339

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-06-15 11:03:47 +02:00
Tatiana Leon b0b0becc7a aws-iot-sdk: move awsiotsdk-c and awsiotsdk-demo recipes
This commit moves awsiotsdk-c recipe into 'recipes-aws' and awsiotsdk-demo into
'recipes-digi/dey-examples'.

https://jira.digi.com/browse/DEL-4339

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-06-15 11:00:11 +02:00
Javier Viguera a8f0024403 AWS Greengrass: update to version 1.0.0
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-07 20:49:58 +02:00
Javier Viguera 8e8e7f8982 AWS Greengrass: add daemon launcher wrapper bootscript
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-06 19:35:03 +02:00
Javier Viguera f59d27e5a8 AWS Greengrass: wait some time to check GG daemon status on launch
GG daemon may die due to misconfigurations, but this takes a bit of
time, so wait a bit to check whether the daemon is still alive.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-06 18:39:33 +02:00
Javier Viguera 95c511d100 AWS Greengrass: add python dependences for lambda_runtime.py
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-06 17:20:02 +02:00
Javier Viguera c2f71b9646 AWS Greengrass: install the package under '/greengrass' folder
That's the default assumed by the GG daemon:

$ daemon --help

  -gg-home string
    home directory of greengrass (default "/greengrass")

As of this version GG daemon may not work properly otherwise.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-06 17:17:16 +02:00
Javier Viguera b75959afd9 meta-digi-dey: add new recipe for AWS Greengrass core
https://jira.digi.com/browse/DEL-4302

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-06-02 18:32:36 +02:00