Skip to content

Commit

Permalink
tests: add parted to rescan the disks
Browse files Browse the repository at this point in the history
parted is supported in archs we are testing

Signed-off-by: Douglas Landgraf <[email protected]>
  • Loading branch information
dougsland committed Sep 5, 2024
1 parent 64fc09a commit 69eb6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rpm/qm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ BuildRequires: pkgconfig(systemd)
BuildRequires: selinux-policy >= %_selinux_policy_version
BuildRequires: selinux-policy-devel >= %_selinux_policy_version

Requires: parted
Requires: containers-common
Requires: selinux-policy >= %_selinux_policy_version
Requires(post): selinux-policy-base >= %_selinux_policy_version
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/lib/diskutils
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ select_disk_to_partition(){
fi
fi
done
partprobe
parted /dev/${DISK} rescan
}

create_qm_var_part() {
Expand Down

0 comments on commit 69eb6fe

Please sign in to comment.