aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-06-22 09:26:32 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-05 17:18:24 +0300
commit010bc7742962b4d5530ea65bff64f2e03db8639e (patch)
treee9054c232e9e94451be9a8aa77dc7079f710549a
parent8fe00b1e56fa242b2a4c31df372b05a1a4154b26 (diff)
downloadalpine-conf-010bc7742962b4d5530ea65bff64f2e03db8639e.tar.bz2
alpine-conf-010bc7742962b4d5530ea65bff64f2e03db8639e.tar.xz
update-kernel: fix rpi missing overlays
Fixes the Linux raspberry pi dtoverlays not being copied into the update-kernel destination directory.
-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