Initial 5.12 RC1 support

This commit is contained in:
Tk-Glitch
2021-03-01 21:54:04 +01:00
parent 29afa3e91c
commit f4de77e7d3
10 changed files with 2249 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ ver58=18
ver59=16
ver510=19
ver511=2
ver512=rc1
_tkg_initscript() {
@@ -27,7 +28,7 @@ _tkg_initscript() {
# to the rest of the script
if [ -z "$_version" ] && [ ! -e "$_path"/versel ]; then
plain "Which kernel version do you want to install?"
read -rp "`echo $' 1. 5.4 LTS\n 2. 5.7\n 3. 5.8\n 4. 5.9\n 5. 5.10 LTS\n > 6. 5.11\nchoice[1-6?]'`" _VERSEL;
read -rp "`echo $' 1. 5.4 LTS\n 2. 5.7\n 3. 5.8\n 4. 5.9\n 5. 5.10 LTS\n > 6. 5.11\n 7. 5.12 RC\nchoice[1-7?]'`" _VERSEL;
case $_VERSEL in
"1")
echo "_basever=54" > "$_path"/versel
@@ -54,6 +55,11 @@ _tkg_initscript() {
echo "_basekernel=5.10" >> "$_path"/versel
echo "_sub=${ver510}" >> "$_path"/versel
;;
"7")
echo "_basever=512" > "$_path"/versel
echo "_basekernel=5.12" >> "$_path"/versel
echo "_sub=${ver512}" >> "$_path"/versel
;;
*)
echo "_basever=511" > "$_path"/versel
echo "_basekernel=5.11" >> "$_path"/versel
@@ -92,6 +98,11 @@ _tkg_initscript() {
echo "_basekernel=5.11" >> "$_path"/versel
echo "_sub=${ver511}" >> "$_path"/versel
;;
"5.12")
echo "_basever=512" > "$_path"/versel
echo "_basekernel=5.12" >> "$_path"/versel
echo "_sub=${ver512}" >> "$_path"/versel
;;
*)
error "There is something wrong with your kernel version selection, exiting..."
exit 1