Ubuntu-focal-kernel/debian/control.d
Seth Forshee 02d8fa275d UBUNTU: [Packaging] move linux-doc and linux-libc-dev stubs to debian.master
When preparing packages which have not flavours for the host
architecture, no debian.foo/rules.d/*.mk files are included. This
means that for the purposes of packaging, all variables get
default values.

This is a problem with the recent variant changes. For example,
when packaging a raspi2 kernel on an amd64 host the values for
do_doc_package and do_libc_dev_package from the arch rules files
are not used, and if the variant is primary linux-doc and
linux-libc-dev will be included in the control file.

We still want the behavior of only building those packages for
the primary variant, but this should be restricted to the master
kernel. Move the control stubs under debian.master, and include
the files only if they exist in the branch's debian directory.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
2020-01-30 16:27:47 +01:00
..
flavour-buildinfo.stub