e3042a6ffa
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.
6 lines
131 B
Bash
6 lines
131 B
Bash
#!/bin/sh
|
|
|
|
rc-service add swclock boot
|
|
|
|
cd /boot/dtbs-rpi2
|
|
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|