openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
130 stars 181 forks source link

generate_sbom: fix support for older RPM versions #963

Closed jgleissner closed 8 months ago

jgleissner commented 8 months ago

Do not abort in dump_rpmdb in case rpmdb does not support --exportdb but use fallback using /usr/lib/rpm/rpmdb_dump.

This fixes SBOM generation on SLE 12 build hosts.

adrianschroeter commented 8 months ago

ah, sorry, did not catch this pull request. Just looked into it and fixed it as well, the change is live.