diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-17 12:38:46 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-17 12:38:46 -0500 |
commit | 2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759 (patch) | |
tree | a1d03aed06bd868aef5d39f73d2bd5b64941612a /scripts/rawhide-snapshot.sh | |
parent | 8cb9b8957f6c41855069d943280362fbf45cdbf1 (diff) | |
download | kernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.tar.gz kernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.tar.xz kernel-2d7cbaa6f9fa69d3f60984b67c2d03e57e6d9759.zip |
kernel-5.11.7-9
* Wed Mar 17 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.7-9]
- Disable weak-modules again rhbz 1828455 (Justin M. Forbes)
- More config updates for gcc-plugin turn off (Justin M. Forbes)
- fedora: the PCH_CAN driver is x86-32 only (Peter Robinson)
- common: disable legacy CAN device support (Peter Robinson)
- common: Enable Microchip MCP251x/MCP251xFD CAN controllers (Peter Robinson)
- common: Bosch MCAN support for Intel Elkhart Lake (Peter Robinson)
- common: enable CAN_PEAK_PCIEFD PCI-E driver (Peter Robinson)
- common: disable CAN_PEAK_PCIEC PCAN-ExpressCard (Peter Robinson)
- common: enable common CAN layer 2 protocols (Peter Robinson)
- ark: disable CAN_LEDS option (Peter Robinson)
Resolves: rhbz#
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'scripts/rawhide-snapshot.sh')
-rwxr-xr-x | scripts/rawhide-snapshot.sh | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/scripts/rawhide-snapshot.sh b/scripts/rawhide-snapshot.sh deleted file mode 100755 index 210216b98..000000000 --- a/scripts/rawhide-snapshot.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh -# A coffeeproof rawhide script. You should be able to run this before the -# coffee has kicked in and generate a good rawhide commit. -# -# - Updates the local Fedora tree to master and verifies that you are working -# off of the correct master -# - Updates the upstream tree to the latest master. -# - Generates a git snapshot via generate-git-snapshot.sh -# - Clears out old git snapshots from the sources -# - Uploads the new snapshot - -source scripts/kernel-version.sh - -klist -s -if [ ! $? -eq 0 ]; then - echo "klist couldn't read the credential cache." - echo "Do you need to fix your kerberos tokens?" - exit 1 -fi - -git fetch origin -if [ "$(git rev-parse origin/master)" != "$(git rev-parse HEAD)" ]; then - echo "I just did a git fetch and this branch does not match master" - echo "Re-check out this branch to work off of the latest master" - exit 1 -fi - -if [ ! -d "$LINUX_GIT" ]; then - echo "error: set \$LINUX_GIT to point at an upstream git tree" - exit 1 -fi - -git -C $LINUX_GIT pull -if [ ! $? -eq 0 ]; then - echo "Git pull failed. Is your tree clean/correct?" - exit 1 -fi - -git -C $LINUX_GIT describe --tags HEAD | grep -q "\-g" -if [ ! $? -eq 0 ]; then - echo "Trying to snapshot off of a tagged git." - echo "I don't think this is what you want" - exit 1 -fi - -if [ "$(git -C $LINUX_GIT rev-parse origin/master)" == `cat gitrev` ]; then - echo "Last snapshot commit matches current master. Nothing to do" - echo "\o/" - exit 0 -fi - -GIT=`grep "%define gitrev" kernel.spec | cut -d ' ' -f 3` -if [ "$GIT" -eq 0 ]; then - make debug - ./scripts/fixup-bumpspec.sh - fedpkg commit -c -fi - -./scripts/generate-git-snapshot.sh - -#Nuke the old patch from the source -awk '!/git/ { print $0 }' < sources > sources.tmp -mv sources.tmp sources - -GIT=`grep "%define gitrev" kernel.spec | cut -d ' ' -f 3` -fedpkg upload patch-$VER-git$GIT.xz |