Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
toki
build-systems
yocto
meta-toki
Commits
cdc3460e
Commit
cdc3460e
authored
Jan 27, 2020
by
Oliver Horst
Browse files
[chg] Added support for relative hw-image paths
parent
4eb4aacb
Changes
1
Hide whitespace changes
Inline
Side-by-side
conf/distro/include/toki_config_parser.inc
View file @
cdc3460e
...
...
@@ -44,9 +44,15 @@ def get_toki_core_config_path(d):
return
toki_config_path
def
get_toki_hw_image
(
d
)
:
import
os
config
=
get_toki_deployment_config
(
d
)
return
config
[
"hw-image"
]
path
=
config
[
"hw-image"
]
if
not
os
.
path
.
isabs
(
path
)
:
path
=
os
.
path
.
join
(
os
.
getenv
(
'TOKI_SRC_DIR'
,
os
.
curdir
),
path
)
return
path
def
get_toki_master_core
(
d
)
:
config
=
get_toki_deployment_config
(
d
)
...
...
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