From b74395c53729abaa86fc5bd26e4c2182a4f16564 Mon Sep 17 00:00:00 2001 From: Madper Xie Date: Tue, 6 May 2014 17:43:49 +0800 Subject: [PATCH] Add dirname to initramfs kpatch script need dirname to git SCRIPTDIR. But dracut won't copy it to initramfs by default. Signed-off-by: Madper Xie --- contrib/module-setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/module-setup.sh b/contrib/module-setup.sh index 5903031..0d33cdc 100755 --- a/contrib/module-setup.sh +++ b/contrib/module-setup.sh @@ -22,6 +22,9 @@ install() { # install insmod (needed by kpatch script) inst_symlink /usr/sbin/insmod + # install dirname (needed by kpatch script) + inst /usr/bin/dirname + # install core module inst_any -d /usr/lib/modules/$kernel/kpatch/kpatch.ko /usr/local/lib/modules/$kernel/kpatch/kpatch.ko /usr/lib/modules/$kernel/kpatch/kpatch.ko