From 78f6822cd070d0bbf88d69ad1e249ae12a2fbfbc Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Tue, 3 Sep 2019 10:52:16 -0700 Subject: [PATCH] Fix non-empty commit message for OpenEmbedded when no changes (#227) Fix a wild-card expansion that was accidentally matching more than just version portion of recipe filenames. --- superflore/generators/bitbake/gen_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superflore/generators/bitbake/gen_packages.py b/superflore/generators/bitbake/gen_packages.py index 4642e1e3..d6d58c99 100644 --- a/superflore/generators/bitbake/gen_packages.py +++ b/superflore/generators/bitbake/gen_packages.py @@ -56,7 +56,7 @@ def regenerate_pkg( component_name, recipe, ) - existing = glob.glob('{}*.bb'.format(prefix)) + existing = glob.glob('{}_*.bb'.format(prefix)) previous_version = None if preserve_existing and existing: ok("recipe for package '%s' up to date, skipping..." % pkg)