X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fudev;h=4ad521080e73ab48e8725556e92af02c82351a50;hb=b9d631f0388fefe31b05813855ed35e1624707dd;hp=475748ecd96781065858e67891f23a531401d917;hpb=5f34ed763755aa326f02325e44fae5974d23e604;p=hvlinux.git diff --git a/stage2/pkg/udev b/stage2/pkg/udev index 475748e..4ad5210 100644 --- a/stage2/pkg/udev +++ b/stage2/pkg/udev @@ -2,18 +2,30 @@ 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 -m644 ${SCRDIR}/misc/udev-media-automount.rules /etc/udev/rules.d/10-media-automount.rules + install -v -m755 ${SCRDIR}/misc/udev/udev-create-persistent-net.sh \ + /usr/local/bin + install -v -m644 ${SCRDIR}/misc/udev/10-media-automount.rules \ + /etc/udev/rules.d/ + install -v -m644 ${SCRDIR}/misc/udev/11-sd-card-automount.rules \ + /etc/udev/rules.d/ + + mv /lib/pkgconfig/{gudev-*.pc,libudev.pc} /usr/lib/pkgconfig + rmdir /lib/pkgconfig + + sed -i -e "s/\(SYMLINK+=\"cdrom\)\"/\1 dvd\"/" \ + /lib/udev/rules.d/60-cdrom_id.rules }