[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) #
This release contains contributions from (alphabetically by first name):
- No external contributors yet
- Erik Dubois
## Core ##
- No core changes yet

View File

@ -34,15 +34,13 @@
# - *log*, for the complete log file (up to the moment the preservefiles
# module is run),
# - *config*, for a JSON dump of the contents of global storage
---
files:
- /etc/oem-information
- from: log
dest: /root/install.log
perm: root:wheel:644
dest: /var/log/Calamares.log
perm: root:wheel:600
- from: config
dest: /root/install.json
perm: root:wheel:400
dest: /var/log/Camamares-install.json
perm: root:wheel:600
# 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,