зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1333769 - Explicitly pass the version to MAR. r=rail a=philor for landing on central
(for "Nightly l10n repacks generate wrong complete MARs") MozReview-Commit-ID: 8cIno7eFKve --HG-- extra : rebase_source : 5c370cbc563e6e649652dce8e98c62b24d59faac
This commit is contained in:
Родитель
f10a8cec59
Коммит
688005c17d
|
@ -60,6 +60,7 @@ ifeq ($(OS_TARGET), WINNT)
|
|||
cd $(PACKAGE_BASE_DIR) && $(INNER_UNMAKE_PACKAGE)
|
||||
endif
|
||||
MAR=$(MAR_BIN) \
|
||||
MOZ_PRODUCT_VERSION=$(MOZ_APP_VERSION) \
|
||||
$(srcdir)/make_full_update.sh \
|
||||
'$(DIST)/$(COMPLETE_MAR)' \
|
||||
'$(PACKAGE_DIR)'
|
||||
|
@ -70,6 +71,7 @@ endif
|
|||
partial-patch:: $(dir-stage)
|
||||
MAR=$(MAR_BIN) \
|
||||
MBSDIFF=$(MBSDIFF_BIN) \
|
||||
MOZ_PRODUCT_VERSION=$(MOZ_APP_VERSION) \
|
||||
$(srcdir)/make_incremental_update.sh \
|
||||
'$(STAGE_DIR)/$(PKG_UPDATE_BASENAME).partial.$(SRC_BUILD_ID)-$(DST_BUILD_ID).mar' \
|
||||
'$(SRC_BUILD)' \
|
||||
|
|
|
@ -107,7 +107,13 @@ append_remove_instructions "$targetdir" "$updatemanifestv2" "$updatemanifestv3"
|
|||
$BZIP2 -z9 "$updatemanifestv2" && mv -f "$updatemanifestv2.bz2" "$updatemanifestv2"
|
||||
$BZIP2 -z9 "$updatemanifestv3" && mv -f "$updatemanifestv3.bz2" "$updatemanifestv3"
|
||||
|
||||
eval "$MAR -C \"$workdir\" -c output.mar $targetfiles"
|
||||
mar_command="$MAR"
|
||||
if [[ -n $MOZ_PRODUCT_VERSION ]]
|
||||
then
|
||||
mar_command="$mar_command -V $MOZ_PRODUCT_VERSION"
|
||||
fi
|
||||
mar_command="$mar_command -C \"$workdir\" -c output.mar"
|
||||
eval "$mar_command $targetfiles"
|
||||
mv -f "$workdir/output.mar" "$archive"
|
||||
|
||||
# cleanup
|
||||
|
|
Загрузка…
Ссылка в новой задаче