Add scripts for automatically generating builds
Many of the steps for day-to-day updates still require a lot of manual steps which can lead to typos. Add a series of scripts to make automate the manual steps and hopefully reduce errors. These are a work in progress because having them in tree makes it easier to work out issues.
This commit is contained in:
parent
da8efd59db
commit
2f50aa19db
6 changed files with 180 additions and 0 deletions
8
scripts/kernel-version.sh
Normal file
8
scripts/kernel-version.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
VER=$(grep patch sources | head -n1 | awk '{ print $2 }' | sed s/patch-// | sed s/-git.*// | sed s/.xz//)
|
||||
|
||||
if [ -z "$VER" ] ;
|
||||
then
|
||||
VER=$(grep linux sources | head -1 | awk '{ print $2 }' | sed s/linux-// | sed s/.tar.xz//)
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue