summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/xx-02-udev-hack
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/xx-02-udev-hack')
-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