Commit 570c204e authored by Angus Ainslie's avatar Angus Ainslie

build-image: there is no vmlinux-* in the kernel deb

We need to unzip th kernel image because there is not one in the
deb package
parent 08fd1cda
......@@ -51,7 +51,8 @@ function setup_kernel()
;;
imx8)
fdt_source="${basedir}"/usr/lib/linux-image-*/freescale/"${fdt_file}"
ln -s "$(basename "${basedir}"/boot/vmlinux-*)" "${basedir}/boot/Image"
cp "${basedir}/boot/${link}" "${basedir}/boot/Image.gz"
gunzip "${basedir}/boot/Image.gz"
;;
esac
cp ${fdt_source} "${basedir}/boot/dtbs/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment