From 7b6d40df699ec7d255536bb8a6415f6ff5e5ccb3 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 4 Sep 2019 15:44:10 -0700 Subject: [PATCH] Change operation for OpenEmbedded when --only is specified - 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 #224. --- superflore/generators/bitbake/run.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/superflore/generators/bitbake/run.py b/superflore/generators/bitbake/run.py index f60cd415..32900dc6 100644 --- a/superflore/generators/bitbake/run.py +++ b/superflore/generators/bitbake/run.py @@ -147,21 +147,10 @@ def main(): except KeyError: err("No package to satisfy key '%s'" % pkg) sys.exit(1) - yoctoRecipe.generate_ros_distro_inc( - _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