Correction installation dans /usr/libexec et autres...
[hvlinux.git] / stage2 / pkg / udev
index fa10b2d..c1c605d 100644 (file)
@@ -2,17 +2,20 @@
 
 hvconfig_pre()
 {
+    # --disable-keymap: to remove gperf dependency
+
     CONFIGURE_OPTS="\
         ${CONFIGURE_OPTS} \
-        --sbindir=/sbin \
-        --with-rootlibdir=/lib \
-        --libexecdir=/lib/udev \
-        --docdir=/usr/share/doc/${PACKAGE} \
-        --disable-extras \
+        --exec-prefix="" \
+        --libexecdir=/lib \
+        --with-usb-ids-path=no \
+        --with-pci-ids-path=no \
+        --disable-keymap \
         --disable-introspection"
 }
 
 hvbuild_post()
 {
-    install -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin
+    install -v -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin
+    install -v -m644 ${SCRDIR}/misc/udev-media-automount.rules /etc/udev/rules.d/10-media-automount.rules
 }