Skip to content

Commit

Permalink
Change operation for OpenEmbedded when --only is specified
Browse files Browse the repository at this point in the history
- The files under conf and files created by superflore-gen-oe-recipes
  are only useful when all of the recipes for a ROS distro are being
  generated => don't generate them when --only is specified.

- Use a slighly different commit message when --only is specified.

- This commit resolves issue ros-infrastructure#224.
  • Loading branch information
herb-kuta-lge committed Nov 19, 2019
1 parent efaa21b commit a2ae3c8
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions superflore/generators/bitbake/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,10 @@ def main():
except KeyError:
err("No package to satisfy key '%s'" % pkg)
sys.exit(1)
yoctoRecipe.generate_rosdistro_conf(
_repo, args.ros_distro, overlay.get_file_revision_logs(
'files/{0}/cache.yaml'.format(args.ros_distro)),
distro.release_platforms, skip_keys)
yoctoRecipe.generate_superflore_datetime_inc(
_repo, args.ros_distro, now)
yoctoRecipe.generate_distro_cache(_repo, args.ros_distro)
yoctoRecipe.generate_rosdep_resolve(_repo, args.ros_distro)
yoctoRecipe.generate_newer_platform_components(
_repo, args.ros_distro)
yoctoRecipe.generate_superflore_change_summary(
_repo, args.ros_distro, overlay.get_change_summary())
# Commit changes and file pull request
title = '{{{0}}} Sync to {0}-cache.yaml as of {1}\n'.format(
args.ros_distro, now)
title =\
'{{{0}}} Selected recipes generated from to '\
'{0}-cache.yaml as of {1}\n'.format(args.ros_distro, now)
regen_dict = dict()
regen_dict[args.ros_distro] = args.only
delta = "Regenerated: '%s'\n" % args.only
Expand Down

0 comments on commit a2ae3c8

Please sign in to comment.