Integrate meta-seco-clea-os/scarthgap_kickoff
Commit: clea-os/layers/seco/meta-seco-clea-os@731eacbb
Add SRCREV.conf for the BSP integration made by CI/CD pipelines.
Involved recipes:
- sysdata-tool
davide.cardillo@seco.com
Signed-off-by: default avatarDavide CardilloCommit: clea-os/layers/seco/meta-seco-clea-os@22278674
[CLASS][QEMU] remove boot script from bootfs
Do NOT install boot/* into bootfs partition, these files are already installed in the clea os boot partition.
JIRA reference: CLEAOS-576
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@b4b81a57
[RAUC] add rauc basis functions
In this commit has been added service and recipe to make the rauc updating possible. The packagegroup dedicated to rauc has been modified to not only implement the rauc package but sysdata-tool and gptdisk too.
The fundamental change for rauc can be found in the folder "rauc" where are defined:
- service;
- executables;
- rauc configuration file;
- recipes;
- key;
The service realized allows to make sure that the rauc_set.sh file starts with the filesystem assuring that this starts before rauc.service. Indeed, the rauc_set.sh sets all the settings necessary to rauc to starts correctly which means adding [handlers], [slot.bootfs.] and [slot.rootfs.] automatically such that it can be used without setting configuration file for each board system. Into the [handlers] section are placed the sysdata_handler.sh, sysdata_pre_install.sh and sysdata_post_install.sh which allows rauc to execute the commands necessary to the update such as: set-primary, get-primary, get-state, set-state.
In the rauc configuration file has been added only [system] and [keyring] section because they are almost identical in every boards taken. The "compatible" voice is the only one blank because it will be filled with the machine used.
The recipes implemented are the rauc and rauc-conf bbappend which perform two important tasks. The first one, linked to the rauc bbappend, is to make sure that all files such as: configuration file, service, executable and folders are installed in the filesystem. The second one, make sure that the key used to do the update is the one wanted.
The key is placed in a folder to make sure that it can be seen by the rauc-conf.bbappend.
Last but not least has been added bundle recipe to create the seco-bundle-clea-os-*.raucb which carry the changes of the image.
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@39528284
[SYSDATA] Add service for find sysdata offset
find_sysdata_offset is a function that allows to find the guid assigned to sysdata and read the partion index, starting sector and the sector size. It calculates the hexadecimal value to make sure that the offset is dynamic based on where sysdata partion is located compared to the other partitions. Furthermore, has been created a find_sysdata_offset.service that activates the script each time the boot starts.
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@cdd53aa0
[YCONFIG] Added SPDX menu
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@257d0894
[YCONFIG] Add cyclonedx support
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@9c5d5e38
[DISK-LAYOUT] Create U-Boot partition only if selected as loader
Update the wic-plugin so that the partition is created only if the loader is set to u-boot.
This fix the creation of an empty partition in platform using other loaders.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@05ea502e
[CLEA-OS][IMAGE] CLEA_OS_IMAGE_WIC_DEPEND managed globally
Originally, CLEA_OS_IMAGE_WIC_DEPEND was managed inside an include files used by the machines compatible with meta-seco-bsp. This structure doesn't work for machines coming from other layer (e.g. RPI or standard qemu machines). Placed the management of CLEA_OS_IMAGE_WIC_DEPEND inside meta-seco-clea-os, that configuration is globally applied to all machines.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@c094a775
[CLEA-OS] Make IMAGE_CLEA_OS_BOOT_FILES compatible with appeding
A weak assignment of IMAGE_CLEA_OS_BOOT_FILES doesn't allow possible appending. In order to manage the possible configuration for the various bootloaders (U-Boot, Grub, systemd-boot) the EFI_PROVIDER variable is used.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@4365e8d2
[DISK-LAYOUT] Change type GUID for Clea OS booting partition
Set the same type GUID for the Clea OS boot partition as the EFI system partition.
This is required due to EFI system constraints (currently relevant for x86 architecture and Qualcomm SoCs). It is also necessary for the Raspberry Pi 5 firmware, which expects a bootable partition marked with the EFI system type.
JIRA Reference:[CLEAOS-649]
davide.cardillo@seco.com
Signed-off-by: default avatarDavide CardilloCommit: clea-os/layers/seco/meta-seco-clea-os@4861e842
[DISK-LAYOUT] assign IMAGE_CLEA_OS_BOOT_FILES weakly
Assign variable IMAGE_CLEA_OS_BOOT_FILES weakly to allow overwriting its value in vendor-specific layers.
JIRA Reference: [CLEAOS-649]
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@1ce028e1
[DISK-LAYOUT] accept directories in bootimg plugin
Process directories in IMAGE_CLEA_OS_BOOT_FILES variable
JIRA Reference: [CLEAOS-649]
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@bf647a70
[DISK-LAYOUT] Add Clea OS booting partition
Introduce a new bootimg partition for Clea OS, which contains the necessary files to boot the system. This partition is separate from the system partition and is intended to hold boot-related files such as the ramfs image and bootscript files.
Note: This has been tested in the x86 context.
To support the Clea OS booting partition, the following changes have been made:
- Added a new WIC plugin clea-os-bootimg-partition.py to generate the booting partition. This plugin uses the IMAGE_CLEA_OS_BOOT_FILES global WICVARS variable, serving the same purpose as IMAGE_BOOT_FILES: to specify the files to include in the partition.
- Modified WKS_SYSTEM_BOOT_PARTITION_LAYOUT to include a new partition item referencing the plugin.
- Included ramfs.img in the new booting partition.
JIRA Reference:[CLEAOS-649]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@bac0d6ff
[AUTO-PATCH][CLASS] Fix PATCHPATH default value as lsit
PATCHPATH should be a list, not a string. This patch ensures that the default value is set correctly as a list with colon separeted values. This is ensured by appending ":" to the end of the string.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@11c68e12
[YCONFIG][QCOM] add distro support for qcom arch
Add HW_QCOM architecture to distro deps
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@fc043f5a
[INITRD] support extending init script
Add support for adding an extension to the init script (init-boot.sh) from a bbappend. To extend, override the default init-boot-extra.sh file, which will be added to the main script right before switch_root.
This allows other layers to add some vendor-specific initialization, e.g. mounting the Qualcomm USB firmware partition in meta-seco-qcom before udev starts.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@ca90bb75
[NO-FUNCTIONAL] Fix some comments about WKS_ Clea OS variables.
Commit: clea-os/layers/seco/meta-seco-clea-os@1288c5c4
[SYSDATA] Add support for sysdata-tool
sysdata-tool is a user-space utility for managing the SysData system. It is implemented in Rust and requires a configuration file to locate the correct memory region (specifically, a dedicated partition).
The recipe includes a template configuration file with placeholders that must be replaced with the appropriate values.
Currently, this substitution is not handled by the recipe, and the method and location for performing it still need to be defined.
recipe: sysdata-tool
JIRA Reference:[CLEAOS-470]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@499d7269
[FIX] Fix type inside WKS_SYSTEM_BOOT_PARTITION_LAYOUT_LIST variable
davide.cardillo@seco.com
Signed-off-by: Davide CardilloCommit: clea-os/layers/seco/meta-seco-clea-os@85cb2383
[DISK-LAYOUT] Introduce system specific partition layout
This commit introduces a new partition layout for the system-specific image. The new layout is designed to accommodate additional requirements, including:
- SysData partition;
- Reduntant slot partitions
At first, the concept of slot as been introduced. The existing variable:
WKS_BOOTFS_ROOTFS_PARTITION_LAYOUT_LIST
has been repalced with
WKS_BASIC_SLOT_PARTITION_LAYOUT_LIST
This new variable defines the list of partitions that make up a slot. A slot represents a portion of the system image (typically including bootfs and rootfs) that can be duplicated to provide redundancy (e.g., for OTA updates). Currently, only a single main slot is defined. However, the design allows for additional slots to be added in the future.
Consequently also the variable
WKS_BOOTFS_ROOTFS_PARTITION_LAYOUT
has been replaced with
WKS_SLOT_PARTITION_LAYOUT
This variable handles the duplication mechanism. If the DISTRO_FEATURES contains
redundant-slot,
then WKS_BASIC_SLOT_PARTITION_LAYOUT_LIST is included twice in the layout to provide redundancy.
An similar logic has been used to provide the way to add SysData partition inside the disk layout: a new kind of partition set has been introduced:
WKS_SYSTEM_BOOT_PARTITION_LAYOUT
This last is similar to the already present WKS_MACHINE_BOOT_PARTITION_LAYOUT, where there is no longer a dependency to the specific used MACHINE but instead there is a SYSTEM dependency.
To enable the SysData partition inside this set, the following DISTRO_FEATURES has to be set:
sysdata
JIRA Reference:[CLEAOS-649]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@7c4f22d8
[DISK-LAYOUT] Add GTP GUIID partition type list
Add GPT GUID partition type list support for automatic partition identification. As with other systems (e.g., Windows, Solaris), we need to add the GPT GUID partition type list in order to assign specific purposes to partitions. By doing this, the system will be able to identify the partition type and automatically use it, without requiring prior knowledge of the partition ID.
For example, this allows automatic identification of the SysData partition without needing to know its exact ID in advance.
Currently, the following partition types are defined: CLEA_OS_GPT_TYPE_SYSDATA="5B193300-FC78-40CD-8002-E86C45580B47" CLEA_OS_GPT_TYPE_BOOTING="31412da2-309b-4a35-8d25-68a96e019fab" CLEA_OS_GPT_TYPE_KERNEL="7b7b60fc-493a-4d63-9879-5a6ca6a363e4" CLEA_OS_GPT_TYPE_ROOTFS="2b26c813-8713-4f30-aa2f-3561d74dd919"
CLEA_OS_GPT_TYPE_SYSDATA: SysData partition CLEA_OS_GPT_TYPE_BOOTING: Booting partition (bootscrpt, initaramfs, etc.) CLEA_OS_GPT_TYPE_KERNEL: Kernel/DTB partition CLEA_OS_GPT_TYPE_ROOTFS: RootFS partition
JIRA Reference:[CLEAOS-649]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@31b40a81
[IMAGE] Add packagegroup for system update
- packagegroup-seco-system-update: A package group that includes the supported update systems. While there are no plans to support mechanisms other than RAUC, the implementation is designed to accommodate multiple update mechanisms.
- seco-clea-os-image: Adds the RAUC package from packagegroup-seco-system-update, applied only when the RAUC feature is enabled (through the configurator), e.g., SYSTEMUPDATE_RAUC = 1.
JIRA Reference:[CLEAOS-644]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@6044a583
[DISTRO][RAUC] Add RAUC feature to DISTRO_FEATURES
This add-on is applied only if SYSTEMUPDATE_RAUC is set. This variable is used by the configurator to determine whether the RAUC feature has been enabled.
JIRA Reference:[CLEAOS-644]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@f350b39b
[YCONFIG][SYSTEM UPDATE] Add RAUC as a System Update Option
RAUC is the official tool used for Clea OS System Updates. Since it is not a mandatory feature in the distribution, the default configuration does not support any system updates. To enable RAUC, the configurator must be used:
Clea OS Distro Settings > Clea OS Distro Features Menu
Currently, two options are available:
- None: No system update functionality is included.
- RAUC System Update: Enables RAUC for system updates.
Note: This feature will be mandatory for the "Things" flavor of Clea OS.
JIRA Reference:[CLEAOS-644]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@7c47a0cc
[YCONFIG] Fix menuconfig warnings
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e2a1a522
[VERSIONING] add classes for version, os-release and configurator option for increment version
The class clea-os-versioning.bbclass allows to read important variable such as: CLEA_OS_IMAGE_ID, CLEA_OS_IMAGE_VERSION, CLEA_OS_MANIFEST_DATE and CLEA_OS_BUILD_DATE.
- CLEA_OS_IMAGE_ID: show the tag, if not assigned it show the branch name; if the current commit is not tagged the id contains the SHA; if there are changes in local the flag DIRTY is added to the id.
- CLEA_OS_IMAGE_VERSION: if the version is in the tag, it is extracted and rewritten following a specified syntax(e.g. kirkstone_1-06-00 -> 1.6.0). If the version is not provided the value is set initially to "0.0.1".
- CLEA_OS_MANIFEST_DATE: show the date of the most recent commit.
- CLEA_OS_BUILD_DATE: show the present date of the build. Furthermore, it is created a file clea-os-version.manifest to memorize the version of the case in which no version is signed.
The class clea-os-image.bbclass allows to an image or recipe that inherit it to increment the version when built, in the case in which the branch name is used to characterize the "CLEA_OS_IMAGE_ID". If the process of building concludes successfully the incremented version is saved in the clea-os-version.manifest ready to be used as the global variable "CLEA_OS_IMAGE_VERSION". If the process of building fail the incremented version is not saved lefting unchanged the clea-os-versioning.manifest.
The os-release directory contain the os-release.bbappend which assign the "CLEA_OS_IMAGE_ID" and "CLEA_OS_IMAGE_VERSION" to "IMAGE_ID" and "IMAGE_VERSION", respectively.
If the increment of the version is not needed the user can select in the configurator menu the option STATIC VERSIONING.
JIRA Reference:[CLEAOS-569]
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@75f0f7c6
[SPLASH][PSPLASH][RPI] Add RPi specific files for PSplash
Raspberry Pi needs to wait framebuffer to be available before starting PSplash service. The dependency from fb0 has been added.
Furthermore, a udev rule has been added to make the framebuffer available to systemd at boot time.
JIRA Reference: [CLEAOS-623]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@33a8b8a5
[LAYER] Increase layer's priority to 10
As there are some layers with priority 9, it's better to set this layer's priority to 10 so that it is always the highest priority one.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@d391a7e6
[SPLASH][PLYMOUTH][INTEL] Change default tty
Set /dev/tty0 as default tty for Plymouth. This to fix an issue occurring after the splash-screen is closed, where the correct tty was not automatically selected. The user had to use the combination of Ctrl+Alt+F(N) to open a console.
JIRA Reference: [CLEAOS-622]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@83573e8c
[SPLASH][PLYMOUTH] Add early-splash in initramfs
Added Plymouth specific task to show the splash screen earlier in the boot process. The splash screen is forced to be active with the parameter:
--kernel-command-line="splash plymouth.ignore-serial-consoles"
In a future commit the splash screen will be activated/disabled depending on bootargs.
JIRA Reference: [CLEAOS-622]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@96d7221f
[SPLASH][PLYMOUTH] Add basic configuration for Plymouth
Add Plymouth 24.004.60 splash screen support.
Add CleaOS theme as default with the possibility to select Plymouth's default themes from the configurator.
JIRA Reference: [CLEAOS-622]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e9dee299
[SPLASH][PSPLASH] Add PSplash support
Add PSplash as splash-screen provider. The splash-screen provider is selectable in the build configurator menu.
The menu has been prepared for the implementation of the other splash-screen provider called Plymouth.
JIRA Reference: [CLEAOS-614, CLEAOS-623]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@4bfc89fc
[VERSIONING] fix indentation
Fix wrong indentation of 'with' block in clea-os-versioning which causes the following build error:
ERROR: Error in compiling python function in /home/yoctouser/workdir/layers/meta-seco/meta-seco-clea-os/classes/clea-os-versioning.bbclass, line 246:
The code lines resulting in this error were:
0023:
0024:
0025: with open(w_path, 'w') as file:
0026:
*** 0027: file.write(f"CLEA_OS_IMAGE_VERSION = \"{version}\"\n")
0028: file.write(f"CLEA_OS_IMAGE_ID = \"{name}\" \n")
0029: file.write(f"CLEA_OS_MANIFEST_DATE = \"{m_date}\"\n")
0030: file.write(f"CLEA_OS_BUILD_DATE = \"{b_date}\"\n")
0031: else:
IndentationError: expected an indented block (clea-os-versioning.bbclass, line 246)
ERROR: Unable to parse /home/yoctouser/workdir/layers/poky/bitbake/lib/bb/utils.py
Traceback (most recent call last):
File "/home/yoctouser/workdir/layers/poky/bitbake/lib/bb/utils.py", line 319, in better_compile
code = compile(text2, realfile, mode)
File "/home/yoctouser/workdir/layers/meta-seco/meta-seco-clea-os/classes/clea-os-versioning.bbclass", line 246
file.write(f"CLEA_OS_IMAGE_VERSION = \"{version}\"\n")
^
IndentationError: expected an indented block
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yoctouser/workdir/layers/poky/bitbake/lib/bb/utils.py", line 342, in better_compile
raise e
bb.BBHandledException: expected an indented block (clea-os-versioning.bbclass, line 246)
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0b77635a
[VERSIONING] add classes for version, os-release and configurator option for increment version
The class clea-os-versioning.bbclass allows to read important variable such as: CLEA_OS_IMAGE_ID, CLEA_OS_IMAGE_VERSION, CLEA_OS_MANIFEST_DATE and CLEA_OS_BUILD_DATE.
- CLEA_OS_IMAGE_ID: show the tag, if not assigned it show the branch name; if the current commit is not tagged the id contains the SHA; if there are changes in local the flag DIRTY is added to the id.
- CLEA_OS_IMAGE_VERSION: if the version is in the tag, it is extracted and rewritten following a specified syntax(e.g. kirkstone_1-06-00 -> 1.6.0). If the version is not provided the value is set initially to "0.0.1".
- CLEA_OS_MANIFEST_DATE: show the date of the most recent commit.
- CLEA_OS_BUILD_DATE: show the present date of the build. Furthermore, it is created a file clea-os-version.manifest to memorize the version of the case in which no version is signed.
The class clea-os-image.bbclass allows to an image or recipe that inherit it to increment the version when built, in the case in which the branch name is used to characterize the "CLEA_OS_IMAGE_ID". If the process of building concludes successfully the incremented version is saved in the clea-os-version.manifest ready to be used as the global variable "CLEA_OS_IMAGE_VERSION". If the process of building fail the incremented version is not saved lefting unchanged the clea-os-versioning.manifest.
The os-release directory contain the os-release.bbappend which assign the "CLEA_OS_IMAGE_ID" and "CLEA_OS_IMAGE_VERSION" to "IMAGE_ID" and "IMAGE_VERSION", respectively.
If the increment of the version is not needed the user can select in the configurator menu the option STATIC VERSIONING.
JIRA Reference:[CLEAOS-569]
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@87c9084e
[CLASS][ADD] Add auto-patch class regarding patch management
This class introduces PATCHPATH variable. This last is a list of patch wherein series of patches are present. This class automatically add to SRC_URI all find patches in those folders, without the need to explicitly list the patch files to the SRC_URI variable inside the recipe.
There is the usage of MACHINEOVERRIDE to create a list of folders in which to search .patch file.
Example:
PATHPATH = "${CURDIR}"
MACHIEOVERRIDES = "arm:rpi:"
Folders for the research:
- ${CURDIR}/
- ${CURDIR}/arm
- ${CURDIR}/rpi
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@51526c69
[CLASS] Add class useful to manage parametric file
The file-parametric.bbclass provides a flexible mechanism for handling parameterized file replacements and transformations during the Yocto build process. It is particularly useful when generating files with dynamic content, such as configuration files, scripts, or metadata, based on recipe-specific variables. The class introduces tasks for managing placeholders in files, preparing a replacement directory, and transforming input files into their final forms.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@ef9570fb
[MENUCONFIG] renamed Yconfig_graphics -> Yconfig_graphics_wayland
--
Commit: clea-os/layers/seco/meta-seco-clea-os@13b37731
[MENUCONFIG] Fix default behaviour in menuconfig
Commit: clea-os/layers/seco/meta-seco-clea-os@0cbd4df2
explicit remove of x11 and parameter on systemd
Commit: clea-os/layers/seco/meta-seco-clea-os@106e6c28
[WESTON][MENUCONFIG] Handled as distro_features
--
Commit: clea-os/layers/seco/meta-seco-clea-os@5c492f29
[DISTRO] Added 'clea-os-wayland' distro
--
Commit: clea-os/layers/seco/meta-seco-clea-os@ed3c1f0c
[WESTON][MENUCONFIG] Changed wording 'composer' to 'compositor'
--
Commit: clea-os/layers/seco/meta-seco-clea-os@c4ee46ed
Update file seco-clea-os-image.bb
--
Commit: clea-os/layers/seco/meta-seco-clea-os@54794083
[WESTON][MENUCONFIG] Weston enabling managed with var instead of keyword DISTRO_FEATURES
--
Commit: clea-os/layers/seco/meta-seco-clea-os@6861999d
[WESTON][MENUCONFIG] Added weston in menuconfig
--
Commit: clea-os/layers/seco/meta-seco-clea-os@9106f935
[WIP][WESTON][WAYLAND] First commit, not working
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e6a6cd1d
[PACKAGEGROUP][WESTON] Added packagegroup to handle Weston
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e37477b0
[CLASS][QEMU][FIX] add IMAGE_FSTYPES
Add IMAGE_FSTYPES value for qemu machines.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@a54239c7
[CLASS][WIC] Increase parametrization for CleaOS wks.in
Added a new variable WKS_BOOTFS_ROOTFS_PARTITION_LAYOUT
to fully
parametrize clea-os-image-simple.wks.in
. The variable is populated
starting from WKS_BOOTFS_ROOTFS_PARTITION_LAYOUT_LIST
and splitting it
in new lines with the |
separator.
Added ad new variable WKS_BOOT_EXTRA_OPTIONS
to add extra bootloader
arguments.
The definition of these variables have been moved to
clea-os-distro.bbclass
so that layers without Seco's machines (i.e.
QEMU and RaspberryPi) can use clea-os-image-simple.wks.in
.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@026a7b3b
[DEVICE][RUNTIME][IOT] Modified NotifyAccess in systemd service
--
Commit: clea-os/layers/seco/meta-seco-clea-os@321d1629
[IOT] Changes to SOC customization in hardware id script
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e3a2c252
Revert "[NETWORKING][MENUCONFIG][PACKAGEGROUP] Added packagegroup that includes"
This reverts commit c54561ae7f12d3f8e3c2d7a9b47d2a434f7c8303
Commit: clea-os/layers/seco/meta-seco-clea-os@8f9d1be8
[NETWORKING][MENUCONFIG][PACKAGEGROUP] Added packagegroup that includes all net tools. [TTYD] is included
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0deae7fe
[VIRTUALIZATION][DOCKER]Yconfig_distro removed
--
Commit: clea-os/layers/seco/meta-seco-clea-os@3478d33f
[VIRTUALIZATION][DOCKER][PACKAGEGROUP] Virtualization feature has been added implementing docker packagegroup
- Yconfig_virtualization has been added to handle FEATURE_VIRTUALIZATION_DOCKER configurator var and enable docker
- dockers recipes have been added in dynamic layer folder to be integrated only with specific variable enabling
- packagegroup docker has been implemented
--
Commit: clea-os/layers/seco/meta-seco-clea-os@c297a0bd
[DOCKER] docker implementation autostart added
--
Commit: clea-os/layers/seco/meta-seco-clea-os@b030d74d
[DOCKER] docker integration
--
Commit: clea-os/layers/seco/meta-seco-clea-os@f1fb1d3f
[INITRAMFS] Improve boot by PARTUUID
- Improve the init script when booting from PARTUUID.
- Add sleep time to wait all the peripherals showing up before searching for the partition to boot from. This is needed when booting live from removable devices.
JIRA Reference:[CLEAOS-617]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@e7777828
[INITRAMFS] Add root detection based on PARTUUID
Add the function find_device_by_partuuid
called when in the
bootargs root=PARTUUID=<xxxxx>
is found. This function returns the
/dev/<device>
to mount the rootfs from.
JIRA Reference: [CLEAOS-616]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@2e662c08
[CLASS] Set weak assignment to IMAGE_FSTYPES
Set weak assignment so that the IMAGE_FSTYPES
can be overridden by the
architecture-specific .conf
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@d87550c8
Added HW_MTK in available architecture
Commit: clea-os/layers/seco/meta-seco-clea-os@668eb122
[YCONFIG] Add Yconfig_backend and Yconfig_distro_features
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@fe1bc61b
[FLAVOUR] Add flavour-related configuration file
Add conf/clea-os-features.conf
. This file is used by the build
configurator to double-check the local.conf
to make sure that the
configuration fulfills flavour's requirements. If a variable is set with
different values in the local.conf
and *features.conf
the
configurator raises an error.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@aad1a3f5
[SYSTEMD] INIT_MANAGER variable set to systemd According to poky documentation the right way to enable the chosen init manager is to set the variable INIT_MANAGER. In our case we choose INIT_MANAGER = "systemd" in order to enable systemd. In this way all the inclusion/requirement are satisfied directly from poky.
--
Commit: clea-os/layers/seco/meta-seco-clea-os@d9ebb248
[SYSTEMD] systemd integrated in meta-seco-clea-os
--
Commit: clea-os/layers/seco/meta-seco-clea-os@a46f0dcb
[PACKAGEGROUP] Edited packagegroup-seco-iot
--
Commit: clea-os/layers/seco/meta-seco-clea-os@6c3dd23e
[MENUCONFIG][ASTARTE] Added editable parameter URL/REALM
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0748f2df
[PACKAGEGROUP][SECO-IOT][CLEA-CLOUD] Added menuconfig
--
Commit: clea-os/layers/seco/meta-seco-clea-os@28103ec7
[SECO-IOT] Added packagegrop-seco-iot with its dependencies TODO: handle customization with the configurator
--
Commit: clea-os/layers/seco/meta-seco-clea-os@455e5227
[WIC][RPI] use vfat for boot partition to support raspberrypi
The Raspberry Pi bootloader expects the boot partition (containing rpi-specific configuration files, dtbs and images) to be a FAT partition.
Use --fstype=vfat instead of ext4 for the boot partition.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@ff983cf5
[CLASS][DISTRO][FIX] assign WKS_FILE with = instead of ?=
Use = instead of ?= to assign the WKS_FILE variable, which otherwise gets overridden in the machine file for poky qemux86 and qemux86-64.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0ae01c88
[CLASS][QEMU][ADD] add wic support for qemu
Add class clea-os-qemu.bbclass, which allows building and running the Clea OS wic image with qemuarm, qemuarm64, qemux86, qemux86-64.
To run QEMU from the bitbake environment, run: runqemu slirp nographic
To run it from a local environment, copy the contents of DEPLOY_DIR_IMAGE and run: runqemu seco-clea-os-image-qemu*.rootfs.local.qemuboot.conf slirp
Make sure you have the right qemu-system binaries installed in your local environment.
This class:
- adds the necessary dependencies (qemu, u-boot, bootscript, ovmf)
- sets up the QB_* variables to generate the correct .qemuboot.conf file for the image:
- image type: wic
- bios: (u-boot on arm, ovmf on x86)
- drive type: virtio
- create the EFI System Partition on x86
- install kernel image and bootscript files to the boot partition
- .local.qemuboot.conf file, useful for running qemu from outside of the bitbake environment without the yocto sdk
Also, create the qemuboot-local recipe which deploys the runqemu scripts to DEPLOY_DIR_IMAGE for convenience when using the local configuration.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@8101b612
[WKS] Add basic Clea OS disk layout
This disk layout has only the bootfs and rootfs partitons. The hardware dependent partitions are set with the
WKS_MACHINE_BOOT_PARTITION_LAYOUT
provided by meta-seco-bsp layer.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@c25132c4
[DISTRO] Add ramfs image as dependency of Clea OS imge
seco-clea-os-initramfs image is used as initramfs image for all Clea OS image (distro wide setting). In to basic disk layout, the ramfs.img file will be placed inside the bootfs partition (through IMAGE_BOOT_FILES variable).
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@51c0844e
[DISTRO] Set list of image artefact file extensions.
Added clea-os-distro.bbclass file. This one contains all the distro scope settings and it is included inside the basic disto file for Clea OS.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@279ba9be
[RAMFS] Image inherits from core-Image
Changed base image class: from "core" to "core-image". Set also IMAGE_FSTYPES which, at the time, works only on ARM architecture.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@ea5f4fb8
[RAMFS] Add ramfs.img link as outcome of the build
Now the build of the ramfs image has also the ramfs.img link as outcome. This will be installed inside the wic image and the land where it will be placed depends by the type of the wic image will be used (standard image, IoT image with double slot, ecc...). This link is useful becouse doesn't have any time references and can be directly used for the wic build task.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@3a08249d
[RAMFS] Add basic support to Clea OS RAMFS
This is an image used inside a ramfs image file. This is mounted by the kernel and used to perform classic tasks before jumping into the actual rootfs partition. The related bbclass file also stores all the functionality of this image at a high level, as a result of compiling the bb image file.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@9d24b809
[RAMFS][INIT] Add init script to use in Clea OS ramfs
Today, the only task performed to init script is to mount the right rootfs partition and jump into it. In the next commits new tasks will be added:
- fs check;
- partition expansion;
- managing.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@b0d98880
[IMAGE][CLEA-OS] Add basic support to Clea OS image
Minimal image that inherits from core-image. The .inc file is used to extend the image feature with out custom class clea-os-mage.bbclass. Today this class is empty but will be populated in the nearly future. A generic include file has been used, instead of applying the inner code directly inside the bb file, to give the possibility to create another image recipe from scratch and in the same time inherit the clea-os image feature.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@f61ac9de
[YCONFIG] Add compatibility to clea-os-fb distro with NXP machine
To OS-DISTRO_DISTRO_clea-os-fb, added HW_IMX to part dependents to the hw type.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@53c8253f
[YCONFIG] Renamed cluster CONFIG_CLEAOS with CONFIG_FLAVOUR
Renamed the cluster with a more meaningful name.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@d64e8e00
[YCONFIG] Renamed cluster CONFIG_DISTRO with CONFIG_OS-DISTRO
Renamed the cluster to remove redundancy in the string.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@3ea0d118
[YCONFIG][QEMU] Make clea-os-fb distro available for QEMU
Let the distribution clea-os-fb
be selectable for QEMU emulators.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@57dd85e1
[YCONFIG][RASPBERRY] Make clea-os-fb distro available for Raspberry Pi
Let the distribution clea-os-fb
be selectable for Raspberry Pi boards.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@b9f6eb25
[YCONFIG][ROCKCHIP] Make clea-os-fb distro available for Rockchip boards
Let the distribution clea-os-fb
be selectable for Rockchip boards.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@8077909d
[YCONFIG][INTEL] Make clea-os-fb distro available for Intel boards
Let the distribution clea-os-fb
be selectable for Intel boards.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@1710bef5
[YCONFIG] Add Yconfig with distro information
Add Yconfig following the syntax required by the new build configurator.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@5c0147ab
[BBLAYERS] Use layer relative path referred to ${BSPDIR}
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0691cf7d
[DISTRO][FIX] Resolve typo coming from rebranding
Fixed with "Clea OS".
--
Commit: clea-os/layers/seco/meta-seco-clea-os@7c757783
[LAYER][FIX] Fix all occurrences of seco-clea-os in layer.conf
Removed double '-' in "seco-clea-os"
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@5d7d0e4b
[DISTRO][ADD] Add Clea OS framebuffer distro
clea-os-fb is the distro where no any DE is provided (both X11 and Wayland missing).
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@c920bcb5
[DISTRO][ADD] Add generic base for all Clea OS distros
clea-os-base.inc is the basic file to include inside each distro conf file managed by Clea OS. In fact, it contains all features common among all distro Clea OS provides.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@a7dc6221
[DOC][FIX] Fix layer name in README.md file
Removed double '-' in "meta-seco-clea-os"
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-clea-os@0ed2cfaa
[STRUCTURE][LAYER][ADD] Create mata-layer with basic content
- Licence file LICENSE.txt
- Documentation file README.md docs/assets/clea_os_logo.png
- layer configuration conf/layer.conf conf/bblayers.conf
Note: conf/bblayers.conf file is not yet useful becouse used by internal tool for the Clea OS project configuration. This file will contains the list of layer to include because they are in support of the same (as depencency list). Is currently the layer itself.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com