mirror of
https://github.com/dynup/kpatch
synced 2025-01-01 18:22:01 +00:00
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 <cxie@redhat.com>
This commit is contained in:
parent
c41319e1a5
commit
b74395c537
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user