From e19729813549b82745471689a5f24b24a7ecbf42 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Thu, 7 Jan 2016 14:21:01 -0500 Subject: [PATCH] Fix path to dracut in weak-modules (rhbz 1295038) --- kmod.spec | 5 ++++- weak-modules | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kmod.spec b/kmod.spec index 25d1c94..389dd6d 100644 --- a/kmod.spec +++ b/kmod.spec @@ -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 - 22-2 +- Fix path to dracut in weak-modules (rhbz 1295038) + * Wed Nov 18 2015 Josh Boyer - 22-1 - Update to version 22 diff --git a/weak-modules b/weak-modules index 05d1b0f..4b621e9 100644 --- a/weak-modules +++ b/weak-modules @@ -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