Skip to content

Poc kernel dedup with symlink from overlay2#3894

Draft
ycardaillac wants to merge 2 commits into
masterfrom
POC-kernel-dedup-with-symlink-from-overlay2
Draft

Poc kernel dedup with symlink from overlay2#3894
ycardaillac wants to merge 2 commits into
masterfrom
POC-kernel-dedup-with-symlink-from-overlay2

Conversation

@ycardaillac

Copy link
Copy Markdown
Contributor

Use a symlink between boot and the overlay

https://balena.fibery.io/default/My-current-cycle-1819#Work/Project/Deduplicate-kernel-on-balenaOS-rootfs-2300

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)

To avoid kernel duplication, we fetch directly in hostapp image layer
and hardlink it directly in inactive partition's current/boot

Change-type: minor
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@balena.io>
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@balena.io>
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-cloud.com June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to balena-production.us-east-1 June 19, 2026 13:23 — with GitHub Actions Inactive
@ycardaillac ycardaillac temporarily deployed to sign.balena-cloud.com June 19, 2026 13:24 — with GitHub Actions Inactive
@flowzone-app

flowzone-app Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

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

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