Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e8003824ea
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 29 lines (22 sloc) 0.596 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#!/bin/bash

build() {
  # user config
  add_file /etc/udev/udev.conf

  add_binary /sbin/udevd
  add_binary /sbin/udevadm

  # udev tools
  for tool in firmware {ata,path,scsi,usb}_id; do
    add_file "/lib/udev/$tool"
  done

  # default rules
  for rules in {50-{firmware,udev-default},60-persistent-storage,80-drivers}.rules; do
    add_file "/lib/udev/rules.d/$rules"
  done
}

helpmsg() {
  cat<<HELPEOF
  This builder provides udev to detect and load the modules for your root device.
  It is required for loading firmware. This builder is recommended.
HELPEOF
}

# vim: set et ts=2 sw=2:
Something went wrong with that request. Please try again.