omarchy-mac-boot: require the HOOKS baseline once the source relies on it
From omacom/omarchy-mac#544 the Apple drop-ins no longer add Plymouth themselves and build on omarchy-settings' 00-omarchy-hooks.conf (#536). A settings version cannot express that (quattro candidates sort below stock releases and omarchy pins its settings exactly), so a build whose payload has no 93-omarchy-mac-plymouth.conf depends on the name omarchy-mkinitcpio-hooks-baseline, which settings packages that ship the baseline must provide.
This commit is contained in:
1 parent
cd1ffe0f7e
commit
67dd0f7e6b
2 files changed
+13
No files matched your search
@@ -45,6 +45,15 @@ package() {
|
||||
'gzip' 'kbd' 'mkinitcpio' 'sed' 'systemd' 'util-linux')
|
||||
|
||||
"$srcdir/boot/install" "$pkgdir"
|
||||
# Once the source drops its own Plymouth fragment (omacom/omarchy-mac#544),
|
||||
# the Apple drop-ins build on omarchy-settings' HOOKS baseline
|
||||
# (/etc/mkinitcpio.conf.d/00-omarchy-hooks.conf, omacom/omarchy-mac#536), and
|
||||
# an older settings package leaves Plymouth out of the Mac initramfs. A
|
||||
# settings version cannot say so (quattro candidates sort below stock
|
||||
# releases, and omarchy pins its settings exactly), so the settings packages
|
||||
# that ship the baseline provide it by name.
|
||||
[[ -e $pkgdir/etc/mkinitcpio.conf.d/93-omarchy-mac-plymouth.conf ]] ||
|
||||
depends+=('omarchy-mkinitcpio-hooks-baseline')
|
||||
printf '%s\n' "$_commit" | install -Dm644 /dev/stdin "$pkgdir/usr/share/omarchy-mac/boot-source-revision"
|
||||
|
||||
# Administrator-editable: every /etc path and the initramfs helpers an image
|
||||
|
||||
Reference in new issue
Block a user