Skip to content

bitbake: Merge latest upstream#58

Open
Shreejit-03 wants to merge 5 commits into
ni:nilrt/master/scarthgapfrom
Shreejit-03:dev/automerge/ni_current
Open

bitbake: Merge latest upstream#58
Shreejit-03 wants to merge 5 commits into
ni:nilrt/master/scarthgapfrom
Shreejit-03:dev/automerge/ni_current

Conversation

@Shreejit-03

@Shreejit-03 Shreejit-03 commented Jul 16, 2026

Copy link
Copy Markdown

Merge latest from upstream. No conflicts.

Justification

AB#3918183.

Testing

  • Built pyrex container
  • bitbake packagefeed-ni-core
  • bitbake packagegroup-ni-desirable
  • bitbake package-index && bitbake nilrt-base-system-image
  • Installed BSI on a NI-PXIe-8821-03141BCA and verified it boots successfully
    @ni/rtos

rossburton and others added 5 commits June 12, 2026 11:39
urllib2.HTTPRedirectHandler.redirect_request doesn't handle HTTP reponse
code 308 (Permanent Redirect). This was fixed in c379bc5 but can't be
worked around without copying the entire redirect_request() method.

When we can depend on Python 3.13, FixedHTTPRedirectHandler can be
removed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
(cherry picked from commit 365829a)
Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr>
FixedHTTPRedirectHandler copies request headers when checkstatus()
follows a redirect, including Authorization from SRC_URI or .netrc.

Keep same-origin redirects unchanged, but drop Authorization and Cookie
for different-origin targets (scheme, host and effective port), following
RFC 9110 redirect guidance for resource-specific headers. This only
affects the Python checkstatus() path; normal wget downloads are
unchanged.

Signed-off-by: Anders Heimer <anders.heimer@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1019d5a)
Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr>
Add local HTTP server tests for Wget.checkstatus() redirects. They check
that Authorization is kept for same-origin redirects and dropped when the
target has a different origin.

Signed-off-by: Anders Heimer <anders.heimer@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c687d42)
Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr>
This patch fixes an issue when checking if a varflag
can be safely excluded.

BB_SIGNATURE_EXCLUDE_FLAGS lists variable flags that
can be safely excluded from checksum and dependency
data for keys in the datastore.

When bitbake checks if a varflag must be excluded it
checks if the varflag name is part of the string stored
in BB_SIGNATURE_EXCLUDE_FLAGS.

As an example, if the varflag 'filename' is in
BB_SIGNATURE_EXCLUDE_FLAGS, the varflag 'name'
will also be excluded because the check will return 'True'
when checking if the varflag is part of the string with
the varflags to exclude.

To fix this issue the string from BB_SIGNATURE_EXCLUDE_FLAGS
is converted to a list before checking if a varflag is part of it.

Signed-off-by: Marcio Henriques <marcio.henriques@ctw.bmwgroup.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ab71d0)
Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: rfmibuild <NIBuildFarmSupport@ni.com>
@shubhanshumt26
shubhanshumt26 requested a review from a team July 16, 2026 06:30

@usercw88 usercw88 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@Shreejit-03 The Merge latest upstream is signed by the rfmibuild. Can you update the commit message to be signed by yourself

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.

5 participants