mirror of https://github.com/dynup/kpatch
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.
This commit is contained in:
parent
f817265c5a
commit
6cdb5011c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue