build-omarchy-packages.sh: pass --nodeps to makepkg

We're not installing the deps in the build container — just producing
.pkg.tar.zst files that pacman will resolve against the offline mirror
on the target. Installing limine-mkinitcpio-hook into the build
container also fires its pacman hook that errors about a missing ESP.
This commit is contained in:
Ryan Hughes committed 2026-05-20 21:42:22 -04:00
1 parent 1224531ce1
commit a74d20f8fb
1 file changed
+4 -1
+4 -1
View File
@@ -58,11 +58,14 @@ for pkg in "${packages[@]}"; do
cp -a "/omarchy-pkgs/pkgbuilds/$pkg" "$pkg_work"
chown -R builder:builder "$pkg_work"
# --nodeps: don't install deps into the build container. We just need to
# produce the .pkg.tar.zst; pacman resolves runtime deps at install time on
# the target system from the offline mirror.
su builder -c "
cd '$pkg_work' &&
PKGDEST='$work_dir' \
OMARCHY_SRC=/omarchy-installer \
makepkg --noconfirm --skippgpcheck --skipchecksums -s -f
makepkg --noconfirm --skippgpcheck --skipchecksums --nodeps -f
"
done