pmaports/device/testing/device-raspberry-pi/device-raspberry-pi-kernel-rpi2.post-install
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

5 lines
166 B
Bash

#!/bin/sh
kernver=$(cat /usr/share/kernel/rpi2/kernel.release)
cd /usr/lib/linux-${kernver}/
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;