immucore/dracut/28immucore/module-setup.sh

31 lines
722 B
Bash
Raw Normal View History

2023-02-01 21:34:07 +00:00
#!/bin/bash
# called by dracut
check() {
require_binaries "$systemdutildir"/systemd || return 1
return 255
}
# called by dracut
depends() {
echo systemd rootfs-block dm fs-lib
#tpm2-tss
return 0
}
# called by dracut
installkernel() {
instmods overlay
}
# called by dracut
install() {
declare moddir=${moddir}
declare systemdutildir=${systemdutildir}
declare systemdsystemunitdir=${systemdsystemunitdir}
# Add missing elemental binary, drop once we get yip lib inside immucore as its only needed to run the stages
inst_multiple immucore elemental
inst_script "${moddir}/generator.sh" "${systemdutildir}/system-generators/immucore-generator"
2023-02-01 21:34:07 +00:00
dracut_need_initqueue
}