Age | Commit message (Collapse) | Author |
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
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>
|
|
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
|
|
rust-crosssdk: Fix: issue when COPYLEFT_LICENSE_INCLUDE is set to *
|
|
* When COPYLEFT_LICENSE_INCLUDE is set to * and we try to archive
for sources with all feature added. We get the following error
ERROR: Nothing PROVIDES 'rust-crosssdk-armv8a-glibc'
rust-crosssdk-armv8a-glibc was skipped: We can't extend nativesdk recipes Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> NOTE: Runtime target 'nativesdk-python3-ndg-httpsclient'
is unbuildable, removing... Missing or unbuildable dependency chain was: ['nativesdk-python3-ndg-httpsclient', 'nativesdk-python3-pyopenssl', 'nativesdk-python3-cryptography',
'virtual/nativesdk-x86_64-oesdk-linux-rust', 'rust-crosssdk-armv8a-glibc']# Please enter the commit message for your changes. Lines starting NOTE: Runtime target
'nativesdk-python3-requests' is unbuildable, removing...# with '#' will be ignored, and an empty message aborts the commit. Missing or unbuildable dependency chain was:
['nativesdk-python3-requests', 'nativesdk-python3-ndg-httpsclient', 'nativesdk-python3-pyopenssl', 'nativesdk-python3-cryptography', 'virtual/nativesdk-x86_64-oesdk-linux-rust',
'rust-crosssdk-armv8a-glibc']# NOTE: Runtime target 'nativesdk-qtinterfaceframework-dev' is unbuildable, removing...# HEAD detached at 74b8142f Missing or unbuildable dependency
chain was: ['nativesdk-qtinterfaceframework-dev', 'nativesdk-python3-qface', 'nativesdk-python3-watchdog', 'nativesdk-python3-requests', 'nativesdk-python3-ndg-httpsclient',
'nativesdk-python3-pyopenssl', 'nativesdk-python3-cryptography', 'virtual/nativesdk-x86_64-oesdk-linux-rust', 'rust-crosssdk-armv8a-glibc']# Changes to be committed: NOTE: Runtime
target 'nativesdk-packagegroup-qt6-toolchain-host' is unbuildable, removing...# new file: meta-sokol-flex-staging/recipes-devtools/rust/rust-crosssdk_1.59.0.bbappend Missing or
unbuildable dependency chain was: ['nativesdk-packagegroup-qt6-toolchain-host', 'nativesdk-qtinterfaceframework-dev', 'nativesdk-python3-qface', 'nativesdk-python3-watchdog',
'nativesdk-python3-requests', 'nativesdk-python3-ndg-httpsclient', 'nativesdk-python3-pyopenssl', 'nativesdk-python3-cryptography', 'virtual/nativesdk-x86_64-oesdk-linux-rust',
'rust-crosssdk-armv8a-glibc']# ERROR: Required build target 'development-image' has no buildable providers.# Untracked files:
Missing or unbuildable dependency chain was: ['development-image', 'buildtools-tarball', 'nativesdk-packagegroup-qt6-toolchain-host', 'nativesdk-qtinterfaceframework-dev',
'nativesdk-python3-qface', 'nativesdk-python3-watchdog', 'nativesdk-python3-requests', 'nativesdk-python3-ndg-httpsclient', 'nativesdk-python3-pyopenssl',
'nativesdk-python3-cryptography', 'virtual/nativesdk-x86_64-oesdk-linux-rust', 'rust-crosssdk-armv8a-glibc']
TUNE_PKGARCH in its PN. crosssdk.bbclass sets TUNE_PKGARCH to SDK_ARCH in an
anonymous python function. I think the fact that there's a delay before it gets
changed causes issues due to PN changing too, especially when combined with
other classes that also use anonymous python functions, like archiver. Changing
it to directly use SDK_ARCH gets past the issue
Set PN as follows
PN:feature-sokol-flex-staging = "rust-crosssdk-${SDK_ARCH}-${RUST_LIBC}"
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Noor Ahsan <noor_ashan@mentor.com>
|
|
flex-checkout: re-prompt if .manifest is a zero-byte file
|
|
Cherry-pick 5cbac6cf356b94db8dbadbc7b3b9149b6374ef72 from meta-qt6 to
fix populate_sdk failure due to libdir mismatch between nativesdk and
target.
JIRA: SB-22426
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
JIRA: SB-22426
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
This occurs if the manifest prompt is interrupted (ex. ^C). By checking
to see if the file exists and is non-empty when determining whether to
prompt, we can avoid this error:
sed: can't read .info: No such file or directory
JIRA: SB-22545
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
sokol-flex: fix getvar call which broke sdk builds
|
|
There was a typo: getvar instead of getVar, which causes the do_populate_sdk
task to fail when these variables are used in our postprocessing functions.
JIRA: SB-22499
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
sokol-flex: add multilib prefix to SDK title and identifier
|
|
scripts:setup-env: set LC_CTYPE for bitbake
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
This ensures that these values in the environment-setup files differ
between the base and multilib configurations.
JIRA: SB-22377
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
With the recent bitbake update, it is utilizing locale.getlocale() and
locale.setlocale() from the python locales module. This module has a
limitation when the host doesn't have the encoding defined, so e.g. if
we have:
$ locale
...
LC_CTYPE="en_IN"
...
it will not pick the correct encoding:
$ python3
Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getlocale()
('en_IN', 'ISO8859-1')
and it will fail:
>>> default_locale = locale.getlocale(locale.LC_CTYPE)
>>> print(default_locale)
('en_IN', 'ISO8859-1')
>>> locale.setlocale(locale.LC_CTYPE, default_locale)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/locale.py", line 620, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
By setting the locale using LC_CTYPE="en_US.UTF-8", this issue is
resolved for bitbake.
JIRA-ID: SB-22332
Signed-off-by: Arslan Ahmad <arslan_ahmad@mentor.com>
|
|
sokol-flex-distro: layer.conf: add virtualization feature override
|
|
JIRA: SB-22371
Signed-off-by: Tariq Mehmood <tariq_mehmood@mentor.com>
|
|
psplash: disable startup message
|
|
By default startup message is enabled. This draws a stripe close to the
bottom of the screen with the background color specified(currently black).
This might not be visible in some cases, where the image is centered and
the remaining area is filled with the background color.
Disable startup message to avoid the black rectangle displayed over the
psplash image.
Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@siemens.com>
|
|
busybox: enable base64 utility
|
|
curl: remove ssl from packageconfig
|
|
we need to remove ssl from PACKAGECONFIG to avoid the
invalid-packageconfig warning. ssl has been deprecated
upstream.
Reference: https://github.com/openembedded/openembedded-core/commit/eef6c45fc6ec0a496791123e8ba2f400a5d9d468
JIRA-ID: SB-21051
Signed-off-by: Akif Tariq <akif.tariq@siemens.com>
|
|
Qt creator IDE checks target connectivity and presence of some utilities
on the target rootfs to perform device test. The test fails if base64
utility is not found. To address this, enable base64 utility by default
for our distro using CONFIG_BASE64 config fragment.
JIRA-ID: SB-21059
Signed-off-by: Tariq Mehmood <tariq_mehmood@mentor.com>
|
|
Remove win_sdk_cull.bbclass
|
|
Sokol Flex OS no longer builds Windows SDK/ADE, so this is no longer
necessary for us.
JIRA: SB-22139
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Sokol Flex OS no longer builds Windows SDK/ADE, so this is no longer
necessary for us.
JIRA: SB-22139
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|