Repository navigation
Add Omarchy image support - #41
AbdullahFageeh wants to merge 5 commits into
Conversation
Omarchy is Arch + Hyprland, so this reuses the Arch distrobuilder recipe: distros/omarchy/image.yaml installs the runtime half of Omarchy's own package lists (install/omarchy-base.packages + omarchy-other.packages), drops linux-ps5 in with pacman -U and boots into Hyprland from a tty1 autologin — the same pattern as the Arch, CachyOS and SteamOS images. Excluded from the package set: ISO-provided kernels (linux-omarchy, linux-t2), DKMS trees that cannot build against linux-ps5 (nvidia*, broadcom-wl-dkms, asusctl, tuxedo-drivers, t2fanrd, macbook12-spi) and boot/OS-management pieces of the ISO (limine, plymouth, snapper, btrfs-progs) that the kexec + FAT32/ext4 layout does not use. Wires the distro into build_image.sh (arch kernel format), the image builder entrypoint staging, the build-image workflow choice/all matrix and the release table so it is published as ps5-omarchy.img.xz next to the other images.
The first revision hand-assembled Omarchy's package lists. That is not what an Omarchy machine is: the desktop ships as Arch packages in Omarchy's own repo (omarchy, omarchy-settings, omarchy-keyring, themes, nvim config, titlebars), and Omarchy's docs describe prebuilt images as a supported shape (docs/file-layout.md, agents/skills/install-scripts.md), with hardware leaves deferred to the machine's first boot. - stage-pkgs.sh: fetch omarchy.db plus the six runtime/support packages from pkgs.omarchy.org (channel selectable via OMARCHY_CHANNEL), cached in /build/cache/omarchy. - image.yaml: small Arch base (GPU, session plumbing, network, linux-ps5); the post-files action installs the staged packages with pacman -U --nodeps (no DNS in the chroot) and runs Omarchy's pacman setup (its repo + Omarchy's stable Arch mirror), as `omarchy apply pacman` does. - post-install.sh: Omarchy's config/ and login/ setup leaves plus omarchy-finalize-user for ps5 — the steps omarchy-apply-system runs outside hardware/ and boot/. - build-rootfs.sh: runs the distrobuilder recipe and drops the staging directories again afterwards. - entrypoint.sh: the generic build-rootfs.sh branch is used, so the duplicated staging case goes away (comment updated to match).
|
…ified" This reverts commit de44e50 and restores the Omarchy row in ALL_DISTROS, so the release job publishes ps5-omarchy.img.xz in the `latest` release once an Omarchy build has run successfully. Keep this commit last: merging the branch before the image has been built and uploaded links a missing asset. Merge after the build, or merge with the wip commit in place and land this one when the image is on R2.
Revert commit is ready (
|
|
@earthonion ready for a look. One thing needed from you: the Suggested order:
No rebase needed — |
|
Please add LiberNT Linux image . Its windows 11 on Linux kernel and so amazing |
Supersedes #40, which hand-assembled Omarchy's package lists instead of installing Omarchy itself.
Adds Omarchy (DHH's Arch + Hyprland desktop, omarchy.org) to the image list, so
latestpublishesps5-omarchy.img.xznext to the existing Ubuntu / Arch / CachyOS / Fedora / Proxmox / Debian / Bazzite / SteamOS images.How it is built
Omarchy installs from an ISO wizard, but the desktop itself ships as Arch packages in Omarchy's own repo, and Omarchy's docs treat prebuilt images as a supported shape: the image carries the packages, and the per-machine hardware leaves run on first boot (
docs/file-layout.md,agents/skills/install-scripts.md). So this distro installs the real packages instead of re-creating their package lists:distros/omarchy/stage-pkgs.sh— fetchomarchy.dbplusomarchy,omarchy-settings,omarchy-keyring,omarchy-themes-intros,omarchy-nvim,omarchy-hyprland-titlebarsfromhttps://pkgs.omarchy.org/stable/x86_64(channel selectable viaOMARCHY_CHANNEL) into/build/cache/omarchy.distros/omarchy/image.yaml— small Arch base (GPU/vulkan, PipeWire, NetworkManager + IWD/wpa_supplicant, seatd/polkit,gum/perl/sddmforomarchy-settings),linux-ps5viapacman -U, initramfs rebuilt withoutautodetect.pacman -U --nodeps: the distrobuilder chroot has no DNS in the container), writes Omarchy's pacman setup ([omarchy]repo first, then Arch off Omarchy's stable mirror — whatomarchy apply pacmaninstalls on x86), and sourcesdistros/omarchy/post-install.sh.distros/omarchy/post-install.sh— Omarchy'sconfig/andlogin/setup leaves (locale, firewall, service enablement, docker, passwordless keyring, PAM lines) andomarchy-finalize-userforps5— i.e.omarchy apply systemminushardware/(machine-specific, several build DKMS againstlinux-omarchy) andboot/(limine + snapper; PS5 images boot through kexec).ps5→exec Hyprland, no SDDM, matching the Arch / CachyOS / SteamOS images. Omarchy'sconfig/,login/andpost-install/leaves reset the login path, so that setup is re-applied after they run.Wiring
build_image.shomarchyin--distrohelp,FORMAT=archdocker/image-builder/entrypoint.shdistros/<distro>/build-rootfs.shbranch is used (comment updated to say it also covers distros that run distrobuilder with extra package sources).github/workflows/build-image.ymlomarchychoice,allmatrix entry, release table row (Omarchy,ps5-omarchy.img.xz)README.md--distrotable, distributions table, layoutdistros/omarchy/image.yaml,build-rootfs.sh,stage-pkgs.sh,post-install.sh,cmdline.txt,grow-rootfs(.service),README.mdVerification
bash -nonbuild_image.sh,entrypoint.sh,build-rootfs.sh,stage-pkgs.sh,post-install.shyaml.safe_loadon the workflow andimage.yamlstage-pkgs.shchecked against the livehttps://pkgs.omarchy.org/stable/x86_64/omarchy.db(all six present, e.g.omarchy-4.0.6-1,omarchy-settings-4.0.6-1); the mirror URLs in the pacman setup return 200 forcore/extra./build_image.sh --distro omarchy(privileged Docker host + kernel build). The riskiest parts are the chroot install (pacman -U --nodeps) and Omarchy's setup leaves under QEMU; happy to iterate if CI (run-cilabel) surfaces failures.Notes
hardware/leaves are intentionally not run at build time; if Omarchy's own first-boot hardware provisioning is wanted,omarchy-provision-hardwareshould be armed with an image manifest (format=1,platform=x86) asomarchy apply systemdoes for image builds.ps5/ps5with passwordless sudo, consistent with the other images.