Shouldn't it be?:
if [ -e "$INITRD_SRC" ]; then
ln -fs "$INITRD_SRC" "$KERNEL_INSTALL_STAGING_AREA"
exit 0
else
echo "$INITRD_SRC does not exist, not installing an initrd"
exit 1
fi
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141741
Title:
55-initrd.install silently exits 0 when initrd missing causing
undetectable kernel panic on NVMe systems
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2141741/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs