It is not required to redefine empty functions.
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries bash || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst /bin/bash
# Prefer bash as default shell if no other shell is preferred.
[[ -L $initdir/bin/sh ]] || ln -sf bash "${initdir}/bin/sh"
-
}
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries dash || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst /bin/dash
# Prefer dash as default shell if no other shell is preferred.
[[ -L $initdir/bin/sh ]] || ln -sf dash "${initdir}/bin/sh"
-
}
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
installkernel() {
hostonly='' instmods autofs4 ipv6 algif_hash hmac sha256
instmods -s efivarfs
# Prerequisite check(s) for module.
check() {
-
# hwclock does not exist on S390(x), bail out silently then
local _arch=${DRACUT_ARCH:-$(uname -m)}
[ "$_arch" = "s390" ] || [ "$_arch" = "s390x" ] && return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst_hook pre-trigger 00 "$moddir/warpclock.sh"
inst_multiple -o \
/etc/localtime \
/etc/adjtime \
hwclock
-
}
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
-# called by dracut
-installkernel() {
- return 0
-}
-
# called by dracut
install() {
inst_hook pre-pivot 01 "$moddir/fips-crypto-policies.sh"
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
installkernel() {
local _fipsmodules _mod _bootfstype
# Prerequisite check(s) for module.
check() {
-
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst_rules "$moddir/99-initrd-power-targets.rules"
inst systemd-ac-power
inst_simple "$moddir/initrd-on-ac-power.target" "$systemdsystemunitdir/initrd-on-ac-power.target"
inst_simple "$moddir/initrd-on-battery-power.target" "$systemdsystemunitdir/initrd-on-battery-power.target"
-
}
echo base systemd-udevd systemd-journald systemd-tmpfiles
}
-installkernel() {
- return 0
-}
-
# called by dracut
install() {
inst_multiple -o \
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed
require_binaries "$systemdutildir"/systemd-modules-load || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install kernel module(s).
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst_multiple -o \
/usr/lib/modules-load.d/*.conf \
"$modulesload/*.conf" \
"$systemdsystemconfdir"/systemd-modules-load.service \
"$systemdsystemconfdir/systemd-modules-load.service.d/*.conf"
fi
-
}
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries systemd-repart || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) for the module in the initramfs.
install() {
-
inst_multiple -o \
"/usr/lib/repart.d/*.conf" \
"$systemdsystemunitdir"/systemd-repart.service \
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries systemd-sysusers || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
inst_simple "$moddir/sysusers-dracut.conf" "$systemdsystemunitdir/systemd-sysusers.service.d/sysusers-dracut.conf"
inst_sysusers basic.conf
"$systemdsystemconfdir"/systemd-sysusers.service \
"$systemdsystemconfdir/systemd-sysusers.service.d/*.conf"
fi
-
}
# Prerequisite check(s) for module.
check() {
-
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries systemd-tmpfiles || return 1
# Return 255 to only include the module, if another module requires it.
return 255
-
-}
-
-# Module dependency requirements.
-depends() {
-
- # Return 0 to include the dependent module(s) in the initramfs.
- return 0
-
}
# Install the required file(s) and directories for the module in the initramfs.
install() {
-
# Excluding "$tmpfilesdir/home.conf", sets up /home /srv
# Excluding "$tmpfilesdir/journal-nocow.conf", requires specific btrfs setup
# Excluding "$tmpfilesdir/legacy.conf", belongs in separated legacy module
"$systemdsystemconfdir"/systemd-tmpfiles-setup-dev-early.service \
"$systemdsystemconfdir/systemd-tmpfiles-setup-dev-early.service.d/*.conf"
fi
-
}
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
-# called by dracut
-install() {
- return 0
-}
-
installkernel() {
local -A _drivers
local _wdtdrv
return 0
}
-# called by dracut
-installkernel() {
- return 0
-}
-
# called by dracut
install() {
# We don't need `ip` but having it is *really* useful for people debugging
return 0
}
-# called by dracut
-installkernel() {
- return 0
-}
-
# called by dracut
install() {
local _nm_version
'=drivers/net/ethernet' \
ecb arc4 bridge stp llc ipv6 bonding 8021q ipvlan macvlan af_packet virtio_net xennet
}
-
-# called by dracut
-install() {
- return 0
-}
return 0
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
installkernel() {
pmac_model() {
return 0
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
install() {
inst_multiple dasdconf.sh
#!/bin/bash
-# called by dracut
-check() {
- return 0
-}
-
# called by dracut
depends() {
echo base fs-lib
return 0
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
installkernel() {
instmods zfcp
return 0
}
-installkernel() {
- return 0
-}
-
# called by dracut
install() {
inst_script "$moddir/dracut-emergency.sh" /bin/dracut-emergency
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
install() {
inst_hook initqueue/settled 99 "$moddir/pollcdrom.sh"
return 255
}
-# called by dracut
-depends() {
- return 0
-}
-
# called by dracut
install() {
local _installs
#!/bin/bash
-# called by dracut
-check() {
- return 0
-}
-
# called by dracut
depends() {
echo udev-rules shell-interpreter
#!/bin/bash
-# called by dracut
-check() {
- return 0
-}
-
echo_fs_helper() {
local fs=$2
case "$fs" in
#!/bin/bash
-# called by dracut
-check() {
- return 0
-}
-
# called by dracut
depends() {
echo base