Mercurial > hg > control-images
view images/lfs-bootstrap/mnt/build/udev.sh @ 19:b151b87ddf35
The installed files should be world readable.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 06 Nov 2011 09:27:37 -0600 |
parents | bcd2e358d57f |
children |
line wrap: on
line source
#!/bin/sh mkdir -p /lib/udev/devices || exit 1 if [ ! -e /lib/udev/devices/null ] then mknod -m0666 /lib/udev/devices/null c 1 3 || exit 1 fi sed -i 's/ libudev-install-move-hook//' Makefile.in && install -d /lib/firmware /lib/udev/devices/pts /lib/udev/devices/shm && ./configure --sysconfdir=/etc --sbindir=/sbin \ --with-rootlibdir=/lib --libexecdir=/lib/udev --disable-extras \ --disable-introspection && make -j $CPUS || exit 1 if [ ! -z "$CHECK" ] then make check || exit 1 fi make install && rmdir /usr/share/doc/udev && cd /mnt/packages/udev-config && make -j $CPUS install || exit 1 if [ ! -z "$DOCS" ] then make install-doc fi