0
wildcat_paris

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

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0