UBUNTU: [Config] clean up the human consumable package descriptions
authorAndy Whitcroft <apw@canonical.com>
Wed, 15 Feb 2012 18:14:32 +0000 (18:14 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:20:02 +0000 (13:20 -0700)
commit16469513ea2469204bf6e55620f3884c70a2d608
tree14cf32b58ca3d2ce721384bf068ff9ba72409fa3
parent91bcfe2cf76178e5c21b377f061d21dcb42c114c
UBUNTU: [Config] clean up the human consumable package descriptions

Each flavour has a human readable description in its flavour vars.
This is intended to describe the system type in words, for example as
here for powerpc:

    desc="32-bit PowerPC"
    desc="32-bit PowerPC SMP"
    desc="64-bit PowerPC SMP"

On x86 we commonly share flavour names and there this is currently
rather unhelp:

    desc="x86/x86_64"

Additionally for these shared flavours is it impossible to have an accurate
description as it must include all possible architectures, even though
the resultant description is on an architecture specific binary package.

Introduce a human_arch configuration at the archtecture level, this can
then be used as a component in the flavour description.  Use this to
add descriptions for the x86 architectures:

    human_arch = 64 bit x86
    human_arch = 32 bit x86

Allowing descriptions as below to be specified:

    desc="=HUMAN= SMP"

Resulting in full descriptions as below:

    Linux kernel image for version 3.2.0 on 64 bit x86 SMP

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
12 files changed:
debian.master/control.d/vars.generic
debian.master/control.d/vars.generic-pae
debian.master/control.d/vars.omap
debian.master/control.d/vars.virtual
debian.master/control.stub.in
debian.master/rules.d/amd64.mk
debian.master/rules.d/armel.mk
debian.master/rules.d/armhf.mk
debian.master/rules.d/i386.mk
debian.master/rules.d/powerpc.mk
debian.master/rules.d/ppc64.mk
debian/rules