Fix path to dracut in weak-modules (rhbz 1295038)

This commit is contained in:
Josh Boyer 2016-01-07 14:21:01 -05:00
parent 1fb94f9841
commit e197298135
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: kmod
Version: 22
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Linux kernel module management utilities
Group: System Environment/Kernel
@ -111,6 +111,9 @@ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
%{_libdir}/libkmod.so
%changelog
* Thu Jan 07 2016 Josh Boyer <jwboyer@fedoraproject.org> - 22-2
- Fix path to dracut in weak-modules (rhbz 1295038)
* Wed Nov 18 2015 Josh Boyer <jwboyer@fedoraproject.org> - 22-1
- Update to version 22

View File

@ -15,7 +15,7 @@ trap "rm -rf $tmpdir" EXIT
unset ${!changed_modules_*} ${!changed_initramfs_*}
initramfs_prefix="/boot" # can customize here
dracut="/sbin/dracut"
dracut="/usr/bin/dracut"
if [ ! -x "$dracut" ]
then