Skip to content

Commit

Permalink
Don't create /usr/lib/.build-id files (#1)
Browse files Browse the repository at this point in the history
* Don't create /usr/lib/.build-id files

This change enables us to provide multiple rpm's that ship identical elf files.

owncloud/client#11206

* Make linter happy

---------

Co-authored-by: TheAssassin <[email protected]>
  • Loading branch information
TheOneRing and TheAssassin authored Sep 23, 2023
1 parent 8507f2a commit ff46a56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ldnp/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def generate_rpm(self, out_path: str):
# better use a custom variable to make things explicit
"--define",
f"_install_root {self.context.install_root_dir}",
# make the package coinstallable
"--define",
"_build_id_links none",
"-bb",
"package.spec",
],
Expand Down

0 comments on commit ff46a56

Please sign in to comment.