diff options
author | ficus <ficus@robocracy.org> | 2012-11-22 23:53:36 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-22 23:53:36 +0100 |
commit | 916518ae90db70405639480fde9c66300b2fce54 (patch) | |
tree | ef11f6f63a63acf7bff79e3e849e90891da3d98b /config | |
parent | aab7e3339c057715f5f29ef6c1a1c50039543838 (diff) | |
download | torouter-live-916518ae90db70405639480fde9c66300b2fce54.tar.gz torouter-live-916518ae90db70405639480fde9c66300b2fce54.zip |
fix depmod processing
Diffstat (limited to 'config')
-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 + |