Skip to content
View in the app

A better way to browse. Learn more.

Learn more

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

Featured Replies

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

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.