mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] SBOM / manifest
Date: Tue, 5 Oct 2021 16:05:54 +0200	[thread overview]
Message-ID: <20211005140554.GI28441@pengutronix.de> (raw)
In-Reply-To: <20211005135815.dalyv3zl6i7737yk@falbala.internal.home.lespocky.de>

On Tue, Oct 05, 2021 at 03:58:15PM +0200, Alexander Dahl wrote:
> Hei hei,
> 
> On Tue, Oct 05, 2021 at 09:38:55AM -0400, Akshay Bhat wrote:
> > Is there a way of generating a SBOM (Software Bill of Materials) i.e.
> > list all the software packages installed on the target with the
> > associated version and license info for a ptx-dist? Something similar
> > 'make legal-info' in buildroot.
> 
> You can generate a license report like this:
> 
>   ptxdist make license-report
> 
> You'll find the report in platform-foo/report as .pdf afterwards.

Or:

ptxdist make license-compliance-data

This generates platform-foo/release/license-compliance.yaml

This yaml file contains all the available informations about all packages.

> > The closest I could find was:
> > ptxdist list-packages | xargs ptxdist package-info | grep -e package:
> > -e version: -e license:
> > 
> > Also are there any plans in the roadmap for supporting a SPDX SBOM?

It's somewhere on my mental todo list. It is probably possible to generated
it from the yaml mentioned above.

Michael

> Not sure. But the documentation has some hints: 
> 
> https://www.ptxdist.org/doc/dev_licenses.html

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-10-05 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 13:38 Akshay Bhat
2021-10-05 13:58 ` Alexander Dahl
2021-10-05 14:05   ` Michael Olbrich [this message]
2021-10-05 17:22     ` Akshay Bhat
2021-10-05 17:19   ` Christian Melki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211005140554.GI28441@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox