summaryrefslogtreecommitdiff
path: root/upgrade-kernel
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2020-06-06 16:23:04 +0200
committerPatrick Simianer <pks@pks.rocks>2020-06-06 16:23:04 +0200
commite489bcf824e65b3b339f0ee334bceed72daf13f3 (patch)
tree0430cb8f71c1e9b0f2f1dbf22f0d2ad393544a7a /upgrade-kernel
parent5a38cb7e584321cda6776bb47e8437613679b96f (diff)
5.5.3
Diffstat (limited to 'upgrade-kernel')
-rwxr-xr-xupgrade-kernel23
1 files changed, 0 insertions, 23 deletions
diff --git a/upgrade-kernel b/upgrade-kernel
deleted file mode 100755
index 32336c3..0000000
--- a/upgrade-kernel
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if [ ! -f .config ]; then echo "Call from kernel source dir!"; exit; fi
-V=`pwd | ruby -e "puts STDIN.gets.split('/').last.split('-')[1..-1].join '-'"`;
-make mrproper
-cp -v ../config .config
-make
-sudo make modules_install
-sudo cp -v arch/x86/boot/bzImage /boot/kernel
-sudo md5sum /boot/kernel > /tmp/kernel.md5
-sudo mv /tmp/kernel.md5 /boot/kernel.md5
-sudo /sbin/lilo
-sudo rm /usr/src/linux
-sudo ln -s $(pwd) /usr/src/linux
-cd ~/.local/src/kernel/tp_smapi/
-sudo make HDAPS=1 install KVER=$V KSRC=/home/pks/.local/src/kernel/linux-$V KBUILD=/home/pks/.local/src/kernel/linux-$V
-sudo make clean
-sudo chown -R pks:pks * .* /home/pks/.local/src/kernel/tp_smapi/ /home/pks/.local/src/kernel/linux-*
-echo "================="
-cd /lib/modules/
-pwd
-ls -lah
-