Age | Commit message (Collapse) | Author |
|
flex-checkout: make it compatible with dash
|
|
This script should be compatible with bash as well as dash.
SB-23397
Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
|
|
setup-checkout: fix bug in showing latest manifest version of each BSPs
|
|
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>
|
|
setup-checkout: fix bug in showing only the latest version of manifest
|
|
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>
|
|
local.conf.sample: elaborate TCMODE:sokol-flex comment
|
|
JIRA: SB-23194
Signed-off-by: Haseeb Ashraf <haseeb_ashraf@mentor.com>
|
|
setup-rh: Make combined script for both RHEL and Rocky host and update accordingly
|
|
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>
|
|
README.md: Reword README for accuracy
|
|
Signed-off-by: Thomas Brown <ThomasBrown@Siemens.com>
Fixes: https://jira.alm.mentorg.com/browse/SB-23040
|
|
sokol-flex-staging: Revert "lttng-ust: upgrade from 2.13.5 to 2.13.6"
|
|
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
|
|
lttng-tools: fix non-multilib failure
|
|
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>
|
|
openssl: quiet multilib QA warning about suspicious value
|
|
Fix lttng-tools multilib issues
|
|
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>
|
|
weston-init: set WAYLAND_DISPLAY in the default shell profile
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
lttng-ust: upgrade from 2.13.5 to 2.13.6
|
|
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>
|
|
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>
|
|
sokol-flex.conf: replace connman with systemd-networkd
|
|
Disable tty1 login for BSPs that choose to do so
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
lttng-tools: fix error when multilibs isn't enabled
|
|
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>
|
|
Multilib fixes for lttng-tools
|
|
flex_utils/dump_licenses: add check for file existence
|
|
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>
|
|
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>
|
|
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>
|
|
flex_utils.py/dump-licenses: add source name
|
|
sokol-flex: add libxcrypt to the multilib runtime packages
|
|
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>
|
|
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>
|
|
Include multilib library paths in ld.so configuration
|
|
This is expected to already be installed by Sourcery Analyzer.
JIRA: SB-22571
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
JIRA: SB-22565
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
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>
|
|
qt6: sdk: rewrite cmake toolchain file without environment variables
|