Skip to content

yudapeng911/meta-wr-sbom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The meta-wr-sbom OpenEmbedded/Yocto layer is used to generate Software Bill of Materials (SBOM) of Software Package Data Exchange (SPDX) format for Yocto-based projects. The SBOM file created by the layer using SPDX v2.2 specification will include accurate identification of software components, explicit mapping of relationships between components, and the association of security and licensing information with each component.


Supported Yocto Project Versions


Requirements

Yocto Version >=1.6 & <=2.1:
Python 2 version >= 2.7 must be installed on build host machine.

Yocto Version >= 2.2:
Wind River Linux Version >= WRL9:
Python 3 version >= 3.7 must be installed on build host machine.


Quick Start

Getting meta-wr-sbom

Clone the meta-wr-sbom repository (or unpack an archive of it) into the top-level directory of your yocto build project:

git clone https://github.com/Wind-River/meta-wr-sbom

Adding the meta-wr-sbom layer to Your Build

At the top-level directory of your yocto build workspace, you can add the meta-wr-sbom layer to the build system by performing the following command:

source ../meta-wr-sbom/init_create_sbom

Generating SBOM File

bitbake ${image_name}

The SBOM file of your yocto project will be generated as tmp/deploy/images/${machine}/${image_name}.spdx.json.


Supported Legacy Wind River Linux Versions


Requirements

Python 2.7 or later version is required to be installed on build host.

Quick Start

Getting meta-wr-sbom

Clone the meta-wr-sbom repository (or unpack an archive of it) into the top-level directory of your project:

git clone https://github.com/Wind-River/meta-wr-sbom

Adding the meta-wr-sbom layer to Your Build

At the top-level directory of your Wind River project, you can add the meta-wr-sbom layer to the build system by performing the following command:

source ../meta-wr-sbom/init_create_sbom

Generating SBOM File

make

The SBOM file of your project will be generated as bitbake_build/tmp/deploy/images/${machine}/${image_name}.spdx.json.


Supported EOL Wind River Linux versions

Requirements

Python 2.7 or later version is required to be installed on build host.

Quick Start

Fully build your project.

Getting meta-wr-sbom

Clone the meta-wr-sbom repository (or unpack an archive of it) into the top-level directory of your project:

git clone https://github.com/Wind-River/meta-wr-sbom

Generating SBOM File

At the top-level directory of your project directory, perform the following command:

python meta-wr-sbom/tool/gen_eol_wrl_sbom.py .

The SBOM file of your project will be generated as meta-wr-sbom/tool/${image_name}.spdx.json.

Legal Notices

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this software are for identification purposes only. Wind River is a trademark of Wind River Systems, Inc.

Disclaimer of Warranty / No Support: Wind River does not provide support and maintenance services for this software, under Wind River’s standard Software Support and Maintenance Agreement or otherwise. Unless required by applicable law, Wind River provides the software (and each contributor provides its contribution) on an “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, either express or implied, including, without limitation, any warranties of TITLE, NONINFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the software and assume any risks associated with your exercise of permissions under the license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 62.6%
  • Python 36.2%
  • Other 1.2%