How to get source codes (snapshot) for the specified version of ChromiumOS?

310 views
Skip to first unread message

Barry Xu

unread,
Nov 19, 2014, 5:09:37 AM11/19/14
to chromiu...@chromium.org
Dear all,

I have some confusion on release version for ChromiumOS.
Anybody can help me?

While ChromiumOS release new version, it will create new branch such as release-R38-6158.B, release-R40-6457.B. Not use git tag as release.

But I find submitting modification is ongoing in release branch. What time this version is released 'really'?

In chromiumos-overlay (src/third_party/chromiumos-overlay), I check git log and find the blew information
e.g.
--------------------------------------------------------------------------------------------------------------------
commit 2a7b47a5761b68a2c047b8eacd25b8c011c383ee
Author: chrome-bot <chrom...@chromium.org>
Date:   Sat Nov 15 21:07:50 2014 -0800

    Automatic: x86-mario-release - Updating to a new version number from 6457.5.0
    
    Change-Id: I24d548869312b8aa423365590134ffeea56e9f07

commit a6be5ff24cb5c8ea57f7dc9a2065f255e196fc92
Author: chrome-bot <chrom...@chromium.org>
Date:   Sat Nov 15 06:48:34 2014 -0800

    Marking set of ebuilds as stable
    
    regen cache
    
    Change-Id: Ib63c6383845f31488412e44e9cdccfc22e459ed0

commit e926ba97d21f70e8785052d909b111b80c4cdf5a
Author: chrome-bot <chrom...@chromium.org>
Date:   Fri Nov 14 21:08:01 2014 -0800

    Automatic: x86-mario-release - Updating to a new version number from 6457.4.0
    
    Change-Id: I041c458fe6658152e653201f748e9dad4504c16e
--------------------------------------------------------------------------------------------------------------------

I know '6457.5.0' is platform version.
If I wan to build ChromiumOS based on platform version 6457.5.0, how can I do? 
Checkout 2a7b47a5761b in 'chromiumos-overly' git repository? But for Other repository, how can I sure the checkout git commit of other git repositories for platform version 6457.5.0 ?

Thanks





Chirantan Ekbote

unread,
Nov 19, 2014, 2:25:42 PM11/19/14
to Barry Xu, Chromium OS dev
You can check out a specific branch by using the -b option for repo,
as explained in
http://www.chromium.org/chromium-os/developer-guide#TOC-Get-the-source.
So if you want to bulid release-R38-6158.B, then you would run

repo init -u <URL> -b release-R38-6158.B

This will checkout that particular branch for every git repo that we
manage and it will also pull in any changes whenever you run 'repo
sync'.
> --
> --
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>

Barry Xu

unread,
Nov 19, 2014, 9:59:09 PM11/19/14
to chromiu...@chromium.org, xiao...@gmail.com
Thanks for your reply.

I download source codes as below command:

repo sync

But if do above commands on another PC after several days, I will find the codes is changed in checkout repository such as chromiumos-overlay.

My question is how to sure the same version of codes are built at this situation?

Thanks

Bill Richardson

unread,
Nov 20, 2014, 12:44:13 PM11/20/14
to chromiu...@chromium.org, xiao...@gmail.com
Yes, the release-R40-6457.B branch is where the sources are cleaned as they move from Dev, Beta, and Stable versions of the R40 release. There shouldn't be much difference between most of the sources, but a few will change as bugs are fixed.

Unfortunately, the manifests that map each release image to the set of git sha1sums that created it are private, since they may contain information about internal projects and one or two components that are specific to Chrome OS which we're unable to share publicly.

Barry Xu

unread,
Nov 23, 2014, 10:00:46 PM11/23/14
to chromiu...@chromium.org, xiao...@gmail.com
So thanks for your explanation 
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages