Confirmed users
4,293
edits
m (→Overview) |
|||
Line 98: | Line 98: | ||
=Partial Update Generation= | =Partial Update Generation= | ||
The code for | The code for patcher2 lives [http://lxr.mozilla.org/mozilla/source/tools/patcher here]. This is used for releases, and generates the update files and info for AUS. | ||
The nightly system is a more ad-hoc solution: | |||
* the work is done on the tinderbox prometheus, using cron to start it every 5 minutes | * the work is done on the tinderbox prometheus, using cron to start it every 5 minutes | ||
* the script [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/unwrap_full_update.sh unwrap_full_update.sh] is used to unpack two complete MAR files. Then [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/make_incremental_update.sh make_incremental_update.sh] is run against the two resulting directories, and that calls (m)bsdiff to create binary diff's for files that have changed in the later build. The resulting patches are combined with a manifest to create the partial MAR file. | * the script [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/unwrap_full_update.sh unwrap_full_update.sh] is used to unpack two complete MAR files. Then [http://lxr.mozilla.org/mozilla/source/tools/update-packaging/make_incremental_update.sh make_incremental_update.sh] is run against the two resulting directories, and that calls (m)bsdiff to create binary diff's for files that have changed in the later build. The resulting patches are combined with a manifest to create the partial MAR file. |