mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 02:38:31 +00:00
Upload dbus.log on anaconda failure
This log file was quite recently added to anaconda, let's upload it with all the others. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a1bb5bd1f7
commit
9df8be32cb
@ -47,6 +47,8 @@ sub post_fail_hook {
|
||||
script_run "cat /tmp/dnf.librepo.log > /dev/${serialdev}";
|
||||
script_run 'printf "\n** DNF.RPM.LOG **\n" > /dev/' . $serialdev;
|
||||
script_run "cat /tmp/dnf.rpm.log > /dev/${serialdev}";
|
||||
script_run 'printf "\n** DBUS.LOG **\n" > /dev/' . $serialdev;
|
||||
script_run "cat /tmp/dbus.log > /dev/${serialdev}";
|
||||
return;
|
||||
}
|
||||
|
||||
@ -59,6 +61,7 @@ sub post_fail_hook {
|
||||
upload_logs "/tmp/dnf.log", failok=>1;
|
||||
upload_logs "/tmp/dnf.librepo.log", failok=>1;
|
||||
upload_logs "/tmp/dnf.rpm.log", failok=>1;
|
||||
upload_logs "/tmp/dbus.log", failok=>1;
|
||||
|
||||
if ($has_traceback) {
|
||||
# Upload Anaconda traceback logs
|
||||
|
Loading…
Reference in New Issue
Block a user