Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions systemd-boot/add-kernel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ err=0

if [ -x /usr/bin/sdbootutil ] ; then
version="$1"
if [ ! -x /lib/modules/$version/vmlinuz ] ; then
ln -s /boot/vmlinuz-$version /lib/modules/$version/vmlinuz
fi
# kernel and initrd files are ignored, as sdbootutil is the one that
# will find the correct kernel file from the snapshots, and will
# create the correct initrd for the system
Expand Down