Skip to content

Commit

Permalink
Patch number fix (kernel.spec Patch506 under Patch510...)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Oct 29, 2019
1 parent 7df80c2 commit b298d63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

FEDORA_KERNEL_BRANCH_NAME=f31
FEDORA_KERNEL_COMMIT_HASH=f60b42ed46ef58380467f69991c9b772b1327c10 # Linux v5.3.8 - https://src.fedoraproject.org/rpms/kernel/commits/f30
FEDORA_KERNEL_COMMIT_HASH=f60b42ed46ef58380467f69991c9b772b1327c10 # Linux v5.3.8 - https://src.fedoraproject.org/rpms/kernel/commits/f31

### Debug commands
echo "FEDORA_KERNEL_BRANCH_NAME=$FEDORA_KERNEL_BRANCH_NAME"
Expand Down Expand Up @@ -31,6 +31,9 @@ git reset --hard $FEDORA_KERNEL_COMMIT_HASH
git checkout -b fedora_patch_src
dnf -y builddep kernel.spec

### Fixes for kernel.spec
sed -i "s/Patch506/Patch516/g" kernel.spec

### Apply patches
for patch_file in $(ls ../patches)
do
Expand Down

0 comments on commit b298d63

Please sign in to comment.