Skip to content

Commit

Permalink
cleanup verbiage and syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed May 7, 2011
1 parent 94c3712 commit 45d23b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion builders/base
Expand Up @@ -28,7 +28,7 @@ build() {
helpmsg() {
cat<<HELPEOF
This hook provides a crucial base layout for the initramfs. Do not remove
skip this unless you know exactly what you are doing.
this unless you know exactly what you are doing.
HELPEOF
}

Expand Down
16 changes: 7 additions & 9 deletions builders/udev
Expand Up @@ -4,18 +4,17 @@ build() {
# user config
add_file /etc/udev/udev.conf

# needed binaries
add_binary /sbin/udevd
add_binary /sbin/udevadm

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

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

# there's much better ways to do module blacklisting
Expand All @@ -24,9 +23,8 @@ build() {

helpmsg() {
cat<<HELPEOF
This hook will use udev to create your root device node and detect the needed
modules for your root device. It is also required for firmware loading in
initramfs. It is recommended to use this hook.
This hook provides udev to detect and load the modules for your root device.
It is required for loading firmware. This builder is recommended.
HELPEOF
}

Expand Down

0 comments on commit 45d23b2

Please sign in to comment.