Make sure /etc/initrd exist.
Test SYSTEMD-INITRD confirms no regression as this tests
now no longer includes the base module and it still passes
the boot tests with systemd (hence the perf tag).
# called by dracut
depends() {
- echo base systemd-udevd systemd-journald systemd-tmpfiles
+ echo systemd-udevd systemd-journald systemd-tmpfiles
}
# called by dracut
install() {
+ # The existence of this file is required
+ if ! [[ -e "$initdir/etc/initrd-release" ]]; then
+ : > "$initdir/etc/initrd-release"
+ fi
+
inst_multiple -o \
"$systemdsystemunitdir"/initrd.target \
"$systemdsystemunitdir"/initrd-fs.target \