Fix #570: postmarketos-base: Start swclock service on boot (#660)

This service will set system time from the mtime of a file written on shutdown.
This commit is contained in:
clayton craft 2017-10-01 00:51:32 +00:00 committed by Oliver Smith
parent c30957ca67
commit 08ada9641d
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
pkgname=postmarketos-base
pkgver=3
pkgrel=5
pkgrel=6
pkgdesc="Meta package for minimal postmarketOS base"
url="https://github.com/postmarketOS"
arch="noarch"
@ -55,4 +55,4 @@ sha512sums="c6de3b44bc45b9f9c641a7e34c69a481ee39b99ac0251cd28f2b3aae49c1a8d1ca44
3ceeee37f558e7c95ad973692b6a437f997e6b46c3d1c2257ddfb1529a5633477373aa123c7f08164e818daae50acb203d151379f27ca11bd458809e6a0d4de7 swapfile
f5cc0f1265955d2646e5f099dd4b5d4c287945bfc18c16044db57670d456f55c678fc11cc59e6dab3fa340832ce869d516302a3a35c13518539ed0cedca51819 swapfile.init
e0d2d48b82a03239a4c0a00acaf83e00d397c23a8d7c71053d4e2a383357c22dcedef9e81b0e12a1d7514e1fdbe0bb3eb82613d18b29034a7ce5447f13c84a53 swapfile.conf
74abdad3dbaba7fd2a46016430bda724e9b8b995f22784e20389a3c20e70ee5e2c3c2c4889996024babb4c2e5f6cb71be5997cd29d3f0c8fb06be17daf5accb6 postmarketos-base.post-install"
90a4ced45eded690a5ee3ef65991827d2bbc0f8ba964fbafb1ff703a0deebf61d48b335d942ce9175d57e4ec18ff1f4820ce5c04255d5b97dad7d8fb72264d48 postmarketos-base.post-install"

View File

@ -10,7 +10,7 @@ setup-udev -n
for service in devfs dmesg; do
rc-update -q add $service sysinit
done
for service in hwclock modules sysctl hostname bootmisc syslog; do
for service in hwclock modules sysctl hostname bootmisc swclock syslog; do
rc-update -q add $service boot
done
for service in dbus haveged sshd swapfile wpa_supplicant; do