Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
orchestrator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
orchestrator
Commits
58d5ca9d
Commit
58d5ca9d
authored
Jun 08, 2018
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only update RCC path for RTEMS deployment nodes.
parent
ba2a2943
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
orchestrator/taste-orchestrator.py
orchestrator/taste-orchestrator.py
+5
-4
No files found.
orchestrator/taste-orchestrator.py
View file @
58d5ca9d
...
...
@@ -395,10 +395,11 @@ def SetEnvForRTEMS(platformType):
elif
platformType
.
startswith
(
"PLATFORM_GUMSTIX_RTEMS"
):
src
=
"RTEMS_MAKEFILE_PATH_GUMSTIX"
os
.
putenv
(
"RTEMS_MAKEFILE_PATH"
,
os
.
environ
[
src
])
RMP
=
os
.
getenv
(
"RTEMS_MAKEFILE_PATH"
)
RCCPATH
=
os
.
sep
.
join
(
RMP
.
split
(
os
.
sep
)[:
-
2
]
+
[
"bin"
])
if
RCCPATH
not
in
os
.
getenv
(
"PATH"
):
os
.
putenv
(
"PATH"
,
RCCPATH
+
":"
+
os
.
getenv
(
"PATH"
))
if
'RTEMS'
in
platformType
:
RMP
=
os
.
getenv
(
"RTEMS_MAKEFILE_PATH"
)
RCCPATH
=
os
.
sep
.
join
(
RMP
.
split
(
os
.
sep
)[:
-
2
]
+
[
"bin"
])
if
RCCPATH
not
in
os
.
getenv
(
"PATH"
):
os
.
putenv
(
"PATH"
,
RCCPATH
+
":"
+
os
.
getenv
(
"PATH"
))
except
KeyError
:
panic
(
"You must configure %s in your environment"
%
src
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment