Skip to content

RDKOSS-954: Auto generated CVE report - #30

Merged
vbabypublic merged 1 commit into
rdk/kirkstonefrom
vbabypublic-patch-3
Aug 5, 2026
Merged

RDKOSS-954: Auto generated CVE report#30
vbabypublic merged 1 commit into
rdk/kirkstonefrom
vbabypublic-patch-3

Conversation

@vbabypublic

Copy link
Copy Markdown

Turn the error to waring for the multi arch build

Turn the error to waring for the multi arch build
Copilot AI review requested due to automatic review settings August 5, 2026 14:45

@vbabypublic vbabypublic left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the layer CVE manifest generation flow to no longer hard-fail when a recipe is detected with multiple architectures during image CVE report creation, aligning with the goal of allowing multi-arch builds to complete.

Changes:

  • Downgrade the “recipe has multiple arch” condition from bb.fatal() to bb.warn() in layer_cve_check_write_rootfs_manifest().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 158 to 162
if recipe in recipe_arch_map:
if recipe_arch_map[recipe] != arch:
bb.fatal("The recipe (%s) has configured with multiple arch (%s, %s)" %(recipe, recipe_arch_map[recipe], arch))
bb.warn("The recipe (%s) has configured with multiple arch (%s, %s)" %(recipe, recipe_arch_map[recipe], arch))
else:
recipe_arch_map[recipe] = arch
if recipe in recipe_arch_map:
if recipe_arch_map[recipe] != arch:
bb.fatal("The recipe (%s) has configured with multiple arch (%s, %s)" %(recipe, recipe_arch_map[recipe], arch))
bb.warn("The recipe (%s) has configured with multiple arch (%s, %s)" %(recipe, recipe_arch_map[recipe], arch))

@bpunnuru bpunnuru left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@vbabypublic
vbabypublic merged commit 5d59475 into rdk/kirkstone Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants