Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-31 20:40:10 +0200
committerErich Eckner <git@eckner.net>2021-03-31 20:40:38 +0200
commit2cc3d8322abe74a54ad1915a90652b2f83d3f0cd (patch)
tree0305aec5c631d463d7783603f33b6aabcbc99e02
parent53a340abeefcb81ba3b00a4be6a77a06aabbc429 (diff)
update-archlinux32-package: "kernel with upstream": upload auxillary files to the build-vm, too
-rwxr-xr-xupdate-archlinux32-package8
1 files changed, 8 insertions, 0 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 906fcdf..4ce46d4 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -407,6 +407,14 @@ case ${update_path} in
' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"
{
git -C "${upstream_git_path}/${pkgname}/repos/${repo}-x86_64" archive HEAD --
+ git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD -- . \
+ | tar -tf - \
+ | grep -vxF "$(
+ printf '%s\n' \
+ 'PKGBUILD'
+ ${config_names}
+ )" \
+ | xargs -r git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD --
for config_name in ${config_names}; do
tar -c -C "${git_repo_path}/${repo}/${pkgname}" "${config_name}"
done