Pull ostree from forky: bootc needs libostree >= 2025.3 #1

Merged
sebastian merged 1 commit from fix/ostree-2025.3 into main 2026-08-23 10:49:43 +02:00
Owner

CI run 1 failed in the builder stage:

Package dependency requirement 'ostree-1 >= 2025.3' could not be satisfied.
Package 'ostree-1' has version '2025.2', required version is '>= 2025.3'

Every recent bootc release (checked back to v1.10.0) builds ostree-ext with the v2025_3 crate feature, so pinning BOOTC_REF older is not an option. trixie ships ostree 2025.2; forky/sid ship 2025.7.

Fix: build/ostree-forky.sh adds a forky apt source pinned to priority 100 globally, with only the ostree binary packages raised to 990. It runs in both stages — the builder needs libostree-dev >= 2025.3 to compile, and the runtime image needs the matching libostree-1.so.1 for the bootc binary to load.

Possible follow-up risk: if forky's ostree 2025.7 depends on libraries newer than trixie's (e.g. glib), apt will refuse and the pin list will need widening — the PR build will show it.

CI run 1 failed in the builder stage: ``` Package dependency requirement 'ostree-1 >= 2025.3' could not be satisfied. Package 'ostree-1' has version '2025.2', required version is '>= 2025.3' ``` Every recent bootc release (checked back to v1.10.0) builds ostree-ext with the `v2025_3` crate feature, so pinning `BOOTC_REF` older is not an option. trixie ships ostree 2025.2; forky/sid ship 2025.7. Fix: `build/ostree-forky.sh` adds a forky apt source pinned to priority 100 globally, with only the ostree binary packages raised to 990. It runs in **both** stages — the builder needs `libostree-dev` >= 2025.3 to compile, and the runtime image needs the matching `libostree-1.so.1` for the bootc binary to load. Possible follow-up risk: if forky's ostree 2025.7 depends on libraries newer than trixie's (e.g. glib), apt will refuse and the pin list will need widening — the PR build will show it.
Pull ostree from forky: bootc needs libostree >= 2025.3
Some checks failed
Publish / build (pull_request) Successful in 25m44s
Publish / build (push) Failing after 26m36s
4d65b6b478
The publish workflow failed in the builder stage: ostree-sys (via the
ostree crate's v2025_3 feature, which every recent bootc release enables)
requires ostree-1 >= 2025.3 from pkg-config, and trixie ships 2025.2.
forky/sid ship 2025.7.

Add build/ostree-forky.sh, which adds a forky source pinned to 100 for
everything except the ostree binary packages (pinned to 990), and run it
in both stages: the builder needs libostree-dev to compile bootc, and the
runtime image needs a matching libostree-1.so.1 for the binary to load.
sebastian deleted branch fix/ostree-2025.3 2026-08-23 10:49:43 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sebastian/os4!1
No description provided.