Add distributed cloud repos to StarlingX
Depends-On: https://review.openstack.org/589565 Change-Id: Ibc7d66eeb5000834cc6bb89a1248323f91d0c337 Story: 2002834 Task: 22753 Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
92afe0a11b
commit
518f1f4b56
@ -1,5 +1,5 @@
|
|||||||
TAR_NAME="distributedcloud-client"
|
TAR_NAME="distributedcloud-client"
|
||||||
SRC_DIR="$CGCS_BASE/git/distributedcloud-client"
|
SRC_DIR="$CGCS_BASE/git/distributedcloud-client"
|
||||||
|
|
||||||
TIS_BASE_SRCREV=078b0eed0d9e9de5d5b0f5d82b3f13e7bcfb5d10
|
TIS_BASE_SRCREV=640ee2a980c72b6f97fdd5aef1a66196b4c09272
|
||||||
TIS_PATCH_VER=1
|
TIS_PATCH_VER=GITREVCOUNT+2
|
||||||
|
@ -2,5 +2,5 @@ TAR_NAME="distributedcloud"
|
|||||||
SRC_DIR="$CGCS_BASE/git/distributedcloud"
|
SRC_DIR="$CGCS_BASE/git/distributedcloud"
|
||||||
COPY_LIST="$FILES_BASE/*"
|
COPY_LIST="$FILES_BASE/*"
|
||||||
|
|
||||||
TIS_BASE_SRCREV=ea7caa8567120384a0b6a7abbb567fcc7d22188b
|
TIS_BASE_SRCREV=e82c7b43362bceb8d4ae9d121d023e42268204db
|
||||||
TIS_PATCH_VER=7
|
TIS_PATCH_VER=GITREVCOUNT+8
|
||||||
|
@ -169,4 +169,10 @@ install -p -D -m 640 %{_builddir}/%{pypi_name}-%{version}/etc/dcorch/dcorch.conf
|
|||||||
%dir %attr(0755,root,root) %{_localstatedir}/run/dcorch
|
%dir %attr(0755,root,root) %{_localstatedir}/run/dcorch
|
||||||
%dir %attr(0755,root,root) %{_localstatedir}/cache/dcorch
|
%dir %attr(0755,root,root) %{_localstatedir}/cache/dcorch
|
||||||
%dir %attr(0755,root,root) %{_sysconfdir}/dcorch
|
%dir %attr(0755,root,root) %{_sysconfdir}/dcorch
|
||||||
%config(noreplace) %attr(-, root, root) %{_sysconfdir}/dcorch/dcorch.conf
|
%config(noreplace) %attr(-, dcorch, dcorch) %{_sysconfdir}/dcorch/dcorch.conf
|
||||||
|
%pre dcorch
|
||||||
|
getent group dcorch >/dev/null || groupadd -r --gid 173 dcorch
|
||||||
|
getent passwd dcorch >/dev/null || \
|
||||||
|
useradd --uid 173 -r -g dcorch -d /var/lib/dcorch -s /sbin/nologin \
|
||||||
|
-c "dcorch Daemons" dcorch
|
||||||
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user