#941251 simple-cdd: udebs from debian_mirror_extra are not automatically included

#941251#5
Date:
2019-09-27 07:09:22 UTC
From:
To:
With the following setup:

  - debian_mirror pointing to a snapshot of stretch containing 4.9.0-8
    udebs
  - debian_mirror_extra pointing to a local mirror containing 4.9.0-9
    udebs
  - mirror_udebcomponents_extra being set to "main"

simple-cdd will still use the 4.9.0-8 udebs from the main mirror,
instead of the 4.9.0-9 ones from the extra mirror. It can be explained
by looking it at mirror_reprepro.py:

    "default-extra": {
      "Suite": "*",
      "Architectures": "{ARCHES}",
      "Components": "{mirror_components_extra}",
      "UDebComponents": "{mirror_udebcomponents_extra}",
      "Method": "{debian_mirror_extra}",
      "FilterList": "deinstall package-list",
      "VerifyRelease": "{verify_release_keys}",
      "ListShellHook": "{debian_mirror_extra_list_shell_hook}",
     },

Since the 4.9.0-0 udebs are not explicitely listed in foo.packages file,
they're not being pulled from the extra_mirror because of "deinstall
package-list".

For this use case, am I expected to manually list them all in my
foo.packages ? I find this slightly counter-intuitive, because I do not
have to do this for "default" packages: for instance, a more recent
libdbus placed on the extra_mirror will automatically be included
without having to explicitly list it in foo.packages.

I'm merely trying to get some clarification on the intended behavior
here :)

Cheers,