diff --git a/packaging/leapp-repository.spec b/packaging/leapp-repository.spec index 937a738ee6..2b0a80d4ee 100644 --- a/packaging/leapp-repository.spec +++ b/packaging/leapp-repository.spec @@ -2,7 +2,7 @@ %global repositorydir %{leapp_datadir}/repositories %global custom_repositorydir %{leapp_datadir}/custom-repositories -%define leapp_repo_deps 9 +%define leapp_repo_deps 10 %if 0%{?rhel} == 7 %define leapp_python_sitelib %{python2_sitelib} @@ -149,6 +149,16 @@ Provides: leapp-repository-dependencies = %{leapp_repo_deps} ################################################## Requires: dnf >= 4 Requires: pciutils + +# required to be able to format disk images with XFS file systems (default) +Requires: xfsprogs + +# required to be able to format disk images with Ext4 file systems +# NOTE: this is not happening by default, but we can expact that many customers +# will want to / need to do this - especially on RHEL 7 now. Adding this deps +# as the best trade-off to resolve this problem. +Requires: e2fsprogs + %if 0%{?rhel} && 0%{?rhel} == 7 # Required to gather system facts about SELinux Requires: libselinux-python diff --git a/packaging/other_specs/leapp-el7toel8-deps.spec b/packaging/other_specs/leapp-el7toel8-deps.spec index 4a181ee143..c4e0dd90b8 100644 --- a/packaging/other_specs/leapp-el7toel8-deps.spec +++ b/packaging/other_specs/leapp-el7toel8-deps.spec @@ -9,7 +9,7 @@ %endif -%define leapp_repo_deps 9 +%define leapp_repo_deps 10 %define leapp_framework_deps 5 # NOTE: the Version contains the %{rhel} macro just for the convenience to @@ -68,6 +68,19 @@ Requires: cpio # just to be sure that /etc/modprobe.d is present Requires: kmod +# required to be able to format disk images with XFS file systems (default) +# NOTE: this is really needed on the source system, but keep it for the target +# one too +Requires: xfsprogs + +# required to be able to format disk images with Ext4 file systems +# NOTE: this is not happening by default, but we can expact that many customers +# will want to / need to do this - especially on RHEL 7 now. Adding this deps +# as the best trade-off to resolve this problem. +# NOTE: this is really needed on the source system, but keep it for the target +# one too +Requires: e2fsprogs + %description -n %{lrdname} %{summary}