X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fudev;h=32c0c424e21e3ccf4ab295495a556c562e4509da;hb=2ae8d010cef72cd9f12c7ca3cf9260ffe68fa4ca;hp=92d6e672f7f6359ae35babc7c075b55fcac97d58;hpb=1eb363044c6ee3115e62736aed4403b750082b44;p=hvlinux.git diff --git a/stage2/pkg/udev b/stage2/pkg/udev index 92d6e67..32c0c42 100644 --- a/stage2/pkg/udev +++ b/stage2/pkg/udev @@ -2,19 +2,23 @@ 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() { - cd ${LFS_TMP}/${PACKAGE} + 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 - install -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin + mv /lib/pkgconfig/{gudev-*.pc,libudev.pc} /usr/lib/pkgconfig + rmdir /lib/pkgconfig }