aboutsummaryrefslogtreecommitdiffstats
path: root/update-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in2
1 files changed, 1 insertions, 1 deletions
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