-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amit Dor-Shifer wrote:
> When you say ut checks CHOST/keywording, where are those definitions
> stored for the binary pkg?

It's appended to the tail end of the tbz2, in xpak format (see `man
5 xpak`).

> I see one instance of CHOST in the 'Packages' index on the BINHOST. Is
> that the variable emerge is comparing against? If not, where is it? the
> tbz itself holds just the binaries.

Yes, for remote packages, the Package index contains equivalent data
to the actual xpak segments from the remote packages. The CHOST for
individual packages is only shown in cases when it differs from the
CHOST in the header of the Packages file.

> Manually modifying a/m CHOST to 'ppc'  didn't stop emerge from
> successfully merging a package on an amd64 target (I've removed
> /usr/portage/packages from target before emerging).

The CHOST from your local configuration (typically from make.conf or
inherited from your profile) is compared to the CHOST of the binary
package. You can also use ACCEPT_CHOSTS if you want to accept more
than one CHOST (see `man 5 make.conf`).
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAknsPqIACgkQ/ejvha5XGaNnEgCfVB8ricVhKBQY/S2g1aYLvpkT
L2wAn3CtsAnFwJ0h/mArfdDJk4hMvNBD
=AH2B
-----END PGP SIGNATURE-----

Reply via email to