Software Update:HowToManuallyGenerateMARFiles: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
== Getting set up ==
== Getting set up ==


* scripts live in <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/ mozilla/tools/update-packaging]</code>
=== Tools ===
** download at once: [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/10.0/source/firefox-10.0.source.tar.bz2 firefox-10.0.source.tar.bz2]
 
* will need <code>mbsdiff.exe</code> and <code>mar.exe</code> in your path
* You need the following scripts live in <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/ mozilla/tools/update-packaging]</code>
** sources in <code>[http://mxr.mozilla.org/mozilla-release/source/other-licenses/bsdiff/ mozilla/other-licenses/bsdiff]</code> and  <code>[http://mxr.mozilla.org/mozilla-release/source/modules/libmar/tool/ mozilla/modules/libmar/tool]</code>
** <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/common.sh?raw=1 common.sh]</code>
** <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/make_full_update.sh?raw=1 make_full_update.sh]</code>
** <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/make_incremental_update.sh?raw=1 make_incremental_update.sh]</code>
** <code>[http://mxr.mozilla.org/mozilla-release/source/tools/update-packaging/unwrap_full_update.pl?raw=1 unwrap_full_update.pl]</code>
* will need <code>mbsdiff</code> and <code>mar</code> binaries in your path
** compiled versions are available in the [https://developer.mozilla.org/en/Gecko_SDK Gecko SDK] under the folder <code>/host/bin</code> for your OS
** compiled versions are available in the [https://developer.mozilla.org/en/Gecko_SDK Gecko SDK] under the folder <code>/host/bin</code> for your OS
* get a mar to start with as your "source", for example <code>[http://releases.mozilla.org/pub/mozilla.org/firefox/releases/10.0/update/win32/en-US/firefox-10.0.complete.mar firefox-10.0.complete.mar]</code>
** sources: <code>[http://mxr.mozilla.org/mozilla-release/source/other-licenses/bsdiff/ mozilla/other-licenses/bsdiff]</code> and  <code>[http://mxr.mozilla.org/mozilla-release/source/modules/libmar/tool/ mozilla/modules/libmar/tool]</code>
 
=== Source ===
 
Get a mar to start with as your "source", for example <code>[http://releases.mozilla.org/pub/mozilla.org/firefox/releases/10.0/update/win32/en-US/firefox-10.0.complete.mar firefox-10.0.complete.mar]</code>


== Unwrap the original mar ==
== Unwrap the original mar ==
Confirmed users
269

edits

Navigation menu