Skip to content

balena-bootloader.bbclass: Move common bits from devices to class#3870

Draft
mtoman wants to merge 1 commit into
masterfrom
mtoman/extend-bootloader
Draft

balena-bootloader.bbclass: Move common bits from devices to class#3870
mtoman wants to merge 1 commit into
masterfrom
mtoman/extend-bootloader

Conversation

@mtoman

@mtoman mtoman commented May 20, 2026

Copy link
Copy Markdown
Contributor

After adding the balena bootloader to a handful of devices, some stuff keeps getting copy/pasted into the bootloader recipes.

This patch moves the common bits to balena-bootloader.bbclass to avoid duplication and make it easier to use.


Contributor checklist

Reviewer Guidelines

  • When submitting a review, please pick:
    • 'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
    • 'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
    • 'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

After adding the balena bootloader to a handful of devices, some stuff
keeps getting copy/pasted into the bootloader recipes.

This patch moves the common bits to balena-bootloader.bbclass to avoid
duplication and make it easier to use.

Change-type: patch
Signed-off-by: Michal Toman <michalt@balena.io>
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:23 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-production.us-east-1 May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:24 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to sign.balena-cloud.com May 20, 2026 12:25 — with GitHub Actions Inactive
@flowzone-app

flowzone-app Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Website deployed to CF Pages, 👀 preview link https://b5a71ffb.balena-os.pages.dev

@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:38 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 12:38 — with GitHub Actions Inactive
@mtoman mtoman had a problem deploying to balena-cloud.com May 20, 2026 12:38 — with GitHub Actions Failure
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Inactive
@mtoman mtoman had a problem deploying to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Failure
@mtoman mtoman had a problem deploying to balena-cloud.com May 20, 2026 15:18 — with GitHub Actions Failure
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 16:32 — with GitHub Actions Inactive
@mtoman mtoman temporarily deployed to balena-cloud.com May 20, 2026 16:32 — with GitHub Actions Inactive
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.

1 participant