X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fudev;h=92d6e672f7f6359ae35babc7c075b55fcac97d58;hb=1eb363044c6ee3115e62736aed4403b750082b44;hp=ba93614af99d63e4285d1d2762565c8ba2799e55;hpb=63214057431c558e4c216c4e3ea12c7b06bd4950;p=hvlinux.git diff --git a/stage2/pkg/udev b/stage2/pkg/udev index ba93614..92d6e67 100644 --- a/stage2/pkg/udev +++ b/stage2/pkg/udev @@ -1,29 +1,20 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --sbindir=/sbin \ - --with-rootlibdir=/lib \ - --libexecdir=/lib/udev \ - --docdir=/usr/share/doc/${PACKAGE} \ - --disable-extras \ - --disable-introspection \ - ${CONFIGURE_OPTS}" +hvconfig_pre() +{ + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --sbindir=/sbin \ + --with-rootlibdir=/lib \ + --libexecdir=/lib/udev \ + --docdir=/usr/share/doc/${PACKAGE} \ + --disable-extras \ + --disable-introspection" +} hvbuild_post() { - # Udev has to be configured in order to work properly, as its default - # configuration does not cover all devices. First install two extra - # rules files from Udev to help support device-mapper and RAID setups: - install -m644 -v rules/packages/64-*.rules \ - /lib/udev/rules.d/ - - # Now install a file to create symlinks for certain hand-held devices: - install -m644 -v rules/packages/40-pilot-links.rules \ - /lib/udev/rules.d/ - - # Now install a file to handle ISDN devices: - install -m644 -v rules/packages/40-isdn.rules \ - /lib/udev/rules.d/ + cd ${LFS_TMP}/${PACKAGE} install -m755 ${SCRDIR}/misc/udev-create-persistent-net.sh /usr/local/bin }