summaryrefslogtreecommitdiff
path: root/upgrade_kernel
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
committerPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
commit95b3e4bb744932ce4eac14bb350cc0455d15848a (patch)
treec96093d9667c87264a8820d876041fe96b068f57 /upgrade_kernel
parentfca926851e1d56eeb0044727fe976252d646f48d (diff)
mv
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 49fab66..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 /home/pks/src/kernel/tp_smapi/
-sudo make HDAPS=1 install KVER=$V KSRC=/home/pks/src/kernel/linux-$V KBUILD=/home/pks/src/kernel/linux-$V
-sudo make clean
-sudo chown -R pks:pks * .* /home/pks/src/kernel/tp_smapi/ /home/pks/src/kernel/linux-*
-echo "================="
-cd /lib/modules/
-pwd
-ls -lah
-