Skip to content

pkg_rpm cannot inject source files into debuginfo RPMs via find-debuginfo #965

@wade-arista

Description

@wade-arista

When building debuginfo packages, find-debuginfo is called by rpmbuild. To include the relevant source files, they will need to be accessible to find-debuginfo via rpmbuild.

There are a number of other pieces required for an end-to-end solution with debuginfo, but they're outside the scope of rules_pkg, e.g.

  • customized find-debuginfo that can run inside bazel
  • special _find_debuginfo_opts used to locate source files
  • figuring out which source files to pass to pkg_rpm() in the first place.

The key, though, is that pkg_rpm() accepts extra data in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions