Search code examples
rpmbuilddeb

fpm v.1.11.0 vs inclusion of /usr/lib/.build-id files


New to using fpm I’m trying to package some config files and a few binaries (from source: dir), eg. no building from sources. When I get a package it seems to include symlinks from under /usr/lib/.build-id pointing to the binaries in the package.

How may I avoid such symlinks in my pacakages?

TIA!


Solution

  • adding these options to fpm did the trick:

    --rpm-tag '%define _build_id_links none' --rpm-tag '%undefine _missing_build_ids_terminate_build'

    thanks to info found here