aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-05-03Merge pull request #167 from hashraf91/SB-23397kirkstoneNoor-Ahsan
flex-checkout: make it compatible with dash
2024-05-03flex-checkout: make it compatible with dashHaseeb Ashraf
This script should be compatible with bash as well as dash. SB-23397 Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
2024-04-22Merge pull request #164 from hashraf91/SB-23356Noor-Ahsan
setup-checkout: fix bug in showing latest manifest version of each BSPs
2024-04-22setup-checkout: fix bug in showing latest manifest version of each BSPsHaseeb Ashraf
This is in continuation of commit 84d62b4a073300fb225665d9af04675dcfcd7e8e This handles the case where there could be multiple versions of multiple BSPs installed. This will show the latest version of each BSP. Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
2024-04-22Merge pull request #163 from hashraf91/SB-23356Noor-Ahsan
setup-checkout: fix bug in showing only the latest version of manifest
2024-04-22setup-checkout: fix bug in showing only the latest version of manifestHaseeb Ashraf
The implementation was original written assuming that the release version will be of the type <product>-<version>-<machine> where the product name will not have any dash (-) character. Since we are using either sokol-flex or flex-os, the implementation needs to be updated. Updated the implementation to first use sed to replace the string `-<version>-` into `\t<version>\t`. Then sorted on basis of version and then brought back dashes (-). NOTE: The updated implementation assumes that the version will conform to semantic versioning format i.e. `[0-9]+.[0-9]+.[0-9]+`. If this changes in future, the implementation needs to be updated accordingly. JIRA-ID: SB-23356 Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
2024-04-02Merge pull request #161 from hashraf91/fix-commentNoor-Ahsan
local.conf.sample: elaborate TCMODE:sokol-flex comment
2024-04-01local.conf.sample: elaborate TCMODE:sokol-flex commentHaseeb Ashraf
JIRA: SB-23194 Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
2024-03-18Merge pull request #159 from jainash/SB-23264Noor-Ahsan
setup-rh: Make combined script for both RHEL and Rocky host and update accordingly
2024-03-18setup-rh: Make combined script for both RHEL and Rocky host and update ↵Ashish Jain
accordingly Enabling required repo's to get install rpcgen package And due to lower make and python version we are unable to make build succesful so installing required version and creating symbolic link JIRA ID: SB-23264 We were facing following issues so through this script we have resolved these issues. 1) Due to lower make version so we get following error during bitbake. ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: make version 4.2.1 is known to have issues on Centos/OpenSUSE and other non-Ubuntu systems. Please use a buildtools-make-tarball or a newer version of make. 2) We get following warning due to lower python version. /usr/lib64/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__ return f(*args, **kwds) Signed-off-by: Ashish Jain <Ashish_Jain2@mentor.com>
2024-02-06Merge pull request #158 from tammerOfTheGods/kirkstoneNoor-Ahsan
README.md: Reword README for accuracy
2024-02-02Reword README and remove flex-private referencetammerOfTheGods
Signed-off-by: Thomas Brown <ThomasBrown@Siemens.com> Fixes: https://jira.alm.mentorg.com/browse/SB-23040
2023-12-20Merge pull request #154 from pragow0k/hycon_yocto-layer-updateNoor-Ahsan
sokol-flex-staging: Revert "lttng-ust: upgrade from 2.13.5 to 2.13.6"
2023-12-20Revert "lttng-ust: upgrade from 2.13.5 to 2.13.6"Prajwal
This reverts commit 2bbf307a48dd05807ac0894ead86ed8f2e9b9863. After layer update (Yocto 4.0.14) lttng-ust is upgraded to 2.13.6 Ref: Removed fix was necessary to fix a tracing issue where source lookup for custom trace points was not working. (w.r.t JIRA: SA-5426) JIRA: SB-22987
2023-10-21Merge pull request #151 from kergoth/SB-22858Noor-Ahsan
lttng-tools: fix non-multilib failure
2023-10-19lttng-tools: fix non-multilib failureChristopher Larson
As was diagnosed by Arslan Ahmad (great work, Arslan!), the configure script was unconditionally defining the variables for consumerd, but this resulted in a value of the empty string, not NULL, and the code only checked for non-NULL. Only set the variables used if they're not the empty string. JIRA: SB-22858 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-10-04Merge pull request #149 from tarmeh2r/kirkstoneNoor-Ahsan
openssl: quiet multilib QA warning about suspicious value
2023-10-04Merge pull request #148 from kergoth/SA-5427Noor-Ahsan
Fix lttng-tools multilib issues
2023-10-03openssl: quiet multilib QA warning about suspicious valueTariq Mehmood
Ignore the do_package_qa_multilib check to suppress this warning: WARNING: lib32-openssl-3.0.9-r0 do_package: QA Issue: lib32-openssl package lib32-openssl - suspicious values 'cryptodev-module' in RRECOMMENDS [multilib] The do_package_qa_multilib PACKAGE FUNC does not obey INSANE_SKIP so we modify it directly. In the long term, we should also consider fixing the upstream class to obey INSANE_SKIP properly. JIRA: SB-22762 Signed-off-by: Tariq Mehmood <tariq.mehmood.ext@siemens.com>
2023-10-02Merge pull request #146 from kergoth/SB-22247Noor-Ahsan
weston-init: set WAYLAND_DISPLAY in the default shell profile
2023-10-02lttng-tools: properly operate based on staging featureChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-10-02lttng-tools: only pass needed consumerd argsChristopher Larson
There's no need to override the defaults, only pass the arguments referring to the other variants. JIRA: SA-5427 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-10-02sokol-flex: only install the consumerd/lttng-ctl from multilibsChristopher Larson
We don't want or need the lttng-sessiond binary to be replaced by the 32-bit version, so only install the 32-bit components we need. JIRA: SA-5427 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-10-02lttng-tools: split out the per-multilib component packagesChristopher Larson
We need to be able to install the 32-bit consumerd on a 64-bit platform when in a multilib environment, and we should make the lttng-ctl library available as well. JIRA: SA-5427 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-10-02lttng-tools: use the consumerd argumentsChristopher Larson
Currently, the --with-consumerd32-bin, --with-consumerd32-libdir, etc arguments are not being used by lttng-sessiond, which causes problems with providing a well configured multilib tracing environment. Ensure that they are used as the default values in sessiond. JIRA: SA-5427 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-25Merge pull request #147 from kergoth/SA-5426Noor-Ahsan
lttng-ust: upgrade from 2.13.5 to 2.13.6
2023-09-25lttng-ust: upgrade from 2.13.5 to 2.13.6Christopher Larson
This is necessary to fix a tracing issue where source lookup is disabled because the"ip" context information is missing. JIRA: SA-5426 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-22weston-init: set WAYLAND_DISPLAY in the default shell profileChristopher Larson
Set WAYLAND_DISPLAY by default for console or ssh users so they are able to run wayland programs more easily. This fixes the ability to run programs over ssh for Qt Creator, for example. JIRA: SB-22247 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-19Merge pull request #144 from ahsanhussain/kirkstoneNoor-Ahsan
sokol-flex.conf: replace connman with systemd-networkd
2023-09-18Merge pull request #145 from kergoth/SB-22595Noor-Ahsan
Disable tty1 login for BSPs that choose to do so
2023-09-14flex-image.inc: disable tty1 login for BSPs that choose to do soChristopher Larson
BSPs that want it disabled may add disable-tty1-login to their MACHINE_FEATURES, which will result in its addition to IMAGE_FEATURES for flex images, which will disable the login. JIRA: SB-22595 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-14rootfs-disable-tty1-login.bbclass: add classChristopher Larson
Disable the login on tty1 if the 'disable-tty1-login' image feature is set. JIRA: SB-22595 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-13sokol-flex.conf: replace connman with systemd-networkdAhsan Hussain
Change our default network manager as Systemd works well enough for our advertised use-cases and it is well-documented by the community. Similarly for DNS resolution we can use systemd-resolved instead of Avahi. Jira-ID: SB-22665 Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2023-09-13connman: remove non-functional patch from the staging layerAhsan Hussain
This patch applies but is non-functional on our recent BSPs because the network interfaces are dynamically named and managed JIRA-ID: SB-22665 Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2023-09-11Merge pull request #143 from kergoth/SB-22623Noor-Ahsan
lttng-tools: fix error when multilibs isn't enabled
2023-09-11lttng-tools: fix error when multilibs isn't enabledChristopher Larson
Fixes a python traceback and AttributeError when `MULTILIBS` is None: __anon_22__var_jenkins_workspace_mel_ginkgo_async1_main_incremental_buildtype_mel_label_flex_u22_machine_imx8mpevk_flex_repotop_meta_sokol_flex_meta_sokol_flex_staging_recipes_kernel_lttng_lttng_tools___bbappend 0001:python () { *** 0002: if not d.getVar('MULTILIBS').strip(): 0003: return 0004: 0005: variants = (d.getVar("MULTILIB_VARIANTS") or "").split() 0006: if 'lib32' in variants: Exception: AttributeError: 'NoneType' object has no attribute 'strip' JIRA: SB-22623 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-08Merge pull request #142 from kergoth/SB-22623Noor-Ahsan
Multilib fixes for lttng-tools
2023-09-07Merge pull request #141 from tarmeh2r/SB-22425Noor-Ahsan
flex_utils/dump_licenses: add check for file existence
2023-09-06sokol-flex: include multilib versions of lttng-toolsChristopher Larson
In order to provide both 32 and 64 bit consumerd binaries, we need to install all the multilib versions of lttng-tools, not just lttng-ust. JIRA: SB-22623, SB-22565 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-06lttng-tools: configure paths to 64 and 32 bit consumerdChristopher Larson
This is necessary to fix tracing of 32-bit binaries on a 64-bit host with multilib, or vice versa. JIRA: SB-22623, SB-22565 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-06flex_utils/dump_licenses: add check for file existenceTariq Mehmood
We get FileNotFoundError with 'r' mode if we make the first call to the function with --append. We have such a use case in jenkins_mel script when we call build_graph() first for the external toolchain and then again for the internal toolchain. Therefore, before reading the file, check if it exists otherwise simply go to the next block where a write operation is performed. JIRA: SB-22425 Signed-off-by: Tariq Mehmood <tariq.mehmood.ext@siemens.com>
2023-09-01Merge pull request #138 from tarmeh2r/SB-22425Noor-Ahsan
flex_utils.py/dump-licenses: add source name
2023-09-01Merge pull request #140 from kergoth/SB-22571Noor-Ahsan
sokol-flex: add libxcrypt to the multilib runtime packages
2023-08-31flex_utils.py/dump-licenses: replace PN with BPNTariq Mehmood
Add source name to package lists for SVM monitoring list automation by using BPN instead of PN. The PN variable can not serve this purpose because in many cases it contains redundant suffixes and prefixes in context of monitoring list, for example, -native, -cross, lib32-, and nativesdk-. So, BPN gives us the base package name which is as close to source name as possible in most cases and it also removes duplications in the final generated pn-buildlist-licenses.txt. We would need a separate script on top of this change and maintain a database which will map our BPN to the exact source name in SVM wherever a discrepancy may arrive. JIRA: SB-22425 Signed-off-by: Tariq Mehmood <tariq.mehmood.ext@siemens.com>
2023-08-30flex_utils.py/dump-licenses: rework file operationsTariq Mehmood
Current implementation is opening the file at 3 differenct locations but the same results can be achieved if we create an empty set and perform all the operations on it and then write it to the file only once. However, if append flag is set then a read operation is required prior to writing to the file to remove duplicates. JIRA: SB-22425 Signed-off-by: Tariq Mehmood <tariq.mehmood.ext@siemens.com>
2023-08-28Merge pull request #139 from kergoth/SB-22565Noor-Ahsan
Include multilib library paths in ld.so configuration
2023-08-28sokol-flex: add libxcrypt to the multilib runtime packagesChristopher Larson
This is expected to already be installed by Sourcery Analyzer. JIRA: SB-22571 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-08-25sokol-flex: install ldso-config for all multilibs and base configChristopher Larson
JIRA: SB-22565 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-08-25ldso-config: add recipeChristopher Larson
This recipe provides a ld.so configuration file for the current tuning library paths, to ensure that all the library paths are available to ldconfig, even for the multilib configurations. JIRA: SB-22565 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-08-24Merge pull request #135 from kergoth/SB-22426Noor-Ahsan
qt6: sdk: rewrite cmake toolchain file without environment variables