mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

  1. BINLIST="
  2. sbin/udevd
  3. sbin/udevadm
  4. "
  5. for x in $BINLIST
  6. do
  7. add_with_deps $rootdir/$x /$x
  8. done
  9. cat <<EOF
  10. dir /etc/udev 0755 0 0
  11. dir /etc/udev/rules.d 0755 0 0
  12. file /etc/udev/udev.conf $rootdir/etc/udev/udev.conf 644 0 0
  13. dir /lib/udev 0755 0 0
  14. dir /lib/udev/rules.d 0755 0 0
  15. dir /lib/udev/devices 0755 0 0
  16. dir /lib/udev/devices/bus 0755 0 0
  17. dir /lib/udev/devices/bus/usb 0755 0 0
  18. dir /lib/udev/devices/pts 0755 0 0
  19. dir /lib/udev/devices/shm 0755 0 0
  20. nod /lib/udev/devices/console 0600 0 0 c 5 1
  21. nod /lib/udev/devices/null 0666 0 0 c 1 3
  22. pipe /lib/udev/devices/initctl 600 0 0
  23. slink /lib/udev/devices/fd /proc/self/fd 755 0 0
  24. slink /lib/udev/devices/core /proc/kcore 755 0 0
  25. slink /lib/udev/devices/stdin /proc/self/fd/0 755 0 0
  26. slink /lib/udev/devices/stdout /proc/self/fd/1 755 0 0
  27. slink /lib/udev/devices/stderr /proc/self/fd/2 755 0 0
  28. EOF
  29. (
  30. cd ${rootdir}/
  31. find {etc,lib}/udev/rules.d -maxdepth 1 -type f | while read x
  32. do
  33. echo "file $x $rootdir/$x 644 0 0"
  34. done
  35. find lib/udev -maxdepth 1 -type f | while read x
  36. do
  37. add_with_deps $rootdir/$x /$x
  38. done
  39. )