Enable dbus service by default (#628)

Quite a few things use dbus (plasma, hildon, ofono, connman,
networkmanager, etc) that I think it makes sense to just have this
started by default in pmOS rather than have every device package
implement this on their own.

In case someone shows up with a use-case, where dbus by default
is not desired, please speak up. Possible solutions are in #628.
This commit is contained in:
clayton craft 2017-09-25 20:33:04 +00:00 committed by Oliver Smith
parent 5671609d07
commit 8272ba2d52
4 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
pkgname=device-nokia-rx51
pkgver=1
pkgrel=18
pkgrel=19
pkgdesc="Nokia N900"
url="https://github.com/postmarketOS"
arch="noarch"
@ -68,4 +68,4 @@ df5dcae9a32d04ba2fed8b4dbb8722f8d56d063a288dfbaeca37806bdbb8ba4de639b392859b9f24
7761aec6e6e219245b006e7bdc1d19812e9c5915cf3e64bb3dd46bb4b5570c1715650b53a1fc1007cb814076b5d81be0a66ba7ebf06d9a1fa4e364725c3ee633 acpi.map
c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
12d5c1cc4295bbcaad5f0aa7dc73055ed062e53be2d249c2d067624da8fe373fc3c49f68462797d0fc3b9a79079ca657aece77437319dc9772c2624844873891 device-nokia-rx51.post-install"
359ed3a0393c57ef7ba9c6ab3e908114df6848035863e1a1f23dffcf3309c02bb27e532cb6a086dbcc4a83447c9e42215757d139732d014d5b6a8ea62a12e4a0 device-nokia-rx51.post-install"

View File

@ -13,8 +13,6 @@ rc-update add hwdrivers boot
rc-update add networking default
# Trigger udev on boot (necessary to get the nokia-modem stuff to register with udev)
rc-update add udev-trigger default
# Dbus is required by ofono
rc-update add dbus default
# Enable ofono
rc-update add ofono default

View File

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

View File

@ -9,7 +9,7 @@ done
for service in hwclock modules sysctl hostname bootmisc syslog; do
rc-update -q add $service boot
done
for service in haveged sshd udev wpa_supplicant swapfile; do
for service in dbus haveged sshd swapfile udev wpa_supplicant; do
rc-update -q add $service default
done
for service in mount-ro killprocs savecache; do