Skip to content

Commit fa2e4c5

Browse files
committed
Do not hardcode list of udev helpers
The list of udev helpers was necessary until udev rule parsing became possible. Now the rule parser allows to find helpers that are used and not pack unused ones. Signed-off-by: Alexey Gladkov <[email protected]>
1 parent e163a41 commit fa2e4c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/create-initrd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,9 @@ done
155155

156156
for n in \
157157
"$UDEVD" "$UDEVADM" \
158-
/lib/udev/{ata_id,cdrom_id,scsi_id,edd_id,vol_id,path_id,usb_id,firmware} \
159158
$(find-terminfo linux) \
160-
/var/resolv \
161159
$(find "$KERNEL_MODULES_DIR" -type f \( -name 'modules.*' -a \! -name 'modules.*.bin' \)) \
160+
/var/resolv \
162161
/etc/modprobe.conf;
163162
do
164163
[ ! -e "$n" ] ||

0 commit comments

Comments
 (0)