Build omarchy-mac and omarchy-mac-boot from omacom/omarchy-mac-pkgs
Both recipes pin omacom/omarchy-mac-pkgs main 4399105 and stage the top-level omarchy-mac/ and omarchy-mac-boot/ directories, each tested from its own copy. omarchy-mac 0.1.0-11 and omarchy-mac-boot 20261004-1 sort above edge and every lab candidate. They carry the depends and the platform-root provide from #672 and #673 and drop the migration engine, legacy files and the Apple setup core now owns.
This commit is contained in:
1 parent
03b472525f
commit
c8f2257abb
4 files changed
+69
-43
No files matched your search
@@ -1,49 +1,50 @@
|
||||
# Maintainer: Marcelo Alcantara <maralc@gmail.com>
|
||||
# Recipe from maralcbr/omarchy-pkgs asahi-quattro pkgbuilds/omarchy-mac-boot
|
||||
# (20260921-10 at 0a55baeddecf59687c32b4bd4e1dee743605c183); the payload now
|
||||
# builds from packages/omarchy-mac/boot in omacom/omarchy-mac.
|
||||
# builds from omarchy-mac-boot/ in omacom/omarchy-mac-pkgs.
|
||||
|
||||
pkgname=omarchy-mac-boot
|
||||
# pkgver is the UTC commit date of _commit, so it sorts above the fork's
|
||||
# 20260921-N. Reset pkgrel to 1 when pkgver changes; bump it to re-pin or
|
||||
# rebuild on the same day.
|
||||
pkgver=20260927
|
||||
pkgver=20261004
|
||||
pkgrel=1
|
||||
pkgdesc='Apple Silicon boot support for Omarchy: initramfs, in-place encryption, first boot and Limine activation'
|
||||
arch=('aarch64')
|
||||
groups=('omarchy-platform-apple-silicon')
|
||||
url='https://github.com/omacom/omarchy-mac'
|
||||
url='https://github.com/omacom/omarchy-mac-pkgs'
|
||||
license=('MIT')
|
||||
makedepends=('git')
|
||||
provides=('omarchy-apple-boot' 'omarchy-first-boot')
|
||||
conflicts=('omarchy-apple-boot' 'omarchy-first-boot')
|
||||
replaces=('omarchy-apple-boot' 'omarchy-first-boot')
|
||||
install=omarchy-mac-boot.install
|
||||
# An exact omarchy-mac commit, never a branch.
|
||||
_commit=ff7ce0d4dfaea9e17270b3061e642ee095b7b265
|
||||
source=("omarchy-mac::git+https://github.com/omacom/omarchy-mac.git#commit=${_commit}")
|
||||
sha256sums=('7530c284cd323d451540205c0a677c4e187070f0b8c4081a2e85f487f2ebb985')
|
||||
# An exact omarchy-mac-pkgs main commit, never a branch.
|
||||
_commit=43991059e17bb0ab7e0ecf0010aef1fa73c3e2c9
|
||||
source=("omarchy-mac-pkgs::git+https://github.com/omacom/omarchy-mac-pkgs.git#commit=${_commit}")
|
||||
sha256sums=('654f54364a675ae9aa03728c49e5558121a7be70d60226cd8fdd4f901b195ee1')
|
||||
|
||||
prepare() {
|
||||
# Staging must not be able to read the surrounding desktop source.
|
||||
# Tests and staging must not be able to read the other package's tree.
|
||||
rm -rf "$srcdir/boot"
|
||||
cp -a "$srcdir/omarchy-mac/packages/omarchy-mac/boot" "$srcdir/boot"
|
||||
[[ $(git -C "$srcdir/omarchy-mac" rev-parse HEAD) == "$_commit" ]]
|
||||
[[ $(TZ=UTC0 git -C "$srcdir/omarchy-mac" show -s --format=%cd --date=format-local:%Y%m%d HEAD) == "$pkgver" ]]
|
||||
cp -a "$srcdir/omarchy-mac-pkgs/omarchy-mac-boot" "$srcdir/boot"
|
||||
[[ $(git -C "$srcdir/omarchy-mac-pkgs" rev-parse HEAD) == "$_commit" ]]
|
||||
[[ $(TZ=UTC0 git -C "$srcdir/omarchy-mac-pkgs" show -s --format=%cd --date=format-local:%Y%m%d HEAD) == "$pkgver" ]]
|
||||
}
|
||||
|
||||
# The tests run in the checkout: some compare the payload with the desktop
|
||||
# source around it (the HOOKS baseline in etc/, the first-run user units and the
|
||||
# default package lists, from omacom/omarchy-mac#582 and #598).
|
||||
check() {
|
||||
"$srcdir/omarchy-mac/packages/omarchy-mac/boot/test/all"
|
||||
"$srcdir/boot/test/all"
|
||||
}
|
||||
|
||||
package() {
|
||||
# Runtime-only, so the builder stages and tests the payload without the
|
||||
# desktop or a boot chain. 1.39.0-2 is the first limine-mkinitcpio-hook that
|
||||
# leaves a Mac's /boot to mkinitcpio until Limine is activated.
|
||||
# desktop. 1.39.0-2 is the first limine-mkinitcpio-hook that leaves a Mac's
|
||||
# /boot to mkinitcpio until Limine is activated. update-m1n1 builds stage 2
|
||||
# from m1n1 and U-Boot, so neither can be removed; m1n1 is the virtual name,
|
||||
# leaving its provider (m1n1-aurora) to the image, as the kernel is. First
|
||||
# boot populates the Asahi repository's keyring.
|
||||
depends=('omarchy' 'limine' 'limine-mkinitcpio-hook>=1.39.0-2' 'limine-snapper-sync' 'asahi-scripts'
|
||||
'm1n1' 'uboot-asahi' 'asahi-alarm-keyring'
|
||||
'bash' 'binutils' 'btrfs-progs' 'coreutils' 'cpio' 'cryptsetup' 'diffutils' 'gawk' 'gnupg' 'grep'
|
||||
'gum' 'gzip' 'kbd' 'mkinitcpio' 'sed' 'systemd' 'util-linux')
|
||||
|
||||
|
||||
Reference in new issue
Block a user