# Prerequisite check(s) for module.
check() {
- # If the binary(s) requirements are not fulfilled
- # return 1 to not include the binary.
+ # If the binary(s) requirements are not fulfilled the module can't be installed
require_binaries coredumpctl || return 1
require_binaries $systemdutildir/systemd-coredump || return 1
}
-# Install the required file(s) for the module in the initramfs.
+# Install the required file(s) and directories for the module in the initramfs.
install() {
- # Install the required directories.
inst_dir /var/lib/systemd/coredump
- # Install the required file(s.
- # Install the kernel configuration parameters for coredump.
- # Install vendor configuration files.
- # Install the systemd type service unit for coredump.
- # Install the binary executable(s) for sysusers.
inst_multiple -o \
$sysctld/50-coredump.conf \
$systemdutildir/coredump.conf \
# Prerequisite check(s) for module.
check() {
- # If the binary(s) requirements are not fulfilled
- # return 1 to not include the binary.
+ # 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.
# Install the required file(s) for the module in the initramfs.
install() {
- # Install vendor repartition configurations
- # Install the systemd type service unit for systemd repart.
- # Install the binary executable(s) for systemd repart
inst_multiple -o \
$libdir/repart.d/*.conf \
$systemdsystemunitdir/systemd-repart.service \
# Prerequisite check(s) for module.
check() {
- # If the binary(s) requirements are not fulfilled
- # return 1 to not include the binary.
+ # If the binary(s) requirements are not fulfilled the module can't be installed
require_binaries busctl || return 1
require_binaries dbus-broker || return 1
require_binaries dbus-broker-launch || return 1
}
-# Install the required file(s) for the module in the initramfs.
+# Install the required file(s) and directories for the module in the initramfs.
install() {
# Create dbus related directories.
inst_dir $dbussystemconfdir
inst_dir $dbussystemservicesconfdir
- # Install the dbus user session configuration file.
- # Install the dbus system configuration file.
- # The systemd module should be providing this and
- # depend on the dbus module. Added here until it does.
- # Install the dbus users and groups configuration file.
- # Install the dbus-broker systemd journal message catalogs files.
- # Install the systemd type service unit for dbus-broker.
- # Install the systemd type socket unit for dbus.
- # Install the dbus target.
- # Install the binary executable(s) for dbus-broker.
inst_multiple -o \
$dbus/session.conf \
$dbus/system.conf \
# Prerequisite check(s) for module.
check() {
- # If the binary(s) requirements are not fulfilled
- # return 1 to not include the binary.
+ # If the binary(s) requirements are not fulfilled the module can't be installed
require_binaries busctl || return 1
require_binaries dbus-daemon || return 1
require_binaries dbus-send || return 1
return 0
}
-# Install the required file(s) for the module in the initramfs.
+# Install the required file(s) and directories for the module in the initramfs.
install() {
# Create dbus related directories.
inst_dir $dbussystemconfdir
inst_dir $dbussystemservicesconfdir
- # Install the dbus system configuration file.
- # The systemd module should be providing this and
- # depend on the dbus module. Added here until it does.
- # Install the systemd type service unit for dbus.
- # Install the systemd type socket unit for dbus.
- # Install the dbus target.
- # Install the binary executable(s) for dbus.
inst_multiple -o \
$dbus/system.conf \
$dbussystem/org.freedesktop.systemd1.conf \