diff options
author | M0Rf30 | 2019-10-18 17:23:34 +0200 |
---|---|---|
committer | M0Rf30 | 2019-10-18 17:23:34 +0200 |
commit | c0a9dc7baa74c65dd5d27437764078fbea921ea2 (patch) | |
tree | cb14b46850771cf9ffa5ddea781ccf58e7d01ee5 | |
parent | d85b966a9c24a7b7d561fdcecb241b2832b6e2e9 (diff) | |
download | aur-c0a9dc7baa74c65dd5d27437764078fbea921ea2.tar.gz |
mycroft-core: some sysusers fixes
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | mycroft-core.install | 4 | ||||
-rw-r--r-- | mycroft.sysusers | 3 | ||||
-rw-r--r-- | mycroft.tmpfiles | 2 |
5 files changed, 10 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = mycroft-core pkgdesc = The Mycroft Artificial Intelligence platform. pkgver = 19.8.1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/MycroftAI/mycroft-core install = mycroft-core.install arch = i686 @@ -34,8 +34,8 @@ pkgbase = mycroft-core source = mycroft.sysusers source = mycroft.service md5sums = 04ec4428ad8ee3787e798bcd5a7ed23a - md5sums = 679808c9cbbcd0770772a08345cd752f - md5sums = f4b41cc9e1a7308c8833f0f7804d8c02 + md5sums = b09b8ac1a4c1fbb17c79bde8d6520ea1 + md5sums = 578b9531acff7b5bf96d776bbd327d15 md5sums = fc7662b4e3b499cbb0b4f8df12b0ce80 pkgname = mycroft-core @@ -3,7 +3,7 @@ pkgname=mycroft-core pkgver=19.8.1 -pkgrel=3 +pkgrel=4 pkgdesc="The Mycroft Artificial Intelligence platform." arch=('i686' 'x86_64') url='https://github.com/MycroftAI/mycroft-core' @@ -69,6 +69,6 @@ package() { } md5sums=('04ec4428ad8ee3787e798bcd5a7ed23a' - '679808c9cbbcd0770772a08345cd752f' - 'f4b41cc9e1a7308c8833f0f7804d8c02' + 'b09b8ac1a4c1fbb17c79bde8d6520ea1' + '578b9531acff7b5bf96d776bbd327d15' 'fc7662b4e3b499cbb0b4f8df12b0ce80') diff --git a/mycroft-core.install b/mycroft-core.install index 03e2141e6e1d..0c4fb6528033 100644 --- a/mycroft-core.install +++ b/mycroft-core.install @@ -1,8 +1,4 @@ post_install() { - echo "====> Please add mycroft user to these groups" - echo "==== sudo gpasswd -a mycroft audio" - echo "==== sudo gpasswd -a mycroft dbus" - echo "==== sudo gpasswd -a mycroft network" echo "====> Replace this line within /etc/pulse/default.pa:" echo "==== load-module module-native-protocol-unix" echo "====> with:" diff --git a/mycroft.sysusers b/mycroft.sysusers index ee92d9cf6a45..4472182d9519 100644 --- a/mycroft.sysusers +++ b/mycroft.sysusers @@ -1,2 +1,5 @@ u mycroft - "Mycroft" /var/lib/mycroft /usr/bin/login g mycroft - - +m mycroft audio +m mycroft dbus +m mycroft network diff --git a/mycroft.tmpfiles b/mycroft.tmpfiles index 0e709e16b3b7..e1d5f2d75812 100644 --- a/mycroft.tmpfiles +++ b/mycroft.tmpfiles @@ -1,5 +1,5 @@ Z /usr/share/mycroft-core 0755 mycroft mycroft -Z /var/lib/mycroft 0755 mycroft mycroft +d /var/lib/mycroft 0755 mycroft mycroft d /var/log/mycroft 0755 mycroft mycroft d /opt/mycroft/ 0755 mycroft mycroft d /tmp/mycroft/ 0755 mycroft mycroft |