consistently lowercase "dracut"
parent
cc68f78d92
commit
600c876968
4
README
4
README
|
@ -1,6 +1,6 @@
|
|||
Dracut
|
||||
dracut
|
||||
------
|
||||
Dracut is a new initramfs infrastructure.
|
||||
dracut is a new initramfs infrastructure.
|
||||
|
||||
Information about the initial goals and aims can be found at
|
||||
https://fedoraproject.org/wiki/Initrdrewrite
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Most of the functionality that dracut implements are actually implemented
|
||||
by dracut modules. Dracut modules live in modules.d, and have the following
|
||||
by dracut modules. dracut modules live in modules.d, and have the following
|
||||
structure:
|
||||
|
||||
dracut_install_dir/modules.d/
|
||||
|
@ -38,7 +38,7 @@ installkernel():
|
|||
|
||||
|
||||
check():
|
||||
Dracut calls this function to check and see if a module can be installed
|
||||
dracut calls this function to check and see if a module can be installed
|
||||
on the initrd.
|
||||
|
||||
When called without options, check should check to make sure that
|
||||
|
|
2
TODO
2
TODO
|
@ -40,5 +40,5 @@ CODE TODO
|
|||
Future Enhancement Requests
|
||||
|
||||
- run ssh server to enter crypto password or perform debugging (supported by debian)
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=524727 - Dracut + encrypted root + networking
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=524727 - dracut + encrypted root + networking
|
||||
|
||||
|
|
|
@ -1171,7 +1171,7 @@ check_mount() {
|
|||
[[ $2 ]] || mods_checked_as_dep+=" $_mod "
|
||||
|
||||
if strstr " $omit_dracutmodules " " $_mod "; then
|
||||
dinfo "Dracut module '$_mod' will not be installed, because it's in the list to be omitted!"
|
||||
dinfo "dracut module '$_mod' will not be installed, because it's in the list to be omitted!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -1200,7 +1200,7 @@ check_mount() {
|
|||
force_add_dracutmodules+=" $_moddep "
|
||||
# if a module we depend on fail, fail also
|
||||
if ! check_module $_moddep; then
|
||||
derror "Dracut module '$_mod' depends on '$_moddep', which can't be installed"
|
||||
derror "dracut module '$_mod' depends on '$_moddep', which can't be installed"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
@ -1230,7 +1230,7 @@ check_module() {
|
|||
[[ $2 ]] || mods_checked_as_dep+=" $_mod "
|
||||
|
||||
if strstr " $omit_dracutmodules " " $_mod "; then
|
||||
dinfo "Dracut module '$_mod' will not be installed, because it's in the list to be omitted!"
|
||||
dinfo "dracut module '$_mod' will not be installed, because it's in the list to be omitted!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -1261,7 +1261,7 @@ check_module() {
|
|||
force_add_dracutmodules+=" $_moddep "
|
||||
# if a module we depend on fail, fail also
|
||||
if ! check_module $_moddep; then
|
||||
derror "Dracut module '$_mod' depends on '$_moddep', which can't be installed"
|
||||
derror "dracut module '$_mod' depends on '$_moddep', which can't be installed"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
@ -1291,7 +1291,7 @@ for_each_module_dir() {
|
|||
for _mod in $_modcheck; do
|
||||
strstr "$mods_to_load" "$_mod" && continue
|
||||
strstr "$omit_dracutmodules" "$_mod" && continue
|
||||
derror "Dracut module '$_mod' cannot be found or installed."
|
||||
derror "dracut module '$_mod' cannot be found or installed."
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1526,7 +1526,7 @@ instmods() {
|
|||
|
||||
if [[ "$_check" = "yes" ]] || ! [[ $DRACUT_KERNEL_LAZY_HASHDIR ]]; then
|
||||
# We use '-d' option in modprobe only if modules prefix path
|
||||
# differs from default '/'. This allows us to use Dracut with
|
||||
# differs from default '/'. This allows us to use dracut with
|
||||
# old version of modprobe which doesn't have '-d' option.
|
||||
local _moddirname=${srcmods%%/lib/modules/*}
|
||||
[[ -n ${_moddirname} ]] && _moddirname="-d ${_moddirname}/"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
__DRACUT_LOGGER__=1
|
||||
|
||||
|
||||
## @brief Logging facility module for Dracut both at build- and boot-time.
|
||||
## @brief Logging facility module for dracut both at build- and boot-time.
|
||||
#
|
||||
# @section intro Introduction
|
||||
#
|
||||
|
@ -89,7 +89,7 @@ __DRACUT_LOGGER__=1
|
|||
# @see dlog_init()
|
||||
|
||||
|
||||
## @brief Initializes Dracut Logger.
|
||||
## @brief Initializes dracut Logger.
|
||||
#
|
||||
# @retval 1 if something has gone wrong
|
||||
# @retval 0 on success.
|
||||
|
|
|
@ -609,7 +609,7 @@ will put it out on the console when it reaches the kernel buffer by doing
|
|||
[[using-the-dracut-shell]]
|
||||
==== Using the dracut shell
|
||||
|
||||
Dracut offers a shell for interactive debugging in the event dracut fails to
|
||||
dracut offers a shell for interactive debugging in the event dracut fails to
|
||||
locate your root filesystem. To enable the shell:
|
||||
|
||||
. Add the boot parameter ''rd.shell'' to your bootloader configuration file
|
||||
|
|
|
@ -249,7 +249,7 @@ As you see, you can skip colons in such a case.
|
|||
+
|
||||
[NOTE]
|
||||
===============================
|
||||
Dracut pipes key to cryptsetup with _-d -_ argument, therefore you need to pipe
|
||||
dracut pipes key to cryptsetup with _-d -_ argument, therefore you need to pipe
|
||||
to crypsetup luksFormat with _-d -_, too!
|
||||
|
||||
Here follows example for key encrypted with GPG:
|
||||
|
|
|
@ -12,10 +12,10 @@ fileloglvl=6
|
|||
# add_dracutmodules option instead.
|
||||
#dracutmodules+=""
|
||||
|
||||
# Dracut modules to omit
|
||||
# dracut modules to omit
|
||||
#omit_dracutmodules+=""
|
||||
|
||||
# Dracut modules to add to the default
|
||||
# dracut modules to add to the default
|
||||
#add_dracutmodules+=""
|
||||
|
||||
# additional kernel modules to the default
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dracut config file customized for RedHat/Fedora.
|
||||
# dracut config file customized for RedHat/Fedora.
|
||||
|
||||
# i18n
|
||||
i18n_vars="/etc/sysconfig/keyboard:KEYTABLE-KEYMAP /etc/sysconfig/i18n:SYSFONT-FONT,FONTACM-FONT_MAP,FONT_UNIMAP"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# /etc/dracut.conf.d/gentoo.conf
|
||||
# Dracut config file customized for Gentoo Base System release 2
|
||||
# dracut config file customized for Gentoo Base System release 2
|
||||
|
||||
udevdir=/lib/udev
|
||||
ro_mnt=yes
|
||||
|
|
14
dracut.spec
14
dracut.spec
|
@ -97,14 +97,14 @@ Conflicts: plymouth < 0.8.0-0.2009.29.09.19.1
|
|||
%endif
|
||||
|
||||
%description
|
||||
Dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
|
||||
dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
|
||||
Unlike existing implementations, dracut does hard-code as little as possible
|
||||
into the initramfs. Dracut contains various modules which are driven by the
|
||||
into the initramfs. dracut contains various modules which are driven by the
|
||||
event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as
|
||||
NFS, iSCSI, NBD, FCoE with the dracut-network package.
|
||||
|
||||
%package network
|
||||
Summary: Dracut modules to build a dracut initramfs with network support
|
||||
Summary: dracut modules to build a dracut initramfs with network support
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Obsoletes: dracut-generic < 008
|
||||
Provides: dracut-generic = %{version}-%{release}
|
||||
|
@ -115,7 +115,7 @@ all purpose initramfs with network support with dracut.
|
|||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
|
||||
%package fips
|
||||
Summary: Dracut modules to build a dracut initramfs with an integrity check
|
||||
Summary: dracut modules to build a dracut initramfs with an integrity check
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: hmaccalc
|
||||
%if 0%{?rhel} > 5
|
||||
|
@ -132,7 +132,7 @@ all purpose initramfs with dracut, which does an integrity check.
|
|||
%endif
|
||||
|
||||
%package fips-aesni
|
||||
Summary: Dracut modules to build a dracut initramfs with an integrity check with aesni-intel
|
||||
Summary: dracut modules to build a dracut initramfs with an integrity check with aesni-intel
|
||||
Requires: %{name}-fips = %{version}-%{release}
|
||||
|
||||
%description fips-aesni
|
||||
|
@ -141,7 +141,7 @@ all purpose initramfs with dracut, which does an integrity check
|
|||
and adds the aesni-intel kernel module.
|
||||
|
||||
%package caps
|
||||
Summary: Dracut modules to build a dracut initramfs which drops capabilities
|
||||
Summary: dracut modules to build a dracut initramfs which drops capabilities
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: libcap
|
||||
|
||||
|
@ -150,7 +150,7 @@ This package requires everything which is needed to build an
|
|||
all purpose initramfs with dracut, which drops capabilities.
|
||||
|
||||
%package tools
|
||||
Summary: Dracut tools to build the local initramfs
|
||||
Summary: dracut tools to build the local initramfs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dracut i18n module
|
||||
dracut i18n module
|
||||
------------------
|
||||
|
||||
INDEX
|
||||
|
@ -21,7 +21,7 @@ is intended to be generic across different GNU/Linux distributions.
|
|||
i18n and keyboard settings are stored in different files among
|
||||
distributions. To deal with it avoiding hardcoding those differences in
|
||||
the installation script we handle it by mappings between variables used
|
||||
by Dracut and the ones in the system. Package maintainer is expected to
|
||||
by dracut and the ones in the system. Package maintainer is expected to
|
||||
create those for his/her distribution and it's appreciated to share it
|
||||
with us, so we can include it in source package.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dracut gensplash module
|
||||
dracut gensplash module
|
||||
-----------------------
|
||||
|
||||
INDEX
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Dracut cmdline hook
|
||||
Description=dracut cmdline hook
|
||||
Documentation=man:dracut-cmdline.service(8)
|
||||
DefaultDependencies=no
|
||||
Before=dracut-pre-udev.service
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Dracut initqueue hook
|
||||
Description=dracut initqueue hook
|
||||
Documentation=man:dracut-initqueue.service(8)
|
||||
DefaultDependencies=no
|
||||
After=systemd-udev-trigger.service
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Dracut pre-pivot and cleanup hook
|
||||
Description=dracut pre-pivot and cleanup hook
|
||||
Documentation=man:dracut-pre-pivot.service(8)
|
||||
DefaultDependencies=no
|
||||
After=dracut-initqueue.service
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Dracut pre-trigger hook
|
||||
Description=dracut pre-trigger hook
|
||||
Documentation=man:dracut-pre-trigger.service(8)
|
||||
DefaultDependencies=no
|
||||
Before=systemd-udev-trigger.service dracut-initqueue.service
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Dracut pre-udev hook
|
||||
Description=dracut pre-udev hook
|
||||
Documentation=man:dracut-pre-udev.service(8)
|
||||
DefaultDependencies=no
|
||||
Before=systemd-udevd.service dracut-pre-trigger.service
|
||||
|
|
|
@ -72,7 +72,7 @@ install() {
|
|||
VERSION=""
|
||||
PRETTY_NAME=""
|
||||
fi
|
||||
NAME=Dracut
|
||||
NAME=dracut
|
||||
ID=dracut
|
||||
VERSION+="dracut-$DRACUT_VERSION"
|
||||
PRETTY_NAME+="dracut-$DRACUT_VERSION (Initramfs)"
|
||||
|
|
Loading…
Reference in New Issue