From a74d20f8fb35df9d68f43ddf02255c1e3cd8fc29 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 20 May 2026 21:42:22 -0400 Subject: [PATCH] build-omarchy-packages.sh: pass --nodeps to makepkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- builder/build-omarchy-packages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/builder/build-omarchy-packages.sh b/builder/build-omarchy-packages.sh index d438ebc..0ebb394 100755 --- a/builder/build-omarchy-packages.sh +++ b/builder/build-omarchy-packages.sh @@ -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