summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-03-01 14:30:15 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-03-01 14:30:15 +0100
commitf40a33d0da0c3a3e58f27c02b0959b1d43bb25d1 (patch)
tree82473aecb978eb94b04c10605a2a2e3c3ca0940c /config/chroot_local-hooks
parent344dc1493807c22fb3bda6a059facf5c328d8b79 (diff)
downloadkanotix-f40a33d0da0c3a3e58f27c02b0959b1d43bb25d1.zip
kanotix-f40a33d0da0c3a3e58f27c02b0959b1d43bb25d1.tar.gz
included live-build patches into local tree to make it build with unpatched live-build
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/07-dkms4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/07-dkms b/config/chroot_local-hooks/07-dkms
index a0ed316..8f57d16 100755
--- a/config/chroot_local-hooks/07-dkms
+++ b/config/chroot_local-hooks/07-dkms
@@ -1,2 +1,2 @@
-#!/bin/sh
-for x in $(ls /boot/vmlinuz-*|sed s@/boot/vmlinuz-@@);do /usr/lib/dkms/dkms_autoinstaller start $x; done
+#!/bin/bash
+for x in /boot/vmlinuz-*;do KVERS=$x /usr/lib/dkms/dkms_autoinstaller start ${x#/boot/vmlinuz-}; done