Wrong discuss, I think you'll get some better answers over on
chromium-os-discuss, sending.
On Mon, Feb 13, 2012 at 5:51 PM, Sam Xiao <s.x...@sta.samsung.com> wrote:
> Hi all,
>
> I'm looking for a way to make a local development mirror of the
> ChromiumOS. I know the /etc/make.conf is where they store the
> information regarding to where it finds the pre-build binaries, but
> I'm confused as to what's the differences between GENTOO_MIRRORS and
> PORTAGE_BINHOST.
>
> I would like to host my local-built binaries for ChromiumOS, so it's
> much faster for engineers to download them locally than going all the
> way to Google.
>
>
>
> GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-
> localmirror"
> GENTOO_MIRRORS="$GENTOO_MIRRORS https://commondatastorage.googleapis.com/chromeos-mirror/gentoo"
>
> source /usr/local/portage/chromiumos/chromeos/binhost/host/amd64-
> PREFLIGHT_BINHOST.conf
> FULL_BINHOST="https://commondatastorage.googleapis.com/chromeos-
> prebuilt/host/amd64/amd64-host/chroot-13.02.12.084905/packages/"
> PORTAGE_BINHOST="$PREFLIGHT_BINHOST $FULL_BINHOST"
>
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
PORTAGE_BINHOST = [space delimited URI list]
This is a list of hosts from which portage will grab prebuilt-binary
packages. <more stuff>
GENTOO_MIRRORS = [URIs]
Insert your space-separated list of local mirrors here. These
locations are used to download files before the ones listed in the
ebuild scripts.
so one is for prebuilt binary pkgs (*.tbz2) and the other is for
source tarballs (SRC_URI).
-mike
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
this way your local binary host will get searched first and if a
binpkg isn't found there, it'll fall back to the standard google ones
-mike
> Chromium OS discuss mailing list: chromium-...@chromium.org
> Chromium OS discuss mailing list: chromium-...@chromium.org
On Tue, Feb 14, 2012 at 16:21, Sam Xiao <s.x...@sta.samsung.com> wrote:
> Let me clarify a bit, sorry for confusing you.
>
> What if the BINHOST in make.conf.user has binaries that are older (by
> version or by timestamp) than the one from Google, which one does it
> pick first?
>
>
> On Feb 14, 1:15 pm, Mike Frysinger <vap...@chromium.org> wrote:
>> i'm not sure what you mean. when portage searches for a binpkg, it
>> walks the listed URI bases until it gets a hit. so it downloads the
>> first match.
>>
so if your internal URI is listed first, and has the binary, portage
will d/l from that and not even check the google ones.
-mike
On Tue, Feb 14, 2012 at 16:31, Sam Xiao <s.x...@sta.samsung.com> wrote:
> Thanks Mike.
> But what about "local internal BINHOST" or "Google BINHOST" has newer
> binaries, will the local system look at them?
>
> And how do Portage determines which one to use? Is it by timestamp or
> the version string in the filename?
>
>
> Thanks.
> Sam.
>
> On Feb 14, 1:26 pm, Mike Frysinger <vap...@chromium.org> wrote:
>> if there are binpkgs already on the local system, then portage won't
>> even look at the BINHOST
>>
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
in the mean time, simply doing this should work (run it as soon as you
enter the chroot and before you execute any commands):
export PORTAGE_BINHOST="http://someurl/"
-mike
> Chromium OS discuss mailing list: chromium-...@chromium.org