summaryrefslogtreecommitdiffstats
path: root/scripts/grab-logs.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-03-05 10:03:27 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-03-05 10:03:27 -0600
commit3422e04a2e31dba3e17af206f160d4fc409f4250 (patch)
treeef03b0b60e236af96331d0ddb83208bb40bcf9f0 /scripts/grab-logs.sh
parent7a64d107da5cd0ea8bad9200ebcd37146324361f (diff)
downloadkernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.gz
kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.xz
kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.zip
kernel-5.11.3-50
* Fri Mar 05 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.3-50] - PCI: Add MCFG quirks for Tegra194 host controllers (Vidya Sagar) - Revert "PCI: Add MCFG quirks for Tegra194 host controllers" (Peter Robinson) - forgot to push this one earlier (Justin M. Forbes) - Reference the patch as version.patchlevel to more easily see diffs between stable releases (Justin M. Forbes) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'scripts/grab-logs.sh')
-rwxr-xr-xscripts/grab-logs.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/grab-logs.sh b/scripts/grab-logs.sh
deleted file mode 100755
index 571b503bb..000000000
--- a/scripts/grab-logs.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-# Script helps download the build logs for the current tree.
-# The downloaded logs will be saved in a logs/ within the
-# tree.
-
-BASEDIR="$(dirname "$(cd $(dirname $BASH_SOURCE[0]) && pwd)")"
-pushd $BASEDIR > /dev/null
-
-VER=$(fedpkg verrel)
-ver=$(echo $VER | sed -e 's/-/ /g' | awk '{print $2}')
-rev=$(echo $VER | sed -e 's/-/ /g' | awk '{print $3}')
-
-# keep logs in one place. If logs directory does not exist, make it.
-if [ -d "$BASEDIR/logs" ]; then
- DIR="$BASEDIR/logs"
-else
- mkdir "$BASEDIR/logs"
- DIR="$BASEDIR/logs"
-fi
-
-# Common architectures that have build logs.
-ARCHS[0]=i686
-ARCHS[1]=x86_64
-ARCHS[2]=noarch
-ARCHS[3]=armv7hl
-
-for arch in ${ARCHS[@]}; do
- URL=http://kojipkgs.fedoraproject.org/packages/kernel/$ver/$rev/data/logs/$arch/build.log
- # Only download logs if exist
- wget --spider -q $URL
- if [ $? -eq 0 ]; then
- wget -O $DIR/build-$VER-$arch.log $URL
- fi
-done
-popd > /dev/null