summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-26 18:55:21 +0100
committerErich Eckner <git@eckner.net>2021-03-26 18:55:21 +0100
commit094cdb4cb8ed9217a157dad17853d688dd52659e (patch)
tree6faa7fb64b156e53635d0fcfe2680387e9e668da /archPackagesUpdate
parent779c8d15d7cc7fc381f441814e3e8927855b5bb2 (diff)
downloadarchlinuxewe-094cdb4cb8ed9217a157dad17853d688dd52659e.tar.xz
archPackagesUpdate: report all packages from i486,i686,pentium4
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate54
1 files changed, 29 insertions, 25 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index c636e4f33..fb9ccf546 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -581,31 +581,35 @@ for ((i=0; i<${#pakete[@]}; i++)); do
makechrootpkg -r "/var/lib/archbuild/archlinuxewe-${arch/any/${myArch}}" -- ${log} ${checkMakepkg} --holdver -f
fi
err[${i}]=$?
- if [ ${err[${i}]} -eq 0 ] && [ "${arch}" != "${myArch}" ] && [ "${arch}" != 'any' ]; then
- {
- printf '%s\n' \
- "From: plasmapaule@gmail.com" \
- "To: buildmaster@archlinux32.org" \
- "Subject: $(uname -n) - report about installed ${arch} packages" \
- ""
- find . \
- -mindepth 1 \
- -maxdepth 1 \
- -name '*.pkg.tar.zst' \
- -exec bsdtar -Oxf {} .BUILDINFO \; \
- | sed '
- s@^installed = \(.*\)$@/var/cache/archbuild32/\1.pkg.tar.zst@
- t
- d
- ' \
- | xargs -r sha512sum \
- 2>/dev/null \
- | sed '
- s@\s\+.*/@ @
- s/^/stabilize: /
- '
- } | \
- sendmailadvanced -t
+ if [ ${err[${i}]} -eq 0 ]; then
+ if [ "${arch}" = 'i486' ] \
+ || [ "${arch}" = 'i686' ] \
+ || [ "${arch}" = 'pentium4' ]; then
+ {
+ printf '%s\n' \
+ "From: plasmapaule@gmail.com" \
+ "To: buildmaster@archlinux32.org" \
+ "Subject: $(uname -n) - report about installed ${arch} packages" \
+ ""
+ find . \
+ -mindepth 1 \
+ -maxdepth 1 \
+ -name '*.pkg.tar.zst' \
+ -exec bsdtar -Oxf {} .BUILDINFO \; \
+ | sed '
+ s@^installed = \(.*\)$@/var/cache/archbuild32/\1.pkg.tar.zst@
+ t
+ d
+ ' \
+ | xargs -r sha512sum \
+ 2>/dev/null \
+ | sed '
+ s@\s\+.*/@ @
+ s/^/stabilize: /
+ '
+ } | \
+ sendmailadvanced -t
+ fi
fi
;;
'armv6h'|'armv7h'|'aarch64')