X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Feudev;h=816d5736c725c93881024faa4ee3dd07ec600db2;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=ef42cb4d362883e2f74acf1c5286e88ada1b9da4;hpb=32751d7dc42c50a3dba854fcce525eb53d45efb8;p=hvlinux.git diff --git a/stage2/pkg/eudev b/stage2/pkg/eudev index ef42cb4..816d573 100644 --- a/stage2/pkg/eudev +++ b/stage2/pkg/eudev @@ -9,6 +9,7 @@ hvconfig_pre() --libdir=/usr/lib \ --sysconfdir=/etc \ --libexecdir=/lib \ + --with-rootprefix= \ --with-rootlibdir=/lib \ --enable-split-usr \ --enable-libkmod \ @@ -22,13 +23,17 @@ hvconfig_pre() hvbuild_post() { - install -v -m755 ${SCRDIR}/misc/udev/udev-create-persistent-net.sh \ - /usr/local/bin - for f in ${SCRDIR}/misc/udev/*.rules; do install -v -m644 ${f} /etc/udev/rules.d done sed -i -e "s/\(SYMLINK+=\"cdrom\)\"/\1 dvd\"/" \ /lib/udev/rules.d/60-cdrom_id.rules + + # Remove obsolete rule + sed -i -e "/floppy/d" /lib/udev/rules.d/50-udev-default.rules + + install -dv /lib/{firmware,udev/devices/{pts,shm}} + + install -v -m740 ${SCRDIR}/bootscripts/udev /etc/rc.d/init.d }