aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-10-19 11:19:02 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-10-19 11:19:36 +0300
commitaf3dd2011f928dcb6941fdd90da4daa8db39edde (patch)
tree33ad0d7dfdc4e0d4bf3c64fdee365622a1b82e0b
parentbf5cbd06213b6fdd6dd24fb0c5dd2fe4ca3950f0 (diff)
downloadalpine-conf-af3dd2011f928dcb6941fdd90da4daa8db39edde.tar.bz2
alpine-conf-af3dd2011f928dcb6941fdd90da4daa8db39edde.tar.xz
update-kernel: install overlay dtbs too
-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