~alpine/aports

linux-rpi: Installing dtb-files into /boot v1 PROPOSED

Marian Buschsieweke: 1
 linux-rpi: Installing dtb-files into /boot

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2638/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] linux-rpi: Installing dtb-files into /boot Export this patch

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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---