Commit Graph

125 Commits

Author SHA1 Message Date
Javier Viguera 3b6796e233 build.sh: enable dey-image-chromium for ccimx95-dvk
https://onedigi.atlassian.net/browse/DEL-9838

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Gabriel Valcazar 5b0c835076 build.sh: add "--ignore-missing" flag to "repo forall" commands
If a previously existing workspace is missing some repos due to "repo sync"
errors, any builds re-using that workspace will fail silently when attempting
to run "git clean -fdx" on all repos via "repo forall".

Ignore missing repos to prevent these situations.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-17 11:38:02 +01:00
Hector Palacios 0eb9d5a506 cc95: add support for dey-image-flutter
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-11-06 17:18:40 +01:00
Javier Viguera 81c09b151e build.sh: enable wic image generation and minor cleanups
* generate SD card image using wic
* remove ZIP_INSTALLER_CFG since DEY_IMAGE_INSTALLER="1" is now the default
* drop purge_sstate

https://onedigi.atlassian.net/browse/DEL-9768

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-23 12:33:30 +02:00
Javier Viguera 08eec741c2 lvgl-demo: add support for ccimx95
This allows to build dey-image-lvgl for ccimx95-dvk.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-10 10:12:02 +02:00
Javier Viguera a5d5cf86f1 meta-digi-arm: add ConnectCore 95 DVK platform
https://onedigi.atlassian.net/browse/DEL-9781

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-29 12:52:13 +02:00
Javier Viguera 87cbca9693 build.sh: allow externally configuring sstate cache path
Define YOCTO_SSTATE_DIR honoring DY_SSTATE if configured in Jenkins,
otherwise use the previous default value.

While on it, quote YOCTO_INST_DIR expansion to prevent word splitting.

https://onedigi.atlassian.net/browse/DEL-9762

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-17 13:56:14 +02:00
Arturo Buzarra 51e97057c9 ccmp15-dvk: enable support for dey-image-flutter
This commit enables building dey-image-flutter for the ConnectCore MP15
platform. It integrates the necessary configurations to support Flutter-based
graphical applications on this platform.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-03 14:33:39 +02:00
Hector Palacios bd71ef76e5 build scripts: limit sdcard image to platforms that support it
The CC6UL SOM doesn't support booting from the SD card.
The STM based SOMs use a wic template to generate the SD card
image.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-17 16:58:18 +02:00
Hector Palacios 57f0575ad0 machine: remove 'sdcard.gz' image from default IMAGE_FSTYPES
The generation of the sdcard image takes time and resources, and
it's not involved in the Get Started.
This can be easily re-enabled by appending the variable in the
project local.conf.

Append the variable in the build scripts, to facilitate its usage
on release builds.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-16 08:35:19 +02:00
Arturo Buzarra 724c9492ec build: Start a build release environment from scratch
The release build should ensure it starts from a fresh environment to avoid
potential mismatches with old code.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 12:53:37 +02:00
Arturo Buzarra 758cae2e19 build.sh: add dey-image-flutter image
https://onedigi.atlassian.net/browse/DEL-9380

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-15 15:35:13 +02:00
Gabriel Valcazar 161f6fbe9a sdk: build.sh: parametize vigiles config file path with Yocto codename
We need separate config files for different DEY versions, so store each file
set in a folder named after the corresponding Yocto codename.

https://onedigi.atlassian.net/browse/DEL-9539

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-03-12 15:49:37 +01:00
Hector Palacios 293f0c5ab7 dey: remove support for dey-image-crank
We're dropping support for dey-image-crank images.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9508
https://onedigi.atlassian.net/browse/DEL-9509
2025-02-26 11:37:37 +01:00
Gabriel Valcazar 248c3c7f4f sdk: build.sh: only build dey-toolchain when building SDKs
Instead of having one toolchain per image, we now provide one per platform.

https://onedigi.atlassian.net/browse/DEL-9297

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-11-26 18:36:34 +01:00
Arturo Buzarra bf183f4093 build.sh: add support for ConnectCore 91 DVK platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-23 10:17:30 +02:00
Arturo Buzarra 9d5ce6c707 meta-digi-arm: add support for ConnectCore MP25 DVK platform
https://onedigi.atlassian.net/browse/DEL-8995

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 17:12:33 +02:00
Gabriel Valcazar 8ce2fddc7f build.sh: fix error when applying CVE layer
In our previous commit, we changed the CVE scan class from "vigiles" to
"digi_ccss" if we plan on building images with the CVE layer. However, we
make this change in conf/local.conf and then run "bitbake-layers add-layer" to
add said layer. Since the bbclass is exclusive to the CVE layer, bitbake isn't
able to recognize it and fails.

Add the CVE layer to the project before adding the Vigiles configuration
template to conf/local.conf.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-03-12 11:07:39 +01:00
Gabriel Valcazar 190e7a8df1 build.sh: change name of class used for CVE scan depending on layers used
Our CVE layer now includes a new bbclass that extends the logic of the
"vigiles" bbclass. Use this new class if we are building images with the CVE
layer.

https://onedigi.atlassian.net/browse/DEL-8939

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-03-11 18:08:31 +01:00
Gabriel Valcazar 4db0703a6b build.sh: don't build dey-image-crank for the ccimx6sbc and ccimx6qpsbc
The crank engine hasn't been fully tested on these platforms yet, so remove
the image from our default build.

https://onedigi.atlassian.net/browse/DEL-8862

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-01-30 11:23:08 +01:00
Gabriel Valcazar b7ce8d4997 build.sh: add support to build dey-image-lvgl images daily
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-11-23 13:20:31 +01:00
Arturo Buzarra 94a865cc0e build scripts: sync internal and Github build scripts
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-10-09 16:50:11 +02:00
Arturo Buzarra 5956782ac3 build.sh: support dey-image-webkit on ccimx6sbc/ccimx6qpsbc platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-10-09 16:50:06 +02:00
Javier Viguera 0b4b0a4867 build.sh: minor optimize DY_MACHINES_LAYER variable usage
DY_MACHINES_LAYER is an optional variable only used once. Use bash's
"alternate value" expansion and get rid of the intermediate MACHINES_LAYER
variable.

While on it, remove the DY_BUILD_VARIANTS reference in the script header
as that was removed long ago.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-08-16 10:25:18 +02:00
Gonzalo Ruiz 151636c404 sdk: build.sh add DY_MANIFEST parameter
DY_MANIFEST parameter allows to do a 'repo init' with a specific
manifest file contained in the manifest repository. For example,
'manufacturing.xml' for building manufacturing projects.

By default no manifest file parameter is provided, so the 'repo init'
command will initialize based on the 'default.xml' manifest file.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit c38b4fc4f2c565ab9db20c082016401341e78ce5)
2023-08-08 09:12:21 +02:00
Arturo Buzarra 358dd2a815 build.sh: add dey-image-qt for ccmp15-dvk
ConnectCore MP15 has support to QT applications, so add it to the daily build.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
(cherry picked from commit b92028b407)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-20 17:07:39 +01:00
Arturo Buzarra 739f1b6ab0 build.sh: add dey-image-webkit for ccimx8 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-03-06 16:03:38 +01:00
Gabriel Valcazar 13dafe10bd meta-digi-arm: disable Vigiles CVE report generation by default
For now, we're only interested in generating the SBOM, which we can upload and
have Vigiles scan later on if needed. The report generation process adds some
overhead and can cause unwanted errors if the Vigiles server takes too long.

Enable report generation for our automated builds.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-27 15:51:36 +01:00
Tatiana Leon 4e22f037f7 ccmp15: set 'dey-image-webkit' as default image instead of 'dey-image-qt'
This commit also replaces 'dey-image-qt' with 'dey-image-webkit' on build
scripts.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-24 15:11:40 +01:00
Gabriel Valcazar 08abcb542d build.sh: remove spurious "if"
This was left by accident and causes the script to fail

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-22 17:34:14 +01:00
Gabriel Valcazar 93ea42e229 build.sh: add support to generate Vigiles reports in automated builds
This adds two new options:

    * One to generate a Vigiles CVE report along with a build
    * One to include the meta-digi-security layer in a build

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-22 15:10:17 +01:00
Javier Viguera 9dc6a491ba build.sh: change image to build for ccimx93
Support to build wayland-based graphical images has been added for ccimx93,
so build that image.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:55:37 +01:00
Javier Viguera 78269acbe0 build.sh: add ccimx93-dvk new platform
This enables the autobuild of the platform in the buildserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-22 16:15:51 +01:00
Javier Viguera db5067371e meta-digi: get rid of ccimx8mp-dvk
Platform not supported.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 18:06:57 +01:00
Javier Viguera 05d25ab36d build.sh: add core-image-base for ccimx6ulsbc
In the CC6UL this is the only image that has the connectcore demo
included, so add it to the daily build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 14:00:29 +02:00
Javier Viguera f56d4db107 build.sh: code review, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 14:00:20 +02:00
Javier Viguera 021e80d1e1 build.sh: remove support for building variants
This is dead code used in the past for the ccardimx28. It is not used in
any other platform, so just remove it.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-19 13:58:13 +02:00
Arturo Buzarra b8e09bddc7 sdk: build: remove dey-image-aws image
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Arturo Buzarra 0ed6c4d66b meta-digi-arm: add support for ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Tatiana Leon 8a81dd87f8 crank: add new crank image
https://onedigi.atlassian.net/browse/DEL-7969

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-08-26 13:34:59 +02:00
Mike Engel de46b4ae85 ccmp15-dvk: add CCMP15-DVK platform configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Isaac Hermida 148b1b443b meta-digi-arm: add support for ConnectCore 8M Plus platform
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-02-03 11:45:31 +01:00
Arturo Buzarra 6462549f04 build.sh: add support to provide cpus number to use
https://onedigi.atlassian.net/browse/DEL-7629

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-08-13 10:53:57 +02:00
Arturo Buzarra b9599a6c80 build.sh: add support to set build timestamp
By default is enabled the reproducible builds feature and to provide a real
timestamp for the build system, we include it in our local.conf file.

https://onedigi.atlassian.net/browse/DEL-7574

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-06-07 12:34:10 +02:00
Mike Engel 34389a275d sdk: remove framebuffer from platforms
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-05-20 12:49:19 +02:00
Arturo Buzarra a76f3031fb meta-digi-arm: add support for ConnectCore 8M Mini DVK platform
https://jira.digi.com/browse/DEL-7397

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Gabriel Valcazar 52335e8ed5 sdk: build.sh: remove dey-image-webkit from all default build target lists
The buildserver uses this default value when building framebuffer images. Since
the WebKit is not yet compatible with framebuffer images, the builds fail.

Remove dey-image-webkit from the default target lists.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-01-04 09:57:30 +01:00
Gabriel Valcazar f91cb8d6bd Add support for the dey-image-webkit image
This image is very similar to dey-image-qt, but it includes the WebKit
packagegroup instead of the Qt one. Said packagegroup contains all of the
elements needed to run a WebKit-based browser environment in DEY.

This image requires the meta-webkit layer, so include it in our default
bblayers template. For now, include all WebKit related recipes in a dynamic
layer, because the ccimx6ul doesn't support WebKit and its projects don't need
meta-webkit at all.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-14 11:49:33 +01:00
Arturo Buzarra 867483e924 build: limit amount of data cloned for each repository
This commit fixes an intermittent issue when we are cloning several
repos with a huge history, throwing an unexpected error.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-08-07 09:34:57 +02:00
Arturo Buzarra c6a1fb6881 build.sh: add support to use an external downloads dir
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-04 08:53:15 +02:00