Bitbake: Merge latest upstream - #61
Open
Shreejit-03 wants to merge 3 commits into
Open
Conversation
When the "readme_extra" string was introduced, we dropped a newline in the "readme" multiline string. In a Python multiline string, this counts and therefore we dropped the newline at the end of the README unless readme_extra is not empty (i.e.: unless the VS Code string is included which includes a newline). Put the newline back into the readme string and edit the VS Code extra string accordingly. Fixes: 92fd721 ("bitbake-setup: generate config files for VSCode") Signed-off-by: Ernest Van Hoecke <[email protected]> Signed-off-by: Mathieu Dubois-Briand <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 7e6466f) Signed-off-by: Yoann Congal <[email protected]>
We're seeing cases where we see tracebacks when creating directories in SSTATE_DIR on an NFS server. The issue is that we see EEXISTS being returned but isdir() is False, likely when multiple clients try and create the same directory at the same time. This is likely a relatively well known issue with NFS's attribute cache. There is also a way to clear the attribute cache, which is to call opendir() on the parent directory. That is what this workaround does. In the rare case we're about to fail, try that using os.listdir() and see if it helps. Testing showed that it would "fix" several cases where we'd have had failures otherwise. [YOCTO #16351] Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 3a99c26) Signed-off-by: Yoann Congal <[email protected]>
…e-setup bitbake-setup is now available on Pypi[1], so let's use it instead of a clone of bitbake to use the CLI tool. Refresh commands in consequence. Keep git clone instructions in a note as an alternative way of setting things up, and mention how to update it if needed. [1]: https://pypi.org/project/bitbake-setup/ (cherry picked from commit 414646d) Signed-off-by: Antonin Godard <[email protected]> Signed-off-by: Mathieu Dubois-Briand <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Signed-off-by: Antonin Godard <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge latest from upstream.
Justification
AB#3918192.
Testing
@ni/rtos