From 916518ae90db70405639480fde9c66300b2fce54 Mon Sep 17 00:00:00 2001 From: ficus Date: Thu, 22 Nov 2012 23:53:36 +0100 Subject: fix depmod processing --- config/hooks/depmod.sh.chroot | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 config/hooks/depmod.sh.chroot (limited to 'config/hooks') 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 + -- cgit v1.2.3