7 # Fixme: would be nice if we didn't have to guess, which rules to grab....
8 # ultimately, /lib/initramfs/rules.d or somesuch which includes links/copies
9 # of the rules we want so that we just copy those in would be best
10 inst_multiple udevadm
cat uname blkid
12 inst_multiple
-o /etc
/udev
/udev.conf
14 [ -d ${initdir}/$systemdutildir ] || mkdir
-p ${initdir}/$systemdutildir
15 for _i
in ${systemdutildir}/systemd-udevd
${udevdir}/udevd
/sbin
/udevd
; do
16 [ -x "$_i" ] ||
continue
19 if ! [[ -f ${initdir}${systemdutildir}/systemd-udevd
]]; then
20 ln -fs "$_i" ${initdir}${systemdutildir}/systemd-udevd
24 if ! [[ -e ${initdir}${systemdutildir}/systemd-udevd
]]; then
25 derror
"Cannot find [systemd-]udevd binary!"
32 50-udev-default.rules \
33 55-scsi-sg3_id.rules \
34 58-scsi-sg3_symlink.rules \
35 59-scsi-sg3_utils.rules \
38 60-persistent-storage.rules \
39 61-persistent-storage-edd.rules \
43 75-net-description.rules \
44 80-drivers.rules
95-udev-late.rules \
45 80-net-name-slot.rules\
46 80-net-setup-link.rules \
48 "$moddir/59-persistent-storage.rules" \
49 "$moddir/61-persistent-storage.rules"
51 prepare_udev_rules
59-persistent-storage.rules
61-persistent-storage.rules
53 inst_rules
91-permissions.rules
55 inst_rules
80-drivers-modprobe.rules
57 inst_multiple
-o ${systemdutildir}/network
/*.link
58 [[ $hostonly ]] && inst_multiple
-H -o /etc
/systemd
/network
/*.link
61 for i
in cdrom tape dialout floppy
; do
62 if ! egrep -q "^$i:" "$initdir/etc/group" 2>/dev
/null
; then
63 if ! egrep "^$i:" /etc
/group
2>/dev
/null
; then
65 cdrom
) echo "$i:x:11:";;
66 dialout
) echo "$i:x:18:";;
67 floppy
) echo "$i:x:19:";;
68 tape
) echo "$i:x:33:";;
73 } >> "$initdir/etc/group"
78 ${udevdir}/create_floppy_devices \
80 ${udevdir}/firmware.sh \
82 ${udevdir}/firmware.agent \
83 ${udevdir}/hotplug.functions \
84 ${udevdir}/fw_unit_symlinks.sh \
90 ${udevdir}/pcmcia-socket-startup \
91 ${udevdir}/pcmcia-check-broken-cis
93 inst_multiple
-o /etc
/pcmcia
/config.opts
95 [ -f /etc
/arch-release
] && \
96 inst_script
"$moddir/load-modules.sh" /lib
/udev
/load-modules.sh
98 inst_libdir_file
"libnss_files*"