Hard-code --with-online-update-mar-channel=LOOnlineUpdater
(An upcoming change will add an instset/update-settings.ini file containing that value, but using a GeneratedPackage for a single file instead of a directory seems unsupported, so it will use the hard-coded value and a plain Package instead.) Change-Id: I12ffef4db71ce36be9096df674588b39c660e4de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161545 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
parent
e1402abc5c
commit
6910b1e351
7 changed files with 5 additions and 17 deletions
|
@ -51,8 +51,8 @@ upload-update-info:
|
|||
$(eval PLATFORM := $(RTL_OS)_$(RTL_ARCH))
|
||||
$(eval UPDATE_DIR := $(WORKDIR)/update-info)
|
||||
$(eval VERSION := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX)$(LIBO_VERSION_SUFFIX_SUFFIX))
|
||||
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/create_build_config.py "$(PRODUCTNAME)" "$(VERSION)" "$(BUILDID)" "$(PLATFORM)" "$(UPDATE_DIR)" "$(ONLINEUPDATE_MAR_CHANNEL)"
|
||||
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/upload_builds.py "$(PRODUCTNAME)" "$(BUILDID)" "$(PLATFORM)" "$(UPDATE_DIR)" "$(ONLINEUPDATE_MAR_UPLOADURL)" "$(ONLINEUPDATE_MAR_CHANNEL)"
|
||||
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/create_build_config.py "$(PRODUCTNAME)" "$(VERSION)" "$(BUILDID)" "$(PLATFORM)" "$(UPDATE_DIR)" LOOnlineUpdater
|
||||
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/upload_builds.py "$(PRODUCTNAME)" "$(BUILDID)" "$(PLATFORM)" "$(UPDATE_DIR)" "$(ONLINEUPDATE_MAR_UPLOADURL)" LOOnlineUpdater
|
||||
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/upload_build_config.py "$(UPDATE_DIR)" TODO
|
||||
|
||||
create-partial-info:
|
||||
|
@ -60,7 +60,7 @@ create-partial-info:
|
|||
$(eval VERSION := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX)$(LIBO_VERSION_SUFFIX_SUFFIX))
|
||||
$(eval PLATFORM := $(RTL_OS)_$(RTL_ARCH))
|
||||
$(eval MAR_NAME_PREFIX := $(PRODUCTNAME)_$(VERSION)_$(PLATFORM)_$(BUILDID))
|
||||
MBSDIFF=$(WORKDIR)/LinkTarget/Executable/mbsdiff MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/create_partial_update.py "$(WORKDIR)" "$(MAR_NAME_PREFIX)" "$(ONLINEUPDATE_MAR_SERVERURL)" "$(ONLINEUPDATE_MAR_CHANNEL)" "$(ONLINEUPDATE_MAR_CERTIFICATEPATH)" "$(ONLINEUPDATE_MAR_CERTIFICATENAME)" "$(ONLINEUPDATE_MAR_BASEURL)" "$(PLATFORM)" "$(BUILDID)"
|
||||
MBSDIFF=$(WORKDIR)/LinkTarget/Executable/mbsdiff MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/create_partial_update.py "$(WORKDIR)" "$(MAR_NAME_PREFIX)" "$(ONLINEUPDATE_MAR_SERVERURL)" LOOnlineUpdater "$(ONLINEUPDATE_MAR_CERTIFICATEPATH)" "$(ONLINEUPDATE_MAR_CERTIFICATENAME)" "$(ONLINEUPDATE_MAR_BASEURL)" "$(PLATFORM)" "$(BUILDID)"
|
||||
|
||||
# also possible to bypass the dependencies/the gbuild processing by just running
|
||||
# LD_LIBRARY_PATH=instdir/program make cmd cmd='ALL_LANGS="$(ALL_LANGS)" workdir/LinkTarget/Executable/pocheck'
|
||||
|
|
|
@ -514,7 +514,6 @@ export ONLINEUPDATE_MAR_BASEURL=@ONLINEUPDATE_MAR_BASEURL@
|
|||
export ONLINEUPDATE_MAR_CERTIFICATEDER=@ONLINEUPDATE_MAR_CERTIFICATEDER@
|
||||
export ONLINEUPDATE_MAR_CERTIFICATENAME=@ONLINEUPDATE_MAR_CERTIFICATENAME@
|
||||
export ONLINEUPDATE_MAR_CERTIFICATEPATH=@ONLINEUPDATE_MAR_CERTIFICATEPATH@
|
||||
export ONLINEUPDATE_MAR_CHANNEL=@ONLINEUPDATE_MAR_CHANNEL@
|
||||
export ONLINEUPDATE_MAR_SERVERURL=@ONLINEUPDATE_MAR_SERVERURL@
|
||||
export ONLINEUPDATE_MAR_UPLOADURL=@ONLINEUPDATE_MAR_UPLOADURL@
|
||||
export OOO_JUNIT_JAR=@OOO_JUNIT_JAR@
|
||||
|
|
|
@ -13693,15 +13693,6 @@ else
|
|||
fi
|
||||
AC_SUBST(ONLINEUPDATE_MAR_CERTIFICATEPATH)
|
||||
|
||||
AC_MSG_CHECKING([for mar online update channel])
|
||||
ONLINEUPDATE_MAR_CHANNEL=$with_online_update_mar_channel
|
||||
if test -n "$ONLINEUPDATE_MAR_CHANNEL"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST(ONLINEUPDATE_MAR_CHANNEL)
|
||||
|
||||
AC_MSG_CHECKING([for mar online update serverurl])
|
||||
ONLINEUPDATE_MAR_SERVERURL=$with_online_update_mar_serverurl
|
||||
if test -n "$ONLINEUPDATE_MAR_SERVERURL"; then
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
--with-online-update-mar-certificateder=TODO
|
||||
--with-online-update-mar-certificatename=TODO
|
||||
--with-online-update-mar-certificatepath=TODO
|
||||
--with-online-update-mar-channel=TODO
|
||||
--with-online-update-mar-serverurl=TODO
|
||||
--with-online-update-mar-uploadurl=TODO
|
||||
--with-jdk-home=/etc/alternatives/java_sdk_17
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
--enable-ext-nlpsolver
|
||||
--enable-online-update
|
||||
--enable-online-update-mar
|
||||
--with-online-update-mar-channel=LOOnlineUpdater
|
||||
--enable-breakpad
|
||||
--with-help=html
|
||||
--with-myspell-dicts
|
||||
|
|
|
@ -182,7 +182,7 @@ define instsetoo_native_genversionini
|
|||
AllLanguages=$(if $(gb_WITH_LANG),$(gb_WITH_LANG),en-US)
|
||||
buildid=$(shell cd $(SRCDIR) && git log -1 --format=%H)
|
||||
ExtensionUpdateURL=https://updateexte.libreoffice.org/ExtensionUpdateService/check.Update
|
||||
UpdateChannel=$(if $(ENABLE_ONLINE_UPDATE_MAR),$(ONLINEUPDATE_MAR_CHANNEL))
|
||||
UpdateChannel=$(if $(ENABLE_ONLINE_UPDATE_MAR),LOOnlineUpdater)
|
||||
ReferenceOOoMajorMinor=4.1
|
||||
UpdateID=$(PRODUCTNAME)_$(LIBO_VERSION_MAJOR)_en-US
|
||||
UpdateURL=$(if $(ENABLE_ONLINE_UPDATE),https://update.libreoffice.org/check.php$(if $(filter-out WNT,$(OS)),?pkgfmt=$(PKGFORMAT)))
|
||||
|
|
|
@ -655,7 +655,7 @@ sub replace_setup_variables
|
|||
my $updateid = $productname . "_" . $libo_version_major . "_" . $$languagestringref;
|
||||
$updateid =~ s/ /_/g;
|
||||
|
||||
my $updatechannel = $ENV{'ONLINEUPDATE_MAR_CHANNEL'};
|
||||
my $updatechannel = 'LOOnlineUpdater';
|
||||
|
||||
for ( my $i = 0; $i <= $#{$itemsarrayref}; $i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue