~comcloudway/builds.sr.ht

e6d7370899cfc125ff7db7c61a31c52fa9049b0a — delthas 5 years ago fc9a192
images/archlinux: skip compression of AUR packages

All AUR packages installed in the install() step are first built
by makepkg, which by defaults compresses them after building them.

This patch explicitly skips the compression step by temporarily
setting the extension of newly built packages to .pkg.tar.

The extension is only changed temporarily, and this patch has no
effect on any makepkg run by the user in its build script after
the install() step ends.
1 files changed, 1 insertions(+), 1 deletions(-)

M images/archlinux/functions
M images/archlinux/functions => images/archlinux/functions +1 -1
@@ 16,7 16,7 @@ boot() {
install() {
	port=$1
	shift 1
	guest_ssh -p $port build@localhost EDITOR=true yay \
	guest_ssh -p $port build@localhost EDITOR=true PKGEXT=.pkg.tar yay \
		--needed --noconfirm --noprovides -Syu "$@"
}