summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupgrade-kernel3
1 files changed, 3 insertions, 0 deletions
diff --git a/upgrade-kernel b/upgrade-kernel
index 32336c3..93afdb5 100755
--- a/upgrade-kernel
+++ b/upgrade-kernel
@@ -11,6 +11,9 @@ sudo md5sum /boot/kernel > /tmp/kernel.md5
sudo mv /tmp/kernel.md5 /boot/kernel.md5
sudo /sbin/lilo
sudo rm /usr/src/linux
+find . -type d | xargs chmod a+rx
+find . -type f | xargs chmod a+r
+find . -executable | xargs chmod a+x
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