Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   dracut    ( 8 )

низкоуровневый инструмент для создания образа initramfs / initrd (low-level tool for generating an initramfs/initrd image)

  Name  |  Synopsis  |  Description  |  Usage  |  Troubleshooting  |  Options  |    Environment    |  Files  |  Availability  |

Окружение (Environment)

INITRD_COMPRESS sets the default compression program. See --compress.

DRACUT_LDCONFIG sets the ldconfig program path and options. Optional. Used for --sysroot.

Default: ldconfig

DRACUT_LDD sets the ldd program path and options. Optional. Used for --sysroot.

Default: ldd

DRACUT_TESTBIN sets the initially tested binary for detecting library paths. Optional. Used for --sysroot. In the cross-compiled sysroot, the default value (/bin/sh) is unusable, as it is an absolute symlink and points outside the sysroot directory.

Default: /bin/sh

DRACUT_INSTALL overrides path and options for executing dracut-install internally. Optional. Can be used to debug dracut-install while running the main dracut script.

Default: dracut-install

Example: DRACUT_INSTALL="valgrind dracut-install"

DRACUT_COMPRESS_BZIP2, 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 overrides for compression utilities to support using them from non-standard paths.

Default values are the default compression utility names to be found in PATH.

DRACUT_ARCH overrides the value of uname -m. Used for --sysroot.

Default: empty (the value of uname -m on the host system)

SYSTEMD_VERSION overrides systemd version. Used for --sysroot.

SYSTEMCTL overrides the systemctl binary. Used for --sysroot.

NM_VERSION overrides the NetworkManager version. Used for --sysroot.

DRACUT_INSTALL_PATH overrides PATH environment for dracut-install to look for binaries relative to --sysroot. 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.

Default: PATH

DRACUT_INSTALL_LOG_TARGET overrides DRACUT_LOG_TARGET for dracut-install. It allows running dracut-install* to run with different log target that dracut** runs with.

Default: DRACUT_LOG_TARGET

DRACUT_INSTALL_LOG_LEVEL overrides DRACUT_LOG_LEVEL for dracut-install. It allows running dracut-install* to run with different log level that dracut** runs with.

Default: DRACUT_LOG_LEVEL