From 6cdb5011c59ff19c684428318a028bc0a6bf5ac4 Mon Sep 17 00:00:00 2001 Message-Id: <6cdb5011c59ff19c684428318a028bc0a6bf5ac4.1417711268.git.jpoimboe@redhat.com> From: Josh Poimboeuf Date: Wed, 3 Dec 2014 16:04:04 -0600 Subject: [PATCH] fix dracut dependencies The "kpatch install" command is broken because the kpatch script has some missing dependencies in the initramfs. Make sure the new dependencies (readelf and awk) are added to the initramfs. --- contrib/module-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/module-setup.sh b/contrib/module-setup.sh index 71ec41a..0259b79 100755 --- a/contrib/module-setup.sh +++ b/contrib/module-setup.sh @@ -19,11 +19,11 @@ install() { # install kpatch script inst_any -d /usr/sbin/kpatch /usr/local/sbin/kpatch /usr/sbin/kpatch - # install insmod (needed by kpatch script) + # install kpatch script dependencies inst_symlink /usr/sbin/insmod - - # install dirname (needed by kpatch script) inst /usr/bin/dirname + inst /usr/bin/readelf + inst /usr/bin/awk # install core module inst_any -d /usr/lib/modules/$kernel/extra/kpatch/kpatch.ko /usr/local/lib/modules/$kernel/extra/kpatch/kpatch.ko /usr/lib/modules/$kernel/extra/kpatch/kpatch.ko /usr/lib/kpatch/$kernel/kpatch.ko /usr/local/lib/kpatch/$kernel/kpatch.ko -- 1.9.3