diff --git a/SOURCES/weak-modules b/SOURCES/weak-modules index 65806d0..7fbfe08 100644 --- a/SOURCES/weak-modules +++ b/SOURCES/weak-modules @@ -615,6 +615,7 @@ update_modules_for_krel() { if ! validate_weak_links $krel && [[ -z "$force_update" ]]; then global_link_state_restore $krel + compatible_modules=() fi # add compatible to installed diff --git a/SPECS/kmod.spec b/SPECS/kmod.spec index cf0fad5..b3c7c2e 100644 --- a/SPECS/kmod.spec +++ b/SPECS/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 25 -Release: 16%{?dist} +Release: 16%{?dist}.1 Summary: Linux kernel module management utilities Group: System Environment/Kernel @@ -125,6 +125,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %{_libdir}/libkmod.so %changelog +* Mon Jan 11 2021 Yauheni Kaliuta - 25-16_el8_3.1 +- weak-modules: reset compatible_modules if configuration is not valid + Resolves: rhbz#1915253 + * Mon Dec 9 2019 Yauheni Kaliuta - 25-16 - weak-modules: update_modules_for_krel: always finish sandbox - weak-modules: groupping: use dependencies of extra/ provider