Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sokol-flex: gather info to diagnose licensing network issues #107

Open
wants to merge 2 commits into
base: kirkstone
Choose a base branch
from

Conversation

kergoth
Copy link
Member

@kergoth kergoth commented Mar 7, 2023

  • Add the value of SOURCERY_LICENSE_NETWORK_TASKS to the Build
    Configuration header at the start of a bitbake build.
  • Add debug messages to task logs with the value of the task's network
    flag before running the task.

Example addition to Build Configuration header:

SOURCERY_LICENSE_NETWORK_TASKS = "    do_configure     do_compile     do_compile_kernelmodules     do_install     do_bundle_initramfs     do_configure_ptest     do_compile_ptest     do_install_ptest "

Example addition to a task log file:

DEBUG: glibc-2.35-r0 do_configure: Environment: do_configure[network]="1"

JIRA: SB-21627

This class logs the values of specified variables when starting tasks as
debug messages.

JIRA: SB-21627

Signed-off-by: Christopher Larson <[email protected]>
- Add the value of SOURCERY_LICENSE_NETWORK_TASKS to the Build
  Configuration header at the start of a bitbake build.
- Add debug messages to task logs with the value of the task's `network`
  flag before running the task.

Example addition to Build Configuration header:

    SOURCERY_LICENSE_NETWORK_TASKS = "    do_configure     do_compile     do_compile_kernelmodules     do_install     do_bundle_initramfs     do_configure_ptest     do_compile_ptest     do_install_ptest "

Example addition to a task log file:

    DEBUG: glibc-2.35-r0 do_configure: Environment: do_configure[network]="1"

JIRA: SB-21627

Signed-off-by: Christopher Larson <[email protected]>
@@ -0,0 +1,28 @@
# ---------------------------------------------------------------------------------------------------------------------
# SPDX-License-Identifier: MIT

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just for my knowledge, why its with MIT license?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this public layer and meta data comes under MIT license for yocto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants