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:
1 file changed
+4
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user