From e6d7370899cfc125ff7db7c61a31c52fa9049b0a Mon Sep 17 00:00:00 2001 From: delthas Date: Sun, 22 Sep 2019 19:12:36 +0800 Subject: [PATCH] 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. --- images/archlinux/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/archlinux/functions b/images/archlinux/functions index b1657cb..6cae71e 100644 --- a/images/archlinux/functions +++ b/images/archlinux/functions @@ -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 "$@" } -- 2.38.5