aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-update-kernel-fix-rpi-missing-overlays.patch
blob: 115998c6e4916d65cb850b3f64cbfc625a168a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 010bc7742962b4d5530ea65bff64f2e03db8639e Mon Sep 17 00:00:00 2001
From: ScrumpyJack <scrumpyjack@st.ilet.to>
Date: Wed, 22 Jun 2016 09:26:32 +0000
Subject: [PATCH 1/3] 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
 
 
-- 
2.9.1