Commit 010bc774 authored by Scrumpy Jack's avatar Scrumpy Jack Committed by Timo Teräs

update-kernel: fix rpi missing overlays

Fixes the Linux raspberry pi dtoverlays not being copied into the
update-kernel destination directory.
parent 8fe00b1e
...@@ -240,7 +240,7 @@ if [ "$ARM" ]; then ...@@ -240,7 +240,7 @@ if [ "$ARM" ]; then
DTBDIR=$ROOT/usr/lib/linux-$KVER DTBDIR=$ROOT/usr/lib/linux-$KVER
[ "$BUILDDIR" ] && DTBDIR=$BUILDDIR/source/arch/arm/boot/dts [ "$BUILDDIR" ] && DTBDIR=$BUILDDIR/source/arch/arm/boot/dts
cp -a "$DTBDIR"/* $DTB_STAGING cp -a "$DTBDIR"/* $DTB_STAGING
find "$DTB_STAGING" -type f \! -name "*.dtb" -delete find "$DTB_STAGING" -type f \! \( -name "*.dtb" -o -name "*.dtbo"\) -delete
fi fi
......
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