NACK: [Plucky, Unstable PATCH 0/4] avoid arch-specific debian/control creation

Juerg Haefliger juerg.haefliger at canonical.com
Tue Feb 18 06:14:12 UTC 2025


Invalid subject format. Should be [P/U][PATCH ..]

See: https://canonical-kernel-docs.readthedocs-hosted.com/en/latest/reference/stable-patch-format/


> This patch set is a re-submission of my work during the Hackathon in 2023.

In this case please add [PATCH RESEND ..] to the subject.

...Juerg


> 
> The source package should be independent of the build machine's architecture.
> 
> However, debian/control of Ubuntu kernels depends on the build machine's
> architecture.
> 
> This patch set addresses the following issues:
> 
> [1] sign/unsigned linux-image in the debian/control depends on the
>     build machine's architecture.
> 
>     If a source package is created on a x86_64 build machine, debian/control
>     specifies signed linux-image for all architectures.
> 
> [2] The templates for debian/control contain DESC and =HUMAN= placeholders.
>     These are replaced with information of the build machine's
>     architecture instead of the target architecture.
>     If the binary packages are cross-compiled, this results in
>     incorrect and confusing information.
> 
> 
> 
> Masahiro Yamada (4):
>   UBUNTU: [packaging] split flavour-control.stub
>   UBUNTU: [packaging] generate debian/control with correct
>     signed/unsigned
>   UBUNTU: [packaging] remove DESC and =HUMAN= substitution
>   UBUNTU: [Packaging] add .gitignore and clean more files
> 
>  debian.master/control.d/flavour-control.stub  |  61 +------
>  .../control.d/flavour-signed-control.stub     |  38 +++++
>  debian.master/control.d/vars.generic          |   1 -
>  debian.master/control.d/vars.generic-64k      |   1 -
>  debian.master/control.stub.in                 |   6 +-
>  debian.master/rules.d/amd64.mk                |   1 -
>  debian.master/rules.d/arm64.mk                |   1 -
>  debian.master/rules.d/armhf.mk                |   1 -
>  debian.master/rules.d/i386.mk                 |   1 -
>  debian.master/rules.d/ppc64el.mk              |   1 -
>  debian.master/rules.d/riscv64.mk              |   1 -
>  debian.master/rules.d/s390x.mk                |   1 -
>  debian.master/rules.d/x32.mk                  |   1 -
>  debian/.gitignore                             |  15 ++
>  debian/control.d/flavour-buildinfo.stub       |   5 +-
>  debian/rules                                  |  20 +--
>  debian/scripts/.gitignore                     |   1 +
>  debian/scripts/control-create                 | 158 ++++++++++++------
>  18 files changed, 177 insertions(+), 137 deletions(-)
>  create mode 100644 debian.master/control.d/flavour-signed-control.stub
>  create mode 100644 debian/.gitignore
>  create mode 100644 debian/scripts/.gitignore
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250218/c5f47bd8/attachment.sig>


More information about the kernel-team mailing list