Skip to content

binutils vs. elfutils dependencies #1070

Description

@joe-lawrence

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:

  1. contrib/kpatch.spec : elfutils elfutils-devel listed as BuildRequires
  2. README.md : elfutils elfutils-devel listed as packages to install for each distro
  3. 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?
  4. .travis.yml : installs elfutils

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions