Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image: fix image generation within ImageBuilder #96

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

openwrtdiy
Copy link
Owner

Changes introduced in commit d604a07 ("build: add CycloneDX SBOM JSON support") broke ImageBuilder:

Cannot open '/openwrt-imagebuilder-ath79-generic.Linux-x86_64/tmp/.packageinfo': No such file or directory

So lets fix it by wrapping the BOM generation behind condition of IB feature check.

Fixes: openwrt#13881
Fixes: d604a07 ("build: add CycloneDX SBOM JSON support")
Signed-off-by: Petr Štetiar ynezz@true.cz
(cherry picked from commit c4259a6)

Thanks for your contribution to OpenWrt!

To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches

Please remove this message before posting the pull request.

Changes introduced in commit d604a07 ("build: add CycloneDX SBOM
JSON support") broke ImageBuilder:

  Cannot open '/openwrt-imagebuilder-ath79-generic.Linux-x86_64/tmp/.packageinfo': No such file or directory

So lets fix it by wrapping the BOM generation behind condition of IB
feature check.

Fixes: openwrt#13881
Fixes: d604a07 ("build: add CycloneDX SBOM JSON support")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit c4259a6)
@openwrtdiy openwrtdiy merged commit 3fc5113 into pppoe-23.05 Nov 6, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants