Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
0efdded4
Commit
0efdded4
authored
Nov 25, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recipe to package naming fixed
parent
904edceb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
check_versions.py
check_versions.py
+8
-7
No files found.
check_versions.py
View file @
0efdded4
...
...
@@ -109,14 +109,14 @@ def deep_analysis(local,remote):
else
:
recstr
=
bcolors
.
FAIL
+
recstr
+
bcolors
.
ENDC
pl
=
getname
(
pl
,
""
,
"recipe_to_package"
)
update_list
=
update_list
+
" "
+
pl
update_list
=
update_list
+
" bitbake "
+
pl
+
" -c target_scp -f
\n
"
if
not
prfound
:
recstr
=
bcolors
.
WARNING
+
recstr
+
bcolors
.
ENDC
pl
=
getname
(
pl
,
""
,
"recipe_to_package"
)
update_list
=
update_list
+
" "
+
pl
update_list
=
update_list
+
" bitbake "
+
pl
+
" -c target_scp -f
\n
"
print
(
recstr
)
print
(
"
\n
To sync the software on the target run:
\n
bitbake"
+
update_list
+
" -c target_scp -f"
)
print
(
"
\n
To sync the software on the target run:
\n
"
+
update_list
)
# all exceptions in one place
def
getname
(
name
,
project
,
mode
):
...
...
@@ -126,11 +126,12 @@ def getname(name,project,mode):
if
mode
==
"project_to_recipe"
:
if
name
.
find
(
project_prefix
)
==
0
:
name
=
name
[
len
(
project_prefix
):]
if
project
.
find
(
package_prefix
)
==
0
:
name
=
package_prefix
+
name
if
project
.
find
(
package_prefix
)
==
0
:
name
=
package_prefix
+
name
#only exception
if
name
==
"fpga-x393_sata"
:
name
=
"fpga-x393sata"
if
name
==
"fpga-x393_sata"
:
name
=
"fpga-x393sata"
return
name
elif
mode
==
"recipe_to_package"
:
...
...
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