aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-09-29build-setup-environment.in: if pyrex is in FLEXDIR, use itpyrex-supportChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-09-29setup-flex-builddir: if pyrex is in FLEXDIR, generate a pyrex.iniChristopher Larson
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-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
2023-08-24Merge pull request #137 from Noor-Ahsan/kirkstoneNoor-Ahsan
rust-crosssdk: Fix: issue when COPYLEFT_LICENSE_INCLUDE is set to *
2023-08-23rust-crosssdk: Fix: issue when COPYLEFT_LICENSE_INCLUDE is set to *Noor Ahsan
* 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>
2023-08-15Merge pull request #134 from kergoth/SB-22545Noor-Ahsan
flex-checkout: re-prompt if .manifest is a zero-byte file
2023-08-11qt6: sdk: rewrite cmake toolchain file without environment variablesChristopher Larson
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>
2023-08-11populate_sdk_qt6_base.bbclass: add from f52e491cd9Christopher Larson
JIRA: SB-22426 Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-08-10flex-checkout: re-prompt if .manifest is a zero-byte fileChristopher Larson
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>
2023-08-04Merge pull request #133 from kergoth/SB-22499Noor-Ahsan
sokol-flex: fix getvar call which broke sdk builds
2023-08-04sokol-flex: fix getvar call which broke sdk buildsChristopher Larson
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>
2023-07-31Merge pull request #132 from kergoth/SB-22377Noor-Ahsan
sokol-flex: add multilib prefix to SDK title and identifier
2023-07-31Merge pull request #131 from aarslan7/SB-22332Noor-Ahsan
scripts:setup-env: set LC_CTYPE for bitbake
2023-07-28sokol-flex: use right override for SDK_TITLE for sdk-extChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2023-07-28sokol-flex: add multilib prefix to SDK title and identifierChristopher Larson
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>
2023-07-18scripts:setup-env: set LC_CTYPE for bitbakeArslan Ahmad
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>
2023-07-13Merge pull request #130 from tarmeh2r/SB-22371Noor-Ahsan
sokol-flex-distro: layer.conf: add virtualization feature override
2023-07-12sokol-flex-distro: layer.conf: add virtualization feature overrideTariq Mehmood
JIRA: SB-22371 Signed-off-by: Tariq Mehmood <tariq_mehmood@mentor.com>
2023-07-04Merge pull request #129 from vj-kumar/vijai/fix-black-barNoor-Ahsan
psplash: disable startup message
2023-07-04psplash: disable startup messageVijai Kumar K
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>
2023-06-13Merge pull request #125 from tarmeh2r/SB-21059Noor-Ahsan
busybox: enable base64 utility
2023-06-13Merge pull request #127 from akif-tariq/SB-21051Noor-Ahsan
curl: remove ssl from packageconfig
2023-06-09curl: remove ssl from packageconfigAkif Tariq
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>
2023-06-05busybox: enable base64 utilityTariq Mehmood
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>
2023-05-29Merge pull request #124 from kergoth/SB-22139Noor-Ahsan
Remove win_sdk_cull.bbclass
2023-05-24win_sdk_cull.bbclass: removeChristopher Larson
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>
2023-05-24sokol-flex: do not inherit win_sdk_cull.bbclassChristopher Larson
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>