dracut/modules.d
Böszörményi Zoltán a01204202b Allow running on a cross-compiled rootfs
For the shell scripts, new environment variables were introduced.

dracutsysrootdir is the root directory, file existence checks use it.

DRACUT_LDCONFIG can override ldconfig with a different one that works
on the sysroot with foreign binaries.

DRACUT_LDD can override ldd with a different one that works
with foreign binaries.

DRACUT_TESTBIN can override /bin/sh. A cross-compiled sysroot
may use symlinks that are valid only when running on the target
so a real file must be provided that exist in the sysroot.

DRACUT_INSTALL now supports debugging dracut-install in itself
when run by dracut but without debugging the dracut scripts.
E.g. DRACUT_INSTALL="valgrind dracut-install or
DRACUT_INSTALL="dracut-install --debug".

DRACUT_COMPRESS_BZIP2, DRACUT_COMPRESS_LBZIP2, DRACUT_COMPRESS_LZMA,
DRACUT_COMPRESS_XZ, DRACUT_COMPRESS_GZIP, DRACUT_COMPRESS_PIGZ,
DRACUT_COMPRESS_LZOP, DRACUT_COMPRESS_ZSTD, DRACUT_COMPRESS_LZ4,
DRACUT_COMPRESS_CAT: All of the compression utilities may be
overridden, to support the native binaries in non-standard places.

DRACUT_ARCH overrides "uname -m".

SYSTEMD_VERSION overrides "systemd --version".

The dracut-install utility was overhauled to support sysroot via
a new option -r and fixes for clang-analyze. It supports
cross-compiler-ldd from
https://gist.github.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f

DRACUT_INSTALL_PATH was introduced so dracut-install can work with
a different PATH. In a cross-compiled environment (e.g. Yocto), PATH
points to natively built binaries that are not in the host's /bin,
/usr/bin, etc. dracut-install still needs plain /bin and /usr/bin
that are relative to the cross-compiled sysroot.

The hashmap pool allocate_tile/deallocate_tile code was removed
because clang-analyze showed errors in it. hashmap_copy was removed
because it wasn't used and clang-analyze showed errors in it.

DRACUT_INSTALL_LOG_TARGET and DRACUT_INSTALL_LOG_LEVEL were
introduced so dracut-install can use different settings from
DRACUT_LOG_TARGET and DRACUT_LOG_LEVEL.

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
2019-10-25 11:58:58 +02:00
..
00bash
00bootchart
00dash
00mksh add mksh support 2019-10-25 11:29:30 +02:00
00systemd Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
00warpclock Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
01fips Support only fips=1 not fips 2019-10-25 11:47:04 +02:00
01systemd-initrd 01systemd-initrd: remove redundant code from 99base 2019-10-22 13:49:03 +02:00
02caps
02systemd-networkd Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
03modsign Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
03rescue
04watchdog
05busybox kill bogus comment 2018-11-30 16:06:14 +01:00
06rngd rngd: new module running early during boot to help generating entropy 2019-07-19 16:05:45 +02:00
10i18n Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
30convertfs
35network-legacy Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
35network-manager network-manager: generate configuration with netroot= 2019-07-19 16:21:13 +02:00
40network Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
45ifcfg Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
45url-lib Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
50drm Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
50gensplash Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
50plymouth Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
80cms Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +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 Include crc32c-intel module when using btrfs 2017-12-14 13:41:37 +01:00
90crypt Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90dm modules.d: fix udev rules detection of multipath devices 2019-09-04 13:43:20 +02:00
90dmraid modules.d: fix udev rules detection of multipath devices 2019-09-04 13:43:20 +02:00
90dmsquash-live iso-scan: Release resources on iso-scan boots with rd.live.ram 2019-10-25 11:35:15 +02:00
90dmsquash-live-ntfs 90dmsquash-live-ntfs: fix depends() 2018-01-11 13:16:17 +01:00
90kernel-modules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90kernel-modules-extra 90kernel-modules-extra: don't resolve symlinks before instmod 2019-08-02 14:39:09 +02:00
90kernel-network-modules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90livenet swap for loop to POSIX shell compat 2019-10-25 11:37:43 +02:00
90lvm Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90mdraid Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90multipath Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
90ppcmac modules.d: add a module for early fan control on PowerPC Macs 2019-10-25 09:20:04 +02:00
90qemu Consollidate the qemu virtualization detection 2019-07-19 16:26:42 +02:00
90qemu-net Consollidate the qemu virtualization detection 2019-07-19 16:26:42 +02:00
90stratis stratis: Add additional binaries 2018-08-24 08:46:13 +02:00
91crypt-gpg Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
91crypt-loop Include both and in luks key name. 2017-08-03 21:47:06 -04:00
91zipl Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95cifs Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95dasd Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95dasd_mod Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95dasd_rules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95dcssblk Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95debug Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95fcoe Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95fcoe-uefi fcoe-uefi: Add check for usage 2017-12-15 21:19:30 +01:00
95fstab-sys Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95iscsi Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95lunmask 95lunmask: Add module to handle LUN masking 2017-12-19 00:34:45 +01:00
95nbd nbd: use systemd-run to start nbd-client 2017-07-28 15:15:02 +02:00
95nfs Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95qeth_rules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95resume Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95rootfs-block rootfs-block: suppress spurious printing of rootflags 2019-09-03 16:49:05 +02:00
95ssh-client Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95terminfo Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95udev-rules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95virtfs Consollidate the qemu virtualization detection 2019-07-19 16:26:42 +02:00
95zfcp Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95zfcp_rules Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
95znet Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
96securityfs
97biosdevname
97masterkey
98dracut-systemd Fix 98dracut-systemd/dracut-emergency.sh 2019-02-12 14:56:12 +01:00
98ecryptfs
98integrity doc: Fix integrity key name 2019-08-29 10:21:22 +00:00
98pollcdrom
98selinux
98syslog remove bashism in various boot scripts 2019-01-07 12:01:55 +01:00
98usrmount
99base Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
99fs-lib Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
99img-lib fix zstd magic header 2018-04-19 06:31:23 +02:00
99shutdown shutdown: fix shutdown with console=null 2019-08-22 16:47:32 +02:00
99squash 99squash: Only start the cleaner on switch-root 2019-10-23 14:40:24 +02:00
99uefi-lib