dracut/modules.d
Evgeni Golov c3f241849d fix: skip empty modalias files in drm module setup
on my system (ThinkPad X201s) I have several modalias entries that are
empty:

    /sys/bus/platform/devices/dock.0/modalias
    /sys/bus/platform/devices/dock.1/modalias
    /sys/bus/platform/devices/dock.2/modalias

executing the drm module setup thus results in the following errors

    dracut-install: No SOURCE argument given

when calling dracut_instmods and hostonly mode is enabled.

Skip those entries, as there are no modules to load in this case
anyways.

Note: it is not sufficient to use [['s -s test (file size is greater
than zero), as all those files are 4096B if you stat them.
2021-02-22 14:55:44 +01:00
..
00bash
00dash
00mksh add mksh support 2019-10-25 11:29:30 +02:00
00systemd fix: shellcheck for modules.d/00systemd/module-setup.sh 2021-02-15 11:00:37 +01:00
00warpclock Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
01fips 01fips: turn info calls into fips_info calls 2020-08-21 15:56:53 +02:00
01systemd-ask-password feat(systemd-ask-password): introducing systemd-ask-password module 2021-02-10 15:10:56 +01:00
01systemd-coredump fix: cosmetic comment fixes 2021-02-10 21:26:35 +01:00
01systemd-initrd fix: revise all module checks 2021-02-10 13:29:17 +01:00
01systemd-modules-load feat(systemd-modules-load): introducing systemd-modules-load module 2021-02-10 13:13:18 +00:00
01systemd-repart fix: cosmetic comment fixes 2021-02-10 21:26:35 +01:00
01systemd-sysctl feat(systemd-sysctl): introducing systemd-sysctl module 2021-02-10 15:00:45 +01:00
01systemd-sysusers fix: revise all module checks 2021-02-10 13:29:17 +01:00
02caps fix: shellcheck for modules.d/02caps/caps.sh 2021-02-15 11:00:37 +01:00
02systemd-networkd fix: shellcheck for modules.d/02systemd-networkd/module-setup.sh 2021-02-15 11:00:37 +01:00
03modsign fix: shellcheck for modules.d/03modsign/module-setup.sh 2021-02-15 11:00:37 +01:00
03rescue
04watchdog fix(watchdog): replace return with echo 2021-02-03 12:23:57 +00:00
04watchdog-modules 04watchdog-modules: Simplify install_kernel using new added helper 2020-10-30 10:13:37 +01:00
05busybox fix: use find_binary 2021-02-09 07:09:28 +00:00
06dbus-broker fix: cosmetic comment fixes 2021-02-10 21:26:35 +01:00
06dbus-daemon fix: shellcheck for modules.d/06dbus-daemon/module-setup.sh 2021-02-15 11:00:37 +01:00
06rngd fix: revise all module checks 2021-02-10 13:29:17 +01:00
09dbus fix: revise all module checks 2021-02-10 13:29:17 +01:00
10i18n fix(i18n): get rid of `eval` calls 2021-02-16 15:49:02 +01:00
30convertfs
35network-legacy 35network-legacy: discard pointless RTNETLINK message 2021-02-09 21:04:23 +01:00
35network-manager fix(network-manager): run as a service if systemd module is present 2021-02-19 11:20:59 +01:00
35network-wicked fix: quote globbing in module-setup.sh for inst_multiple 2021-02-09 07:09:28 +00:00
40network fix(network-manager): run as a service if systemd module is present 2021-02-19 11:20:59 +01:00
45ifcfg Write dns values passed by ip argument to ifcfg-* files 2020-01-14 09:33:38 +01:00
45url-lib fix: shellcheck for modules.d/45url-lib/url-lib.sh 2021-02-15 11:00:37 +01:00
50drm fix: skip empty modalias files in drm module setup 2021-02-22 14:55:44 +01:00
50gensplash fix: shellcheck for modules.d/50gensplash/module-setup.sh 2021-02-15 11:00:37 +01:00
50plymouth fix: shellcheck for modules.d/50plymouth/plymouth-populate-initrd.sh 2021-02-15 11:00:37 +01:00
80cms cms: regenerate NetworkManager connections 2020-06-25 10:58:34 +02:00
80lvmmerge 80lvmmerge/README.md: remove executable bits 2018-05-07 10:40:32 +02:00
81cio_ignore Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90btrfs fix: shellcheck for modules.d/90btrfs/btrfs_finished.sh 2021-02-15 11:00:37 +01:00
90crypt fix: shellcheck for modules.d/90crypt/module-setup.sh 2021-02-15 11:00:37 +01:00
90dm fix: shellcheck for modules.d/90dm/module-setup.sh 2021-02-15 11:00:37 +01:00
90dmraid dmraid: require kpartx binary 2019-11-10 01:47:30 +01:00
90dmsquash-live fix: shellcheck for modules.d/90dmsquash-live/apply-live-updates.sh 2021-02-15 11:00:37 +01:00
90dmsquash-live-ntfs 90dmsquash-live-ntfs: fix depends() 2018-01-11 13:16:17 +01:00
90kernel-modules fix(kernel-modules): add reset controllers for arm 2021-02-09 20:35:11 +00:00
90kernel-modules-extra fix: shellcheck for modules.d/90kernel-modules-extra/module-setup.sh 2021-02-15 11:00:37 +01:00
90kernel-network-modules fix: shellcheck for modules.d/90kernel-network-modules/module-setup.sh 2021-02-15 11:00:37 +01:00
90livenet swap for loop to POSIX shell compat 2019-10-25 11:37:43 +02:00
90lvm fix: shellcheck for modules.d/90lvm/module-setup.sh 2021-02-15 11:00:37 +01:00
90mdraid fix: shellcheck for modules.d/90mdraid/module-setup.sh 2021-02-15 11:00:37 +01:00
90multipath feat(dracut.sh): allow overriding the systemctl command for sysroot 2021-02-09 07:09:28 +00:00
90nvdimm fix: quote globbing in module-setup.sh for inst_multiple 2021-02-09 07:09:28 +00:00
90ppcmac 90ppcmac: respect DRACUT_ARCH, don't exclude ppcle 2020-08-03 16:47:51 +02:00
90qemu Consollidate the qemu virtualization detection 2019-07-19 16:26:42 +02:00
90qemu-net 90qemu-net: install less module for strict hostonly mode 2020-10-30 10:13:37 +01:00
91crypt-gpg fix: shellcheck for modules.d/91crypt-gpg/module-setup.sh 2021-02-15 11:00:37 +01:00
91crypt-loop Include both and in luks key name. 2017-08-03 21:47:06 -04:00
91zipl 91zipl: parse-zipl.sh: honor SYSTEMD_READY 2020-07-09 18:06:50 +02:00
95cifs fix: shellcheck for modules.d/95cifs/module-setup.sh 2021-02-15 11:00:37 +01:00
95dasd dasd: only install /etc/dasd.conf if present 2020-03-19 18:05:30 +01:00
95dasd_mod Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95dasd_rules fix: shellcheck for modules.d/95dasd_rules/parse-dasd.sh 2021-02-15 11:00:37 +01:00
95dcssblk fix: shellcheck for modules.d/95dcssblk/module-setup.sh 2021-02-15 11:00:37 +01:00
95debug fix: shellcheck for modules.d/95debug/module-setup.sh 2021-02-15 11:00:37 +01:00
95fcoe fix(fcoe): rename rd.nofcoe to rd.fcoe 2021-02-19 09:28:57 +00:00
95fcoe-uefi fix(1001): use efivars fs over the deprecated sysfs entries 2021-01-25 14:58:11 +00:00
95fstab-sys fix: shellcheck for modules.d/95fstab-sys/module-setup.sh 2021-02-15 11:00:37 +01:00
95iscsi fix: shellcheck for modules.d/95iscsi/cleanup-iscsi.sh 2021-02-15 11:00:37 +01:00
95lunmask 95lunmask: Add module to handle LUN masking 2017-12-19 00:34:45 +01:00
95nbd Revert "nbd: use systemd-run to start nbd-client" 2021-02-10 15:02:41 +01:00
95nfs fix: shellcheck for modules.d/95nfs/module-setup.sh 2021-02-15 11:00:37 +01:00
95nvmf 95nvmf: Implement 'fc,auto' commandline syntax 2020-10-02 15:55:14 +02:00
95qeth_rules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95resume fix: shellcheck for modules.d/95resume/module-setup.sh 2021-02-15 11:00:37 +01:00
95rootfs-block fix: shellcheck for modules.d/95rootfs-block/block-genrules.sh 2021-02-15 11:00:37 +01:00
95ssh-client fix: shellcheck for modules.d/95ssh-client/module-setup.sh 2021-02-15 11:00:37 +01:00
95terminfo fix: shellcheck for modules.d/95terminfo/module-setup.sh 2021-02-15 11:00:37 +01:00
95udev-rules fix: shellcheck for modules.d/95udev-rules/module-setup.sh 2021-02-15 11:00:37 +01:00
95virtfs Consollidate the qemu virtualization detection 2019-07-19 16:26:42 +02:00
95zfcp match simplified rd.zfcp format too 2020-08-04 16:27:48 +02:00
95zfcp_rules fix: shellcheck for modules.d/95zfcp_rules/parse-zfcp.sh 2021-02-15 11:00:37 +01:00
95znet 95znet: Add a rd.znet_ifname= option 2020-04-14 12:56:13 +02:00
96securityfs
97biosdevname
97masterkey
98dracut-systemd fix: revise all module checks 2021-02-10 13:29:17 +01:00
98ecryptfs
98integrity doc: Fix integrity key name 2019-08-29 10:21:22 +00:00
98pollcdrom
98selinux
98syslog fix: use find_binary 2021-02-09 07:09:28 +00:00
98usrmount
99base fix: shellcheck for modules.d/99base/module-setup.sh 2021-02-15 11:00:37 +01:00
99fs-lib fix: shellcheck for modules.d/99fs-lib/module-setup.sh 2021-02-15 11:00:37 +01:00
99img-lib fix zstd magic header 2018-04-19 06:31:23 +02:00
99memstrack feat(dracut.sh): allow overriding the systemctl command for sysroot 2021-02-09 07:09:28 +00:00
99shutdown fix(shutdown): add timeout to umount calls 2021-02-10 14:06:37 +01:00
99squash fix: shellcheck for modules.d/99squash/module-setup.sh 2021-02-15 11:00:37 +01:00
99uefi-lib fix(1001): use efivars fs over the deprecated sysfs entries 2021-01-25 14:58:11 +00:00