[preservefiles] Put the logs in /var/log

This commit is contained in:
arcolinuxz 2021-12-11 18:11:45 +01:00 committed by Adriaan de Groot
parent 6261f8a5cb
commit 5b225cf960
2 changed files with 5 additions and 7 deletions

View File

@ -10,7 +10,7 @@ website will have to do for older versions.
# 3.2.50 (unreleased) # # 3.2.50 (unreleased) #
This release contains contributions from (alphabetically by first name): This release contains contributions from (alphabetically by first name):
- No external contributors yet - Erik Dubois
## Core ## ## Core ##
- No core changes yet - No core changes yet

View File

@ -34,15 +34,13 @@
# - *log*, for the complete log file (up to the moment the preservefiles # - *log*, for the complete log file (up to the moment the preservefiles
# module is run), # module is run),
# - *config*, for a JSON dump of the contents of global storage # - *config*, for a JSON dump of the contents of global storage
---
files: files:
- /etc/oem-information
- from: log - from: log
dest: /root/install.log dest: /var/log/Calamares.log
perm: root:wheel:644 perm: root:wheel:600
- from: config - from: config
dest: /root/install.json dest: /var/log/Camamares-install.json
perm: root:wheel:400 perm: root:wheel:600
# The *perm* key contains a default value to apply to all files listed # The *perm* key contains a default value to apply to all files listed
# above that do not have a *perm* key of their own. If not set, # above that do not have a *perm* key of their own. If not set,