pmaports/device/testing/device-raspberry-pi/device-raspberry-pi-kernel-rpi.post-install
Antoine Fontaine e3042a6ffa
raspberry-pi{,0,3,4}: enable swclock (MR 1336)
Following discussions in
https://gitlab.com/postmarketOS/pmaports/-/issues/398, swclock has been
removed from postmarketos-base to avoid setting time incorrectly on
devices with a hardware clock. The various raspberry pi don't have
an hardware clock. This activate swclock back.
2020-06-19 12:31:20 +02:00

6 lines
130 B
Bash

#!/bin/sh
rc-service add swclock boot
cd /boot/dtbs-rpi
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;