Commit 7cd0f44d authored by Guido Gunther's avatar Guido Gunther

Update zImage symlink when installing new kernels

parent 07d1ef4c
# see Chapter 8 of Debian Linux Kernel Handbook
set -e
# ignored
ln -sf $(basename "${_vmlinuz}") /boot/zImage
......@@ -59,6 +59,7 @@ function setup_kernel()
local link="$(basename $basedir/boot/vmlinuz-*)"
rm -f "${basedir}/boot/zImage"
ln -s "${link}" "${basedir}/boot/zImage"
cp data/update-zImage-link "${basedir}/etc/kernel/postinst.d/"
mkdir -p "${basedir}/boot/dtbs"
cp "${basedir}"/usr/lib/linux-image-*/${fdt_file} "${basedir}/boot/dtbs/"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment