summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2014-02-14 23:00:18 +0100
committerHolger Paradies <retabell@gmx.de>2014-02-16 17:00:11 +0100
commitaa386197ee5cba87fc5e7c549560083fc816dc94 (patch)
treecb68d13600aa90362041b7edd62e5d30105e5c14 /config/chroot_local-hooks
parent23ef13d5da60fbe40fa2ce836baedb370230ff40 (diff)
downloadkanotix-aa386197ee5cba87fc5e7c549560083fc816dc94.zip
kanotix-aa386197ee5cba87fc5e7c549560083fc816dc94.tar.gz
udev hack
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/xx-02-udev-hack4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/xx-02-udev-hack b/config/chroot_local-hooks/xx-02-udev-hack
new file mode 100755
index 0000000..21711ae
--- /dev/null
+++ b/config/chroot_local-hooks/xx-02-udev-hack
@@ -0,0 +1,4 @@
+#!/bin/sh
+for x in i386-linux-gnu x86_64-linux-gnu; do
+ test -L /lib/$x/libudev.so.0 -a -L /lib/$x/libudev.so.1 && ln -sfv libudev.so.1 /lib/$x/libudev.so.0 || :
+done