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:
parent
b23860aba6
commit
e3042a6ffa
9 changed files with 14 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-raspberry-pi
|
||||
pkgdesc="Raspberry Pi"
|
||||
pkgver=0.1
|
||||
pkgrel=12
|
||||
pkgrel=13
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armhf"
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-service add swclock boot
|
||||
|
||||
cd /boot/dtbs-rpi
|
||||
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-service add swclock boot
|
||||
|
||||
cd /boot/dtbs-rpi2
|
||||
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-raspberry-pi0
|
||||
pkgdesc="Raspberry Pi Zero"
|
||||
pkgver=0.1
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armhf"
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-service add swclock boot
|
||||
|
||||
cd /boot/dtbs-rpi/
|
||||
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-raspberry-pi3
|
||||
pkgdesc="Raspberry Pi 3B/3B+"
|
||||
pkgver=0.1
|
||||
pkgrel=10
|
||||
pkgrel=11
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-service add swclock boot
|
||||
|
||||
cd /boot/dtbs-rpi/
|
||||
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=device-raspberry-pi4
|
||||
pkgdesc="Raspberry Pi 4"
|
||||
pkgver=0.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-service add swclock boot
|
||||
|
||||
cd /boot/dtbs-rpi4/
|
||||
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;
|
||||
|
|
Loading…
Reference in a new issue