Skip to content
Snippets Groups Projects

generate_bom: Add script to generate BOM file

Merged Walter Lozano requested to merge (removed):wip/wlozano/bom into apertis/v2022dev1
All threads resolved!

Add a new script generate_bom.py which scans a folder to find FOSSology report and the list for source file for each package and binary in order to build a BOM file.

Edited by Walter Lozano

Merge request reports

Checking pipeline status.

Merged by avatar (Apr 2, 2025 7:12pm UTC)

Merge details

  • Changes merged into with 93dccc90.
  • Deleted the source branch.

Pipeline #178300 passed

Pipeline passed for 93dccc90 on apertis/v2022dev1

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Walter Lozano added 1 commit

    added 1 commit

    • 60f00d6c - ospack: Hook BOM file generation

    Compare with previous version

  • Walter Lozano resolved all threads

    resolved all threads

    • Resolved by Walter Lozano

      I'd move the generation of the licensing bom to the -image recipes as those are the things that get deployed, I would not really care about the ospacks as they are intermediate entities. :)

    • Resolved by Walter Lozano

      We currently have path-exclude=/usr/share/doc/* in the minimal-dpkg-exclusions, I guess it needs to be updated or the needed files in those cases will not be unpacked by dpkg at all.

      That overlay should probably also be used on target images.

      And as soon as we generate the final licensing bom we should drop all the metadata we used to generate it from the images anyway, at least for minimal and target while we can keep it around for the SDK ones.

      Dropping /usr/share/doc/* as a whole is probably what we want in these cases.

  • Emanuele Aina
  • Walter Lozano added 3 commits

    added 3 commits

    • 6f510919 - scripts: Add script to generate BOM file
    • 8ea83269 - Add path-include to dpkg for BOM file generation
    • 50caab65 - image: Hook BOM file generation

    Compare with previous version

  • Emanuele Aina
  • Emanuele Aina
    • Resolved by Emanuele Aina

      You probably have to bump the max artifact size on your repo to make the sdk image job happy (it's set to 5000 MB here). No idea why the basesdk ospack failed though.

  • Walter Lozano added 5 commits

    added 5 commits

    • 4b8ab0f1 - Rename overlay for dpkg exclusions
    • 079a27d7 - ospack-minimal: Move dpkg overlay prior to apt
    • d37991ef - ospack-target: Add dpkg overlay for path-exclude
    • 2324d19c - Update dpkg overlay to suppot BOM file creation
    • ecd99e9b - image: Hook BOM file generation

    Compare with previous version

  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Emanuele Aina
  • Walter Lozano added 1 commit

    added 1 commit

    • 8b85f362 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • 4a449d63 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • ad335fd0 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • e3826557 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • 2c451fc9 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • 7fae8d36 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 1 commit

    added 1 commit

    • c78781c0 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Walter Lozano added 6 commits

    added 6 commits

    • 76073180 - scripts: Add script to generate BOM file
    • 508e46fa - Rename overlay for dpkg exclusions
    • 6eba8529 - ospack-minimal: Move dpkg overlay prior to apt
    • ee036a7e - ospack-target: Add dpkg overlay for path-exclude
    • 1f49a036 - Update dpkg overlay to suppot BOM file creation
    • d5ec2ad6 - image: Hook BOM file generation

    Compare with previous version

  • Emanuele Aina resolved all threads

    resolved all threads

  • Emanuele Aina approved this merge request

    approved this merge request

  • Emanuele Aina added 14 commits

    added 14 commits

    • d5ec2ad6...3ea516ce - 8 commits from branch infrastructure:apertis/v2022dev1
    • 87a46807 - scripts: Add script to generate BOM file
    • c1dd131b - Rename overlay for dpkg exclusions
    • fa2f6fec - ospack-minimal: Move dpkg overlay prior to apt
    • fbbfc0ef - ospack-target: Add dpkg overlay for path-exclude
    • 4734c6bc - Update dpkg overlay to suppot BOM file creation
    • a26cfd39 - image: Hook BOM file generation

    Compare with previous version

  • Emanuele Aina enabled an automatic merge when the pipeline for a26cfd39 succeeds

    enabled an automatic merge when the pipeline for a26cfd39 succeeds

  • Emanuele Aina aborted the automatic merge because target branch was updated

    aborted the automatic merge because target branch was updated

  • Emanuele Aina added 7 commits

    added 7 commits

    • 6b175789 - 1 commit from branch infrastructure:apertis/v2022dev1
    • 0ddea1e8 - scripts: Add script to generate BOM file
    • 52ff7dc1 - Rename overlay for dpkg exclusions
    • 611add22 - ospack-minimal: Move dpkg overlay prior to apt
    • 3eb122a1 - ospack-target: Add dpkg overlay for path-exclude
    • 24927661 - Update dpkg overlay to suppot BOM file creation
    • 93dccc90 - image: Hook BOM file generation

    Compare with previous version

  • Emanuele Aina enabled an automatic merge when the pipeline for 93dccc90 succeeds

    enabled an automatic merge when the pipeline for 93dccc90 succeeds

  • merged

  • Please register or sign in to reply
    Loading