projects
/
platform
/
upstream
/
buxton.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ea6c3
)
packaging: Add buxton user creation to spec
author
Brad Peters
<brad.t.peters@intel.com>
Wed, 27 Aug 2014 18:37:43 +0000
(11:37 -0700)
committer
José Bollo
<jose.bollo@open.eurogiciel.org>
Mon, 22 Dec 2014 09:37:57 +0000
(10:37 +0100)
This is necessary for the initial DB's to be created
properly, and for the service to run as 'buxton'
Change-Id: Id084518850a8bcfd694bb0952cab5526f3dcc92e
packaging/buxton.spec
patch
|
blob
|
history
diff --git
a/packaging/buxton.spec
b/packaging/buxton.spec
index
8e0f55e
..
6c96bad
100644
(file)
--- a/
packaging/buxton.spec
+++ b/
packaging/buxton.spec
@@
-62,6
+62,9
@@
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/buxton.conf
%post
/sbin/ldconfig
+#buxtond runs as user buxton, which much be created
+useradd buxton
+
buxtonctl create-db base
buxtonctl create-db isp
if [ "$1" -eq 1 ] ; then