From aa35d5869263ddf3db61d852c122204e5a992cc0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 23 Feb 2020 13:08:08 +0100 Subject: upgrade-kernel: permissions --- upgrade-kernel | 3 +++ 1 file changed, 3 insertions(+) (limited to 'upgrade-kernel') 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 -- cgit v1.2.3