mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-23 11:18:33 +00:00
install tar in installedtest post_fail_hook
It's not always in minimal installs. This is a simple change and needed to make the post-fail hook work for minimal installs, so pushing without review.
This commit is contained in:
parent
7b31b8263e
commit
600dd39a64
@ -24,6 +24,9 @@ sub post_fail_hook {
|
||||
|
||||
$self->root_console(tty=>6);
|
||||
|
||||
# We can't rely on tar being in minimal installs
|
||||
assert_script_run "dnf -y install tar", 180;
|
||||
|
||||
# If /var/tmp/abrt directory isn't empty (ls doesn't return empty string)
|
||||
my $vartmp = script_output "ls /var/tmp/abrt";
|
||||
if ($vartmp ne '') {
|
||||
|
Loading…
Reference in New Issue
Block a user