Bug 1387239 - Use bzip2 mar update compression.
We need to generate a nightly with an update that understands xz updates, but
that is itself packed with bzip2 updates. That nightly will act as a watershed
update.
MozReview-Commit-ID: BH29MJM1lDU
--- a/mail/config/mozconfigs/linux32/l10n-mozconfig
+++ b/mail/config/mozconfigs/linux32/l10n-mozconfig
@@ -24,8 +24,12 @@ MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0
ac_add_options --disable-stdcxx-compat
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-l10n-args ] && cat $topsrcdir/build/client.py-l10n-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/linux32/nightly
+++ b/mail/config/mozconfigs/linux32/nightly
@@ -27,8 +27,12 @@ MOZ_REQUIRE_ADDON_SIGNING=0
# Package js shell
export MOZ_PACKAGE_JSSHELL=1
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
. "$topsrcdir/build/mozconfig.cache"
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/linux64/l10n-mozconfig
+++ b/mail/config/mozconfigs/linux64/l10n-mozconfig
@@ -25,8 +25,12 @@ MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0
ac_add_options --disable-stdcxx-compat
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-l10n-args ] && cat $topsrcdir/build/client.py-l10n-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/linux64/nightly
+++ b/mail/config/mozconfigs/linux64/nightly
@@ -27,8 +27,12 @@ MOZ_REQUIRE_ADDON_SIGNING=0
# Package js shell
export MOZ_PACKAGE_JSSHELL=1
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
. "$topsrcdir/build/mozconfig.cache"
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/macosx64/l10n-mozconfig
+++ b/mail/config/mozconfigs/macosx64/l10n-mozconfig
@@ -12,8 +12,12 @@ ac_add_options --enable-calendar
# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-l10n-args ] && cat $topsrcdir/build/client.py-l10n-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/macosx64/nightly
+++ b/mail/config/mozconfigs/macosx64/nightly
@@ -34,8 +34,12 @@ MOZ_REQUIRE_ADDON_SIGNING=0
ac_add_options --with-ccache
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
# XXX hack to work around dsymutil failing on OSX builds (bug 1380381, 1382262)
ac_add_options RUSTFLAGS='-C debuginfo=1'
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/win32/l10n-mozconfig
+++ b/mail/config/mozconfigs/win32/l10n-mozconfig
@@ -25,8 +25,12 @@ MOZ_REQUIRE_ADDON_SIGNING=0
# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-l10n-args ] && cat $topsrcdir/build/client.py-l10n-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/win32/nightly
+++ b/mail/config/mozconfigs/win32/nightly
@@ -28,8 +28,12 @@ export MOZ_PACKAGE_JSSHELL=1
# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/win64/l10n-mozconfig
+++ b/mail/config/mozconfigs/win64/l10n-mozconfig
@@ -24,8 +24,12 @@ MOZ_REQUIRE_ADDON_SIGNING=0
# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"
--- a/mail/config/mozconfigs/win64/nightly
+++ b/mail/config/mozconfigs/win64/nightly
@@ -28,8 +28,12 @@ export MOZ_PACKAGE_JSSHELL=1
# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE
# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
+
+# Bug 1387239
+# Use bzip2 mar update compression, to allow upgrading of older nightly builds.
+mk_add_options "export MAR_OLD_FORMAT=1"