Commit d44b0aa6 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fpga- packages

parent 218b3f09
...@@ -128,6 +128,7 @@ local_project_list = "projects.json" ...@@ -128,6 +128,7 @@ local_project_list = "projects.json"
local_dirs = ["rootfs-elphel","fpga-elphel","linux-elphel"] local_dirs = ["rootfs-elphel","fpga-elphel","linux-elphel"]
git_vfile = "VERSION" git_vfile = "VERSION"
project_prefix = "elphel-" project_prefix = "elphel-"
package_prefix = "fpga-"
if len(sys.argv)>1: if len(sys.argv)>1:
rootip = sys.argv[1].split("@") rootip = sys.argv[1].split("@")
...@@ -167,6 +168,10 @@ for p,v in Projects.items(): ...@@ -167,6 +168,10 @@ for p,v in Projects.items():
name = k[len(project_prefix):] name = k[len(project_prefix):]
else: else:
name = k name = k
if p.find(package_prefix):
name = package_prefix+name
local_list.append([name.encode('ascii','ignore'),tmp]) local_list.append([name.encode('ascii','ignore'),tmp])
elif isinstance(v,list): elif isinstance(v,list):
tmp = get_version_from_git(p,git_vfile) tmp = get_version_from_git(p,git_vfile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment