Bug#793493: debian-policy: Update dpkg-architecture flags information
Guillem Jover <guillem@debian.org> writes:
> Here's a partial update to match the current dpkg-architecture output.
> I've left the MULTIARCH variable alone, because that's supposedly
> tracked on another bug.
> The wording might be a bit unnatural, review by a native speaker
> advised. :)
These all look good to me. Seconded (and quoted below for the convenience
of others who may want to review and second).
> From 0bc030c417adfa7ca50944c918101dd9ce62bebb Mon Sep 17 00:00:00 2001
> From: Guillem Jover <guillem@debian.org>
> Date: Fri, 24 Jul 2015 17:17:58 +0200
> Subject: [PATCH 1/2] Update information about DEB_TARGET_* variables
> These are used to support building cross-compilers. Introduced in
> dpkg 1.17.14.
> ---
> policy.sgml | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)
> diff --git a/policy.sgml b/policy.sgml
> index 404dc73..72a2505 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -2175,9 +2175,16 @@ zope.
> the architecture on which <file>debian/rules</file> is run and
> the package build is performed. The host architecture is the
> architecture on which the resulting package will be installed
> - and run. These are normally the same, but may be different in
> + and run. The target architecture is the architecture of the
> + packages that the compiler currently being built will generate.
> + These are normally the same, but may be different in
> the case of cross-compilation (building packages for one
> - architecture on machines of a different architecture).
> + architecture on machines of a different architecture), building a
> + cross-compiler (a compiler package that will generate objects for
> + one architecture, built on a machine of a different architecture)
> + or a Canadian cross-compiler (a compiler that will generate
> + objects for one architecture, built on a machine of a different
> + architecture, that will run on yet a different architecture).
> </p>
>
> <p>
> @@ -2205,8 +2212,9 @@ zope.
> <tt>DEB_*_GNU_TYPE</tt>)
> </list>
> where <tt>*</tt> is either <tt>BUILD</tt> for specification of
> - the build architecture or <tt>HOST</tt> for specification of the
> - host architecture.
> + the build architecture, <tt>HOST</tt> for specification of the
> + host architecture or <tt>TARGET</tt> for specification of the
> + target architecture.
> </p>
>
> <p>
> --
> 2.5.0.rc2.392.g76e840b
> From 70aaad841a5067db2737ea658532eb92d9376888 Mon Sep 17 00:00:00 2001
> From: Guillem Jover <guillem@debian.org>
> Date: Fri, 24 Jul 2015 17:19:06 +0200
> Subject: [PATCH 2/2] Update information about DEB_*_ARCH_* variables
> Mention DEB_*_ARCH_BITS and DEB_*_ARCH_ENDIAN. Introduced in dpkg 1.15.4.
> ---
> policy.sgml | 6 ++++++
> 1 file changed, 6 insertions(+)
> diff --git a/policy.sgml b/policy.sgml
> index 72a2505..b7f0464 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -2197,6 +2197,12 @@ zope.
> <tt>DEB_*_ARCH_CPU</tt> (the Debian CPU name)
> </item>
> <item>
> + <tt>DEB_*_ARCH_BITS</tt> (the Debian CPU pointer size in bits)
> + </item>
> + <item>
> + <tt>DEB_*_ARCH_ENDIAN</tt> (the Debian CPU endianness)
> + </item>
> + <item>
> <tt>DEB_*_ARCH_OS</tt> (the Debian System name)
> </item>
> <item>
> --
> 2.5.0.rc2.392.g76e840b
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: