Releases/Fennec 4.0b1/BuildNotes: Difference between revisions

Line 292: Line 292:


There are no releases out there that can update.  Will do this for 4.0b2.
There are no releases out there that can update.  Will do this for 4.0b2.
=== Build 2 ===
* Checked in fix for release desktop fennec uploads: [http://hg.mozilla.org/build/buildbot-configs/rev/f5b5f5ff7423 configs] [http://hg.mozilla.org/build/buildbotcustom/rev/2bb90ca4849b custom]
* Checked in [http://hg.mozilla.org/users/asasaki_mozilla.com/mozharness/rev/6574f39a76c1 debsign bump] + tagged PRODUCTION
* Reconfiged pm02:8010
* Started automation with
buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b1 build2" doit
* Reconfiged production-mobile-master:8011 (debsign)
* tagged buildbot-configs and buildbotcustom with FENNEC_4_0b1_BUILD2 and bumped FENNEC_4_0b1_RELEASE tag
==== Tag ====
moz2-linux-slave40
no issues
==== Source ====
moz2-linux-slave42
no problems
==== Build/Repack ====
* maemo5-gtk uploaded to build2/ rather than build2/maemo5-gtk ({{bug|589985}} again). Manually created the maemo5-gtk directory and moved *.* there.
* Hit {{bug|601323}} again.
** linux-i686 uploaded to /pub/mozilla.org/mobile/nightly/4.0b1-candidates/build2/
cd /home/ftp/pub/mobile/candidates/4.0b1-candidates/build2
mkdir linux-i686
mv ../../../nightly/4.0b1-candidates/build2/*linux* linux-i686/
** win32-i686 uploaded to /pub/mozilla.org/mobile/nightly/4.0b1-candidates/build2/unsigned
cd /home/ftp/pub/mobile/candidates/4.0b1-candidates/build2
mv ../../../nightly/4.0b1-candidates/build2/unsigned win32-i686
** macosx-i686 uploaded to /pub/mozilla.org/mobile/nightly/4.0b1-candidates/build2/
cd /home/ftp/pub/mobile/candidates/4.0b1-candidates/build2
mkdir macosx-i686
mv ../../../nightly/4.0b1-candidates/build2/*mac* macosx-i686/
cd ../../../nightly
ls -lR 4.0b1-candidates
rm -rf 4.0b1-candidates
==== Sign Android ====
https://intranet.mozilla.org/Build:MobileSigning is pretty seamless, minus the dvorak switching.
This will change shortly after 4.0b1, with make upload/the disappearance of gecko-unsigned-unaligned.apk.
==== Deb Repos ====
This went awesome due to [http://hg.mozilla.org/users/asasaki_mozilla.com/mozharness/file/9a71f9cab0af/configs/deb_repos/4.0_release.json the configs] having
* "locales": ["en-US"],
which kept it from erroring out on multi and the l10n repacks, and
* "deb_name_url": "http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/4.0b1-candidates/build2/maemo5-gtk/deb_name.txt",
* "en_us_dir_url": "http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/4.0b1-candidates/build2/maemo5-gtk/",
which kept it from looking for multi/deb_name.txt and en-US/*.deb, respectively.
In a multilocale build with single locale repacks, we'll have to undo those changes.
==== Update testing ====
* Ran into {{bug|602329}} betatest channel switch issue.  I pushed the snippets to the beta channel since no users have any builds that can update.
* Ran into {{bug|602327}} (complete.txt has wrong size/hash).  Updated manually.
Once I fixed the complete.txt hash/filesize on the beta channel, updates worked smoothly.
==== Push Live ====
===== Copy bits to releases/ =====
ffxbld@stage
cd /home/ftp/pub/mobile/releases
mkdir 4.0b1
cd 4.0b1
rsync -av --exclude=unsigned ../../candidates/4.0b1-candidates/build2/. .
rsync -av ../../candidates/4.0b1-candidates/repos .
ln -s repos maemo
cd ..
rm latest-alpha; ln -s 4.0b1 latest-alpha
rm latest-beta; ln -s 4.0b1 latest-beta
===== Create new .install files =====
I had to create new softlinks for the Firefox-beta.install files (no longer point to chinook; point to fremantle).
cd /home/ftp/pub/mobile/releases/maemo
for locale in * ; do
  if [ $locale = "firefox.install" ] ; then
    continue
  fi
  rm $locale/firefox-beta.install
  (cd $locale; ln -s firefox-fremantle-beta.install firefox-beta.install)
done
The .install files almost all look good.  We need to switch for 4.0 (firefox.install -> firefox-fremantle.install) and if we add locales, but soon these will be mostly static.
===== Create bouncer entries =====
Created Firefox-Mobile-4.0b1 maemo /mobile/releases/maemo/:lang/firefox-beta.install
Also android /mobile/releases/4.0b1/android-r7/fennec.apk
===== Updates to beta channel =====
Confirmed users
4,971

edits