mirror of https://github.com/cutefishos/calamares
Creating the option to copy an install log to target
instead of having to hope users save an installation log before leaving live mode, this commit gives distributions the option to have a full calamares -d log available on the newly installed system see the readme.md for details this is fully tested and working properly, using the example launcher script & .desktop line as noted in the readmemain
parent
c0d06c3169
commit
50ffc52f3f
@ -0,0 +1,17 @@
|
||||
### Umount Module
|
||||
---------
|
||||
This module represents the last part of the installation, the unmounting of partitions used for the install. It is also the last place where it is possible to copy files to the target system, thus the best place to copy an installation log.
|
||||
|
||||
To be able to use the copy an installation log of this module you will need to include a log creation to your launcher script or add it to the used calamares.desktop, example of a launcher script:
|
||||
|
||||
```
|
||||
#!/bin/sh
|
||||
sudo /usr/bin/calamares -d > installation.log
|
||||
```
|
||||
Example desktop line:
|
||||
```
|
||||
Exec=sudo /usr/bin/calamares -d > installation.log
|
||||
```
|
||||
Set the source and destination path of your install log in umount.conf
|
||||
If you do not wish to use the copy of an install log feature, no action needed, the module will not execute the copy of a log code if no log is present.
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
srcLog: "/home/live/installation.log"
|
||||
destLog: "/var/log/installation.log"
|
Loading…
Reference in New Issue