omarchy-zfs
LOW
maintainer peteonrails
0 votes
scanned 2026-08-20 23:13:41.626517
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Pete Jackson <pete@tern.travel>
2
pkgname=omarchy-zfs
3
pkgver=1.1.3
4
pkgrel=1
5
pkgdesc="Root-on-ZFS + ZFSBootMenu support layer for Omarchy (Quattro)"
6
arch=('any')
7
url="https://github.com/peteonrails/omarchy-zfs"
8
license=('MIT')
9
# Hard-dep omarchy (decision 7.1): one-command install of the full Quattro
10
# stack plus the ZFS layer. omarchy-dev provides/conflicts omarchy, so this is
11
# satisfied on any channel. Inert limine/snapper pulled in transitively are
12
# masked/ignored by the .install.
13
#
14
# ZFS deps use the VIRTUAL provides (`zfs`, `zfs-utils`) rather than a concrete
15
# package, so any provider satisfies them: zfs-dkms / zfs-dkms-git (DKMS,
16
# kernel-strategy A) OR the prebuilt zfs-linux / zfs-linux-lts. This avoids
17
# breaking existing installs and lets the kernel strategy be chosen at install
18
# time (see omarchy-zfs-kernel-install + the kernel guard).
19
depends=(
20
'omarchy'
21
'zfs' # kernel module — any provider (zfs-dkms, zfs-dkms-git, zfs-linux, zfs-linux-lts)
22
'zfs-utils' # userspace + the /usr/lib/initcpio zfs hook — any provider
23
'libunwind' # zfs-utils(-git) links libunwind.so.8 but doesn't declare it;
24
# without it mkinitcpio silently omits zpool/mount.zfs -> unbootable initramfs
25
'sanoid'
26
'efibootmgr'
27
)
28
optdepends=(
29
# zfsbootmenu is AUR/manual (no binary repo), and ZBM is frequently installed
30
# from prebuilt EFI images rather than the package -- so it CANNOT be a hard
31
# dep (pacman -S omarchy-zfs would fail to resolve it). Install ZBM yourself.
32
'zfsbootmenu: ZFSBootMenu boot manager (AUR or prebuilt EFI images)'
33
'lzop: faster syncoid stream compression'
34
'mbuffer: syncoid network buffering'
35
'pv: syncoid transfer progress'
36
)
37
# autosnap.conf is admin-editable; never clobber it on upgrade.
38
backup=('etc/omarchy-zfs/autosnap.conf' 'etc/omarchy-zfs/bootorder.conf')
39
install="${pkgname}.install"
40
# Local dev builds fetch nothing (payload lives alongside the PKGBUILD).
41
# The published AUR PKGBUILD is this same file with the release tarball as
42
# source — generated by aur/release.sh, never edited by hand.
43
source=("$pkgname-$pkgver.tar.gz::https://github.com/peteonrails/omarchy-zfs/archive/refs/tags/v$pkgver.tar.gz")
44
sha256sums=('5fdabcf9e1941b2a872758604f7b57522679212b2d6c3b4373570b3fade51ac8')
45
46
package() {
47
# AUR build: payload extracted from the release tarball. Dev build: $startdir.
48
local S="$srcdir/$pkgname-$pkgver"
49
[[ -d $S ]] || S="$startdir"
50
51
# --- CLI tools -> /usr/bin ---
52
local bins=(
53
omarchy-fs-type omarchy-fs-zfs omarchy-fs-btrfs
54
omarchy-cmdline-add omarchy-refresh-zbm
55
omarchy-zfs-snapshot omarchy-zfs-scrub omarchy-zfs-kernel-compat-check
56
omarchy-zfs-autosnap omarchy-zfs-ensure-mkinitcpio omarchy-zfs-kernel-install
57
omarchy-zfs-snapper-guard omarchy-zfs-bootorder-guard omarchy-zfs-embed-pool-key
58
omarchy-zfs-hibernation-setup omarchy-zfs-hibernation-remove omarchy-zfs-hibernation-available
59
omarchy-bootstrap-zfs
60
)
61
local b
62
for b in "${bins[@]}"; do
63
install -Dm755 "$S/bin/$b" "$pkgdir/usr/bin/$b"
64
done
65
66
# --- pacman/libalpm hooks -> /usr/share/libalpm/hooks ---
67
local hooks=(
68
00-zfs-autosnap.hook
69
90-omarchy-zfs-kernel-guard.hook
70
zz-omarchy-zfs-ensure-mkinitcpio.hook
71
zz-omarchy-zfs-snapper-guard.hook
72
zz-omarchy-zfs-bootorder-guard.hook
73
)
74
local h
75
for h in "${hooks[@]}"; do
76
install -Dm644 "$S/hooks/$h" "$pkgdir/usr/share/libalpm/hooks/$h"
77
done
78
79
# --- systemd units -> /usr/lib/systemd/system ---
80
# Make journald wait for the /var/log dataset, or the system logs nowhere.
81
install -Dm644 "$S/systemd/systemd-journal-flush.service.d/zfs-var-log.conf" \
82
"$pkgdir/usr/lib/systemd/system/systemd-journal-flush.service.d/zfs-var-log.conf"
83
84
install -Dm644 "$S/systemd/omarchy-zfs-scrub.service" "$pkgdir/usr/lib/systemd/system/omarchy-zfs-scrub.service"
85
install -Dm644 "$S/systemd/omarchy-zfs-scrub.timer" "$pkgdir/usr/lib/systemd/system/omarchy-zfs-scrub.timer"
86
87
# --- ZFSBootMenu config reference + hooks -> /etc/zfsbootmenu ---
88
install -Dm644 "$S/zfsbootmenu/config.yaml.example" "$pkgdir/etc/zfsbootmenu/config.yaml.example"
89
install -Dm755 "$S/zfsbootmenu/hooks/load-key.d/01-omarchy-unlock.sh" "$pkgdir/etc/zfsbootmenu/hooks/load-key.d/01-omarchy-unlock.sh"
90
install -Dm755 "$S/zfsbootmenu/hooks/setup.d/01-omarchy-theme.sh" "$pkgdir/etc/zfsbootmenu/hooks/setup.d/01-omarchy-theme.sh"
91
92
# --- default config -> /etc/omarchy-zfs ---
93
install -Dm644 "$S/config/autosnap.conf" "$pkgdir/etc/omarchy-zfs/autosnap.conf"
94
install -Dm644 "$S/config/bootorder.conf" "$pkgdir/etc/omarchy-zfs/bootorder.conf"
95
96
# ZBM boots kernel+initramfs pairs from /boot; omarchy's limine flow only
97
# builds a UKI on the ESP. This preset keeps the plain pair existing.
98
install -Dm644 "$S/mkinitcpio/linux-zbm.preset" "$pkgdir/etc/mkinitcpio.d/linux-zbm.preset"
99
100
# Static drop-in keeping /etc/hostid in every initramfs, independent of the
101
# zfs hook and of anything `omarchy update` overwrites.
102
install -Dm644 "$S/mkinitcpio/zz-omarchy-zfs-hostid.conf" \
103
"$pkgdir/etc/mkinitcpio.conf.d/zz-omarchy-zfs-hostid.conf"
104
105
install -Dm644 "$S/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
106
}
107
Changes since previous scan
--- PKGBUILD @ 2026-08-20 21:12+++ PKGBUILD @ 2026-08-20 23:13@@ -1,6 +1,6 @@ # Maintainer: Pete Jackson <pete@tern.travel> pkgname=omarchy-zfs-pkgver=1.1.2+pkgver=1.1.3 pkgrel=1 pkgdesc="Root-on-ZFS + ZFSBootMenu support layer for Omarchy (Quattro)" arch=('any')@@ -41,7 +41,7 @@ # The published AUR PKGBUILD is this same file with the release tarball as # source — generated by aur/release.sh, never edited by hand. source=("$pkgname-$pkgver.tar.gz::https://github.com/peteonrails/omarchy-zfs/archive/refs/tags/v$pkgver.tar.gz")-sha256sums=('d4e402bb76f4f345e45b18c95e8f82362f8d3b92a0939a70fede46fd8ba2b698')+sha256sums=('5fdabcf9e1941b2a872758604f7b57522679212b2d6c3b4373570b3fade51ac8') package() { # AUR build: payload extracted from the release tarball. Dev build: $startdir.Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-20 23:13:41 | Low | 1 |
| 2026-08-20 21:12:41 | Low | 1 |
| 2026-08-18 00:03:42 | Clean | 2 |
| 2026-08-17 17:37:06 | Low | 1 |