Skip to content

Shell compatibility for barton-matter - #53

Merged
cleithner-comcast merged 3 commits into
developfrom
cleith/dev/shellCompatible
Jun 3, 2026
Merged

Shell compatibility for barton-matter#53
cleithner-comcast merged 3 commits into
developfrom
cleith/dev/shellCompatible

Conversation

@cleithner-comcast

Copy link
Copy Markdown
Contributor

Barton-matter heavily depends on bash syntax, but yocto will just invoke sh for shell scripts. This could be non-bash shells. This commit attempts to make barton-matter more compatibile with non-bash shells.

Barton-matter heavily depends on bash syntax, but yocto will
just invoke `sh` for shell scripts. This could be non-bash
shells. This commit attempts to make barton-matter more
compatibile with non-bash shells.

Change-Id: Idbda24886b5709c066a358b13e54d98a0c419b46
Copilot AI review requested due to automatic review settings June 3, 2026 14:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to make the barton-matter Yocto recipe more compatible with non-bash /bin/sh execution by avoiding direct source of bash-only environment scripts and instead running them in a bash subprocess while importing resulting environment changes back into the task shell.

Changes:

  • Bumped the recipe revision (PR) from r0 to r1.
  • Added a _matter_source_bash_env() helper to source bash-only scripts under bash and propagate environment variable changes.
  • Switched do_configure:prepend() and do_compile:prepend() from source ./scripts/*.sh to _matter_source_bash_env ./scripts/*.sh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread recipes-matter/barton-matter/barton-matter_1.5.1.0.bb Outdated
kfundecmcsa
kfundecmcsa previously approved these changes Jun 3, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread recipes-matter/barton-matter/barton-matter_1.5.1.0.bb
tleacmcsa
tleacmcsa previously approved these changes Jun 3, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread recipes-matter/barton-matter/barton-matter_1.5.1.0.bb
@cleithner-comcast
cleithner-comcast merged commit 7032bc7 into develop Jun 3, 2026
5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants