From 010bc7742962b4d5530ea65bff64f2e03db8639e Mon Sep 17 00:00:00 2001 From: ScrumpyJack Date: Wed, 22 Jun 2016 09:26:32 +0000 Subject: update-kernel: fix rpi missing overlays Fixes the Linux raspberry pi dtoverlays not being copied into the update-kernel destination directory. --- update-kernel.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-kernel.in b/update-kernel.in index 248c3d1..34a193d 100644 --- a/update-kernel.in +++ b/update-kernel.in @@ -240,7 +240,7 @@ if [ "$ARM" ]; then DTBDIR=$ROOT/usr/lib/linux-$KVER [ "$BUILDDIR" ] && DTBDIR=$BUILDDIR/source/arch/arm/boot/dts 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 -- cgit v1.2.3