diff options
-rwxr-xr-x | config/hooks/depmod.sh.chroot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/hooks/depmod.sh.chroot b/config/hooks/depmod.sh.chroot new file mode 100755 index 0000000..eb28a0c --- /dev/null +++ b/config/hooks/depmod.sh.chroot @@ -0,0 +1,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 + |