Skip to content

Commit

Permalink
Fix kernel versioning by changing specrelease
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Jan 29, 2023
1 parent 4cc9aa0 commit 8d3dc7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ echo "=====PREPARING SOURCES====="
cd ~/rpmbuild/SPECS
sed -i 's/# define buildid .local/%define buildid .t2/g' kernel.spec
sed -i 's/%define pkgrelease 200/%define pkgrelease 202/' kernel.spec
sed -i 's/%define specrelease 200%{?buildid}%{?dist}/%define specrelease 202%{?buildid}%{?dist}/' kernel.spec
mv -f /repo/python-blivet.spec /repo/rpmbuild/SPECS/python-blivet.spec
mv /repo/0002-add-t2-support.patch /root/rpmbuild/SOURCES/0002-add-t2-support.patch
cat /tmp/download/*/extra_config > /root/rpmbuild/SOURCES/kernel-local
Expand Down

0 comments on commit 8d3dc7b

Please sign in to comment.