aboutsummaryrefslogtreecommitdiffstats
path: root/update-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-kernel.in b/update-kernel.in
index 34b45dd..f4d2e8c 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -234,7 +234,8 @@ done
if [ "$ARM" ]; then
DTBDIR=$ROOT/usr/lib/linux-$KVER
[ "$BUILDDIR" ] && DTBDIR=$BUILDDIR/source/arch/arm/boot/dts
- cp "$DTBDIR"/*.dtb $DTB_STAGING
+ cp -a "$DTBDIR"/* $DTB_STAGING
+ find "$DTB_STAGING" -type f \! -name "*.dtb" -delete
fi