Subject: [alpine-aports] [PATCH] linux-rpi: Installing dtb-files into /boot

From: Marian Buschsieweke <[email-masked]>
Date: Fri, 15 Apr 2016 17:15:46 +0200

Instead of "/usr/lib/linux-${_abi_release}/" the dtb-files will be installed
into "/boot/", as these are required to be stored on the boot partition along
with the kernel, which is installed into "/boot/". With this change a kernel
update on a Pi will work fully automatically, as the user no longer needs to
take care to copy the .dtb-Files manually into her boot partition.
---
 main/linux-rpi/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD
index 80183d8b..bc94310 100644
--- a/main/linux-rpi/APKBUILD
+++ b/main/linux-rpi/APKBUILD
@@ -108,7 +108,7 @@ _package() {
 	local _install
 	case "$CARCH" in
 	arm*)
-		local _dtbdir="$_outdir"/usr/lib/linux-${_abi_release}
+		local _dtbdir="$_outdir"/boot
 		cd "$srcdir"/build-$_buildflavor/arch/arm/boot/dts || return 1
 		mkdir -p "$_dtbdir"
 		find . -name "*.dtb" -type f | cpio -pdm "$_dtbdir"
-- 
2.8.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---