git » mk-builders.git » commit 55fc3db

lol, only me ever neede to tarball these builders

author Urja (ARMLFS builder)
2024-07-12 17:25:56 UTC
committer Urja (ARMLFS builder)
2024-07-12 17:25:56 UTC
parent 4620e2f5decf6d69eb69389e3136966c19838289

lol, only me ever neede to tarball these builders

tarball-all-builders.sh +10 -0

diff --git a/tarball-all-builders.sh b/tarball-all-builders.sh
new file mode 100755
index 0000000..22c9a7e
--- /dev/null
+++ b/tarball-all-builders.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+set -e
+set -x
+
+for petc in $(echo /*/etc/pacman.conf); do
+	builder=$(echo "$petc" | cut -f2 -d '/')
+	echo $builder
+	time tar --xattrs --acls -C / --zstd -cf $builder.tar.zst $builder
+	mv $builder.tar.zst /mnt/nfs/dist/armlfs-$builder.tar.zst
+done