Commit 6c7e6532 authored by Guido Gunther's avatar Guido Gunther 💤
Browse files Don't copy dtbs if flash-kernel is in use

Less stream lined targets like the NXP EVKs need a hand copied
dtb but the devkit doesn't so don't copy in this case.
parent 406961a5
......@@ -36,6 +36,8 @@ function setup_qemu()
function setup_kernel()
local link
local fdt_source
mkdir -p tmp/
......@@ -55,13 +57,11 @@ function setup_kernel()
gunzip "${basedir}/boot/Image.gz"
# Reconfigure kernel package to trigger kernel hooks
chroot "${basedir}" dpkg-reconfigure $(basename ${kernel_deb%%_*})
cp ${fdt_source} "${basedir}/boot/dtbs/"
# Make sure we have the kernel available for tests
[ -z "${fdt_source}" ] || cp ${fdt_source} "${basedir}/boot/dtbs/"
Supports Markdown
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