diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-13 14:16:56 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-13 14:43:37 +0000 |
commit | 5f55b7d00a70db5dddaa0e74ccef52c021770f95 (patch) | |
tree | 040d9170f878d260e49df2ae0f319391bd2ba604 /instsetoo_native | |
parent | 83cc9a3fae1cf8fa8b6753d1db8ccf7226797613 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'instsetoo_native')
-rw-r--r-- | instsetoo_native/CustomTarget_setup.mk | 16 |
1 files changed, 14 insertions, 2 deletions
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) : |