Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneemann committed May 28, 2024
1 parent f1ff503 commit 12b4df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-recipe-mkosi
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ recipe_build_mkosi() {
echo "generating script for sbom $format"
cat << EOF >> $BUILD_ROOT/$TOPDIR/SOURCES/mkosi.conf.d/99-sbom/mkosi.finalize
#!/usr/bin/bash
# script generated by build-receipe-mkosi for sbom buildflags
# script generated by build-reciepe-mkosi for sbom buildflags
echo "Generating $format sbom file"
imgname="$IMAGENAME.${RELEASE}"
ln -sf \$BUILDROOT "$IMAGENAME"
Expand All @@ -118,7 +118,7 @@ $TOPDIR/scripts/.build/generate_sbom \
--format "$format" \
--dir "$IMAGENAME" > "\$OUTPUTDIR/\${imgname}${buildnum}.${format/cyclonedx/cdx}.json"
pushd \$OUTPUTDIR >/dev/null
/usr/bin/sha256sum "\${imgname}${buildnum}.${format/cyclonedx/cdx}.json" > "\${imgname}${buildnum}.${format/cyclonedx/cdx}.json".sh256
/usr/bin/sha256sum "\${imgname}${buildnum}.${format/cyclonedx/cdx}.json" > "\${imgname}${buildnum}.${format/cyclonedx/cdx}.json".sha256
popd >/dev/null
EOF
chmod +x $BUILD_ROOT/$TOPDIR/SOURCES/mkosi.conf.d/99-sbom/mkosi.finalize
Expand Down

0 comments on commit 12b4df2

Please sign in to comment.