Jump to content

[sunxi / dkms / kernel only upgrade] my script: remove .reboot_required and compile linux-headers for ARM


wildcat_paris
 Share

Recommended Posts

FYI, I need a DKMS module to be reloaded after I upgrade the Armbian kernel files with "dpkg -i *.deb"

 

so the following snippet:

- remove /tmp/.reboot_required

- compile any header files for scripts

- add my favorite frandom-dkms module

gr@bpi:/armbian_kernel$ cat mod_noreboot.sh
#!/bin/bash

#sudo rm /tmp/.reboot_required
#pushd .
#for f in $(ls -d /usr/src/linux-headers-*-sunxi)
#do
#        cd $f
#        sudo make scripts
#done
#popd
sudo dpkg -i frandom-dkms_1.1-0centrych4_armhf.deb

Edited by wildcat_paris
with never build most of the script is no longer needed
Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...