aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks/depmod.sh.chroot
blob: eb28a0cb4a76db9f8f02056ef9a70d068d25d1e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Need to run depmod after hacking in uap8xxx.ko (DreamPlug WiFi).
# 
# Unfortunately, this build step is relatively slow :(
set -e

echo "It's depmod time!"
KERNELVERSION=`ls /boot/vmlinuz-* | sed -e "s/\/boot\/vmlinuz-//"`
dpkg-reconfigure linux-image-$KERNELVERSION