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.
This commit is contained in:
Antoine Fontaine 2020-06-18 11:59:59 +02:00 committed by Bart Ribbers
parent b23860aba6
commit e3042a6ffa
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
9 changed files with 14 additions and 4 deletions

View file

@ -2,7 +2,7 @@
pkgname=device-raspberry-pi pkgname=device-raspberry-pi
pkgdesc="Raspberry Pi" pkgdesc="Raspberry Pi"
pkgver=0.1 pkgver=0.1
pkgrel=12 pkgrel=13
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armhf" arch="armhf"

View file

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

View file

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
rc-service add swclock boot
cd /boot/dtbs-rpi2 cd /boot/dtbs-rpi2
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \; find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;

View file

@ -2,7 +2,7 @@
pkgname=device-raspberry-pi0 pkgname=device-raspberry-pi0
pkgdesc="Raspberry Pi Zero" pkgdesc="Raspberry Pi Zero"
pkgver=0.1 pkgver=0.1
pkgrel=6 pkgrel=7
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armhf" arch="armhf"

View file

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

View file

@ -2,7 +2,7 @@
pkgname=device-raspberry-pi3 pkgname=device-raspberry-pi3
pkgdesc="Raspberry Pi 3B/3B+" pkgdesc="Raspberry Pi 3B/3B+"
pkgver=0.1 pkgver=0.1
pkgrel=10 pkgrel=11
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"

View file

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

View file

@ -3,7 +3,7 @@
pkgname=device-raspberry-pi4 pkgname=device-raspberry-pi4
pkgdesc="Raspberry Pi 4" pkgdesc="Raspberry Pi 4"
pkgver=0.1 pkgver=0.1
pkgrel=4 pkgrel=5
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"

View file

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
rc-service add swclock boot
cd /boot/dtbs-rpi4/ cd /boot/dtbs-rpi4/
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \; find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;