Skip to content

STBT-56052: Remove setscene support from staging-ipk-pkgs - #108

Open
thellef wants to merge 1 commit into
developfrom
topic/no-setscene
Open

STBT-56052: Remove setscene support from staging-ipk-pkgs#108
thellef wants to merge 1 commit into
developfrom
topic/no-setscene

Conversation

@thellef

@thellef thellef commented Dec 9, 2025

Copy link
Copy Markdown

The setscene function has caused many build problems because it can never invalidate the cached IPK packages, so we can never get new dependencies downloaded or installed.
By not having the setscene function we can update dependencies.

@thellef thellef self-assigned this Dec 9, 2025
@thellef
thellef requested a review from a team as a code owner December 9, 2025 15:47
Copilot AI review requested due to automatic review settings December 9, 2025 15:47

Copilot AI 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.

Pull request overview

This PR removes setscene support from the staging-ipk-pkgs recipe and its associated staging-ipk bbclass to address build problems caused by cached IPK packages that could not be invalidated, preventing dependency updates. By eliminating the setscene function, the build system will always execute the task normally, allowing for proper dependency updates.

  • Increments the PR variable in staging-ipk-pkgs.bb to force recipe rebuild
  • Removes the do_populate_ipk_sysroot_setscene Python function that invoked shared state caching
  • Adds a new do_ipk_sysroot_clean shell task to clean IPK directories during the clean phase

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
recipes-core/staging-ipk-pkgs.bb Increments PR to "r1" to force rebuild after removing setscene support
classes/staging-ipk.bbclass Replaces the setscene function with a clean task that removes IPK staging directories before the clean phase

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

The setscene function has caused many build problems because it can
never invalidate the cached IPK packages, so we can never get new
dependencies downloaded or installed.
By not having the setscene function we can update dependencies.

Change-Id: Ic7c9e2f913fc4f23b3706c77635dd8fb696d0820
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.

2 participants