diff options
author | Patrick Simianer <pks@pks.rocks> | 2020-02-23 13:08:08 +0100 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2020-02-23 13:08:08 +0100 |
commit | aa35d5869263ddf3db61d852c122204e5a992cc0 (patch) | |
tree | 3ddaf6af8cb66ac59a165cdcd4ca952b6f12e3de /upgrade-kernel | |
parent | 94f16565c7156db218bc8a6147083c9677a74d5e (diff) |
upgrade-kernel: permissions
Diffstat (limited to 'upgrade-kernel')
-rwxr-xr-x | upgrade-kernel | 3 |
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 |