These 2019 commits reduced kpatch's reliance on elfutils:
- d91b416 ("test: use readelf instead of eu-readelf")
- 767d966 ("kpatch-build: use readelf instead of eu-readelf")
with the reasoning that binutils are "more standard" and presumably more likely installed by default than their elfutils counterparts.
Running rpm -ql elfutils | grep '^\/usr\/bin' shows that all the elfutils binaries are prefixed by "eu-" and a grep -R 'eu-' from the top of the git kpatch repo returns 0 hits. This would indicate that indeed, kpatch no longer uses any elfutils programs.
Still there remain references to elfutils across the source tree:
- contrib/kpatch.spec : elfutils elfutils-devel listed as BuildRequires
- README.md : elfutils elfutils-devel listed as packages to install for each distro
- test/integration/fedora-27/remote-setup, test/integration/centos-7/remote-setup : both install elfutils and elfutils-devel. BTW, are these scripts even used anymore?
- .travis.yml : installs elfutils
These 2019 commits reduced kpatch's reliance on elfutils:
with the reasoning that binutils are "more standard" and presumably more likely installed by default than their elfutils counterparts.
Running
rpm -ql elfutils | grep '^\/usr\/bin'shows that all the elfutils binaries are prefixed by "eu-" and agrep -R 'eu-'from the top of the git kpatch repo returns 0 hits. This would indicate that indeed, kpatch no longer uses any elfutils programs.Still there remain references to elfutils across the source tree: