[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where does apt store its arch?



On Mon, May 12, 2008 at 05:44:50PM -0700, "Todd A. Jacobs" <nospam@codegnome.org> was heard to say:
> I've recently installed a 32-bit chroot on a 64-bit system with the
> "--arch=i386" flag to debootstrap, but I can't quite figure out how apt
> knows that I want to continue downloading i386 debs instead of amd64
> debs. Where is this information stored?

  It's built into apt using the configuration variable COMMON_ARCH
(apt-pkg/init.cc:36), which is set by "configure" from the output of
"dpkg-architecture -qDEB_HOST_ARCH" (configure.in:91).

  Daniel


Reply to: