Skip to content

Commit 61cffe0

Browse files
committed
updated Readme
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
1 parent 7f9af6c commit 61cffe0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ The eventual goal is to integrate the `sbom/` directory into the `linux/scripts/
3636
--roots arch/x86/boot/bzImage \
3737
--generate-spdx \
3838
--generate-used-files \
39-
--prettify-json
39+
--prettify-json \
40+
--debug
4041
```
4142

4243
Starting from the provided root artifact (`bzImage`), the script constructs a **cmd graph**: a directed acyclic graph whose nodes are filenames and whose edges represent build dependencies extracted from the corresponding `.<filename>.cmd` files.

sbom/sbom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def main():
5757
logging.debug(f"Found {len(used_files)} source files in cmd graph")
5858
with open(os.path.join(config.output_directory, config.used_files_file_name), "w", encoding="utf-8") as f:
5959
f.write("\n".join(str(file_path) for file_path in used_files))
60-
logging.debug(f"Successfully saved {config.used_files_file_name}")
60+
logging.debug(f"Successfully saved {os.path.join(config.output_directory, config.used_files_file_name)}")
6161

6262
if config.generate_spdx is False:
6363
return

0 commit comments

Comments
 (0)