Skip to content

Backport the pinned ISO builder image to 4.5.1 - #464

Merged
emirb merged 3 commits into
v4-5-1from
release/pin-builder-image-4-5-1
Nov 17, 2026
Merged

emirb merged 3 commits into
v4-5-1from
release/pin-builder-image-4-5-1

Conversation

@emirb

@emirb emirb commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Problem

A 4.5.1 ISO cannot be built from v4-5-1. The x86_64 builder runs ghcr.io/archlinux/archlinux:latest, which now has openssl 4.1.0. The stable and rc snapshot has openssl 3.6.5, and the builder's pacman -Syu does not downgrade:

:: installing openssl (3.6.5-1) breaks dependency 'libcrypto.so=4-64' required by curl
error: failed to prepare transaction (could not satisfy dependencies)

Fix

This backports #200 to the 4.5.1 branch. The x86_64 builder uses one Arch image of 2026-09-26, pinned by digest, on every launch path. The image is older than every channel's snapshot, so pacman -Syu upgrades it cleanly.

The change is the same as #200's net change against quattro, in three commits:

  • 0cc49c8 pins the image and adds its unit test, by Afonso Oliveira.
  • 418f7b7 says at the pin why the image must predate every snapshot.
  • aa47ca3 names the test's fake ISO the way the builder now finds it.

Scope and risk

Only how the x86_64 builder container starts changes. The ISO's packages still come from the channel, and the aarch64 builder keeps its own pin. To undo it, set CONTAINER_IMAGE in bin/omarchy-iso-make back to :latest.

Evidence

This branch built a stable ISO with no local changes, exit 0. The builder upgraded openssl from 3.6.4 to the snapshot's 3.6.5.

That ISO installed in a VM with LUKS and booted through the graphical passphrase prompt. The installed system has omarchy 4.5.0-3 and openssl 3.6.5, no coredumps, and reaches graphical.target in 1.6 s of userspace.

./test/all, run the way unit-test.yml runs it, passes: 53 shell suites, the 5 builder-image cases among them, and 379 Python tests.

Refs #200

AFOliveira and others added 3 commits November 17, 2026 14:02
Backport of #200 to the 4.5.1 release branch: the x86_64 builder runs
one Arch image of 2026-09-26, pinned by digest, on every launch path,
and the unit test checks each path against that digest.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
The builder upgrades its tools to the channel's Arch snapshot with
pacman -Syu, which does not downgrade them, so an image newer than the
snapshot stops the build. Once Arch moved to openssl 4.1.0, :latest
could no longer build stable or rc, whose 2026-10-22 snapshot has
openssl 3.6.5: "installing openssl (3.6.5-1) breaks dependency
'libcrypto.so=4-64' required by curl".
The builder takes the newest release/omarchy-*.iso and renames it to
<name>-quattro.iso. The test's docker stub still wrote
release/omarchy.iso, so the builder found nothing and the warm launch
failed. The stub now writes omarchy-test-x86_64.iso.
@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Pins the x86_64 builder to a fixed Arch image so newer container packages do not block builds against older channel snapshots.

  • The x86_64 ISO builder starts from an older image pinned by digest.

All five new tests passed locally. No actionable issues were found.

Reviews (1) · Last reviewed commit: "Name the test ISO as the builder now fin..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Install test failure

aarch64 vs quattro
Result ❌ failure
Build the ISO 414.0 s −17.0 s
Install 24.4 s −2.0 s
First boot 5.6 s +0.2 s
Everyday boot 5.4 s +0.0 s

Boots are loader, kernel and userspace, without the VM's firmware.

Install phases, aarch64
Phase This PR quattro
Preparing live environment 1.3 s 1.3 s
Preparing install target 2.7 s 5.8 s
Installing Arch + Omarchy 11.3 s 13.6 s
Configuring hibernation 0 s 0 s
Configuring system 7.3 s 3.8 s
Staging provisioning 0 s 0 s
Finalizing boot and user 1.5 s 1.5 s
Configuring login 0 s 0 s
Configuring SSH access 0.2 s 0.1 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0.1 s 0.1 s
Creating factory snapshot 0.1 s 0.1 s

Run · aa47ca3

@emirb
emirb merged commit 2ff5522 into v4-5-1 Nov 17, 2026
64 of 66 checks passed
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