Loading check_versions.py +8 −7 Original line number Original line Diff line number Diff line Loading @@ -109,14 +109,14 @@ def deep_analysis(local,remote): else: else: recstr = bcolors.FAIL+recstr+bcolors.ENDC recstr = bcolors.FAIL+recstr+bcolors.ENDC pl = getname(pl,"","recipe_to_package") 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: if not prfound: recstr = bcolors.WARNING+recstr+bcolors.ENDC recstr = bcolors.WARNING+recstr+bcolors.ENDC pl = getname(pl,"","recipe_to_package") 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(recstr) print("\nTo sync the software on the target run:\n bitbake"+update_list+" -c target_scp -f") print("\nTo sync the software on the target run:\n"+update_list) # all exceptions in one place # all exceptions in one place def getname(name,project,mode): def getname(name,project,mode): Loading @@ -126,6 +126,7 @@ def getname(name,project,mode): if mode=="project_to_recipe": if mode=="project_to_recipe": if name.find(project_prefix)==0: if name.find(project_prefix)==0: name = name[len(project_prefix):] name = name[len(project_prefix):] if project.find(package_prefix)==0: if project.find(package_prefix)==0: name = package_prefix+name name = package_prefix+name #only exception #only exception Loading Loading
check_versions.py +8 −7 Original line number Original line Diff line number Diff line Loading @@ -109,14 +109,14 @@ def deep_analysis(local,remote): else: else: recstr = bcolors.FAIL+recstr+bcolors.ENDC recstr = bcolors.FAIL+recstr+bcolors.ENDC pl = getname(pl,"","recipe_to_package") 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: if not prfound: recstr = bcolors.WARNING+recstr+bcolors.ENDC recstr = bcolors.WARNING+recstr+bcolors.ENDC pl = getname(pl,"","recipe_to_package") 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(recstr) print("\nTo sync the software on the target run:\n bitbake"+update_list+" -c target_scp -f") print("\nTo sync the software on the target run:\n"+update_list) # all exceptions in one place # all exceptions in one place def getname(name,project,mode): def getname(name,project,mode): Loading @@ -126,6 +126,7 @@ def getname(name,project,mode): if mode=="project_to_recipe": if mode=="project_to_recipe": if name.find(project_prefix)==0: if name.find(project_prefix)==0: name = name[len(project_prefix):] name = name[len(project_prefix):] if project.find(package_prefix)==0: if project.find(package_prefix)==0: name = package_prefix+name name = package_prefix+name #only exception #only exception Loading