~sircmpwn/sr.ht-dev

builds.sr.ht: Revert "images/archlinux: skip compression for makepkg" v1 APPLIED

Eli Schwartz: 1
 Revert "images/archlinux: skip compression for makepkg"

 1 files changed, 1 insertions(+), 4 deletions(-)
#615021 alpine.yml success
#615022 archlinux.yml success
#615023 debian.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/25951/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH builds.sr.ht] Revert "images/archlinux: skip compression for makepkg" Export this patch

This reverts commit 73b24a385c95ef2df0d18bff1545980e9fc6f35c.

This affects packages which are built and uploaded in a builds.sr.ht
job, not just packages which are built as a side effect of installing
AUR packages in the job setup.

In commit e6d7370899cfc125ff7db7c61a31c52fa9049b0a the compression for
installing AUR packages in the job setup, was already disabled, using
the same method as this commit performed but scoped only to `yay -Syu`.

To quote the commit message:

"This patch has no effect on any makepkg run by the user in its build
script after the install() step ends."

which I think is a reasonable approach to take.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
---
 images/archlinux/genimg | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/images/archlinux/genimg b/images/archlinux/genimg
index 36a12c2..b5bc11a 100755
--- a/images/archlinux/genimg
+++ b/images/archlinux/genimg
@@ -119,10 +119,7 @@ initrd initramfs-linux.img
append root=/dev/vda2 rw quiet
EOF

cat >> "$root"/etc/makepkg.conf <<- EOF
makeopts=(--skippgpcheck)
PKGEXT='.pkg.tar'
EOF
echo "makeopts=(--skippgpcheck)" >> $root/etc/makepkg.conf

run_normal curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz
run_normal tar xf yay.tar.gz
-- 
2.33.1
builds.sr.ht
builds.sr.ht/patches: SUCCESS in 3m9s

[Revert "images/archlinux: skip compression for makepkg"][0] from [Eli Schwartz][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/25951
[1]: mailto:eschwartz@archlinux.org

✓ #615023 SUCCESS builds.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/615023
✓ #615021 SUCCESS builds.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/615021
✓ #615022 SUCCESS builds.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/615022
Sorry for the fuss, I didn't realize all of this.

LGTM!
Thanks!

To git@git.sr.ht:~sircmpwn/builds.sr.ht
   d780a53..9175cd3  master -> master