From 5f55b7d00a70db5dddaa0e74ccef52c021770f95 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Thu, 13 Oct 2016 14:16:56 +0200 Subject: profilesafe: extended to three modes Saving configuration is now extended to three basic modes, from just saving registrymodifiications to adding user-defined config stuff to saving all information in the user profile, additionally configuration information for Extensions is saved. Added configuration entries for this and tested saving/restoring. Change-Id: I79b09c37617803bf656826f76a7e3db79cda49ac Reviewed-on: https://gerrit.libreoffice.org/29770 Tested-by: Jenkins Reviewed-by: Armin Le Grand --- instsetoo_native/CustomTarget_setup.mk | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'instsetoo_native') diff --git a/instsetoo_native/CustomTarget_setup.mk b/instsetoo_native/CustomTarget_setup.mk index 26fc42792a03..5ce472632cdf 100644 --- a/instsetoo_native/CustomTarget_setup.mk +++ b/instsetoo_native/CustomTarget_setup.mk @@ -104,7 +104,16 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_ ) > $@ # for release-builds (building installers) adjust values in openoffice.lst.in -# Added 'SecureUserConfig' flags to enable and safe three registrymodifications.xcu versions +# Added 'SecureUserConfig' flags to enable and safe user config files +# SecureUserConfig : boolean - switches securing on/off - default false +# SecureUserConfigCompress : boolean - defines if backup data will be compressed - default true +# SecureUserConfigNumCopies : integer - defines how many compressed copies of saved content will be kept - default 2 +# SecureUserConfigMode: integer - defines what to secure, default is 0 +# 0 : only registrymodifications.xcu +# 1 : a selected amount of user-defined configs +# 2 : everything in the user config directory +# SecureUserConfigExtensions: boolean - defines to also safe the extension configuration (which extensions +# are installed, which are activated) - default is true $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_rcfile,soffice) : $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1) ( \ @@ -120,7 +129,10 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_ && echo 'ProgressTextColor=255,255,255' \ && echo 'URE_BOOTSTRAP=$${ORIGIN}/$(call gb_Helper_get_rcfile,fundamental)' \ && echo 'SecureUserConfig=true' \ - && echo 'SecureUserConfigNumCopies=3' \ + && echo 'SecureUserConfigCompress=true' \ + && echo 'SecureUserConfigNumCopies=2' \ + && echo 'SecureUserConfigMode=0' \ + && echo 'SecureUserConfigExtensions=true' \ ) > $@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_rcfile,uno) : -- cgit