Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . germinate (2.23-lliurex1) xenial; urgency=medium . * Port code from 2.23 to lliurex xenial version. * Integrated lliurex changes from older versions. Author: M.Angel Juan --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- germinate-2.23.orig/germinate/scripts/germinate_update_metapackage.py +++ germinate-2.23/germinate/scripts/germinate_update_metapackage.py @@ -186,10 +186,14 @@ def main(argv): if seed_name not in mapped_seeds: mapped_seeds.append(seed_name) packages = [] - if options.recursive: - mapped_seeds.extend(structure.inner_seeds(seed_name)) - mapped_seeds = list(set(mapped_seeds)) - + task_seeds_re = re.compile('^Task-Recursive:\s*(.*)', re.I) + with structure[seed_name] as seed: + for line in seed: + task_seeds_match = task_seeds_re.match(line) + if task_seeds_match is not None: + mapped_seeds.extend(structure.inner_seeds(seed_name)) + mapped_seeds = list(set(mapped_seeds)) + break for mapped_seed in mapped_seeds: packages.extend(germinator_method(structure, mapped_seed)) return packages