On Friday, June 27, 2014 2:47:54 PM UTC-4, John Ford wrote: > Hi, > > > > The BRANCH environment variable refers to the branch of the b2g-manifest > > repository that config.sh and repo will use. There is a convention to > > use b2g-manifest branches to represent Firefox OS versions. > > > > By using ./openc.xml on the command line in addition to BRANCH=, you're > > overriding all of the config.sh machinery that tells repo to fetch v1.4 > > sources for the flame. Internally, what config.sh is doing is creating > > a temporary repository with a branch called "v1.4" that has the contents > > of your openc.xml file. It's using the v1.4 branch name internally > > regardless of what your openc.xml file points to. > > > > You need to either use a manifest checked into b2g-manifest on the v1.4 > > like this: > > > > $ BRANCH=v1.4 ./config.sh flame > > > > or use a local manifest file that points to v1.4 sources. You can check > > which branch of Firefox OS your openc.xml file points to with the > > following command: > > > > $ grep gaia openc.xml > > > > This will print the gaia project node. On my local clone using a > > b2g-manfiest clone, I get the following information: > > > > <project path="gaia" name="gaia.git" remote="mozillaorg" > > revision="master" /> > > > > What you're looking for is the revision="master" attribute. If for some > > reason that's a hex sha1 digest, you can figure out which branches that > > belongs to by running something like this: > > > > $ cd gaia > > $ git branch -a --contains 4dd26c45f70e504c8bd83ee345069c5f56563a4f > > * v1.4 > > remotes/mozillaorg/v1.4 > > > > Hope that helps! Because of this, I've opened > > > > https://github.com/mozilla-b2g/B2G/pull/361 > > > > to track a fix that makes this confusion impossible again. > > > > John Ford > > > > On Fri, 2014-06-27 at 10:25 -0700, vampirefo wrote: > > > BRANCH=v1.4 ./config.sh flame ./openc.xml && ./build.sh gecko > > > > > > Should compile 1.4 but ends up being 2.1, what is required to force 1.4? I > > want to see if 1.4 has the facebook problem, but I always, end up with 2.1. > > > > > > > > > Below is full commands I use to build and install firefox, works great, but > > after reboot check OS version 2.1, I want 1.4 > > > > > > > > > > > > rm -rf objdir-gecko/ out/ backup-flame/ > > > > > > BRANCH=v1.4 ./config.sh flame ./openc.xml && ./build.sh gecko > > > > > > ./flash.sh gecko > > > > > > cd gaia > > > > > > make reset-gaia > > > _______________________________________________ > > > dev-b2g mailing list > > > [email protected] > > > https://lists.mozilla.org/listinfo/dev-b2g
Yes this is helpful do I need to change all lines with master to v14? or just the one line <project name="gaia" path="gaia" remote="mozillaorg" revision="master"/> _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
