Skip to content

Commit

Permalink
Merge pull request #115 from canonical/IAM-352
Browse files Browse the repository at this point in the history
chore: add deb security part for oci-factory listing
  • Loading branch information
shipperizer authored Oct 15, 2024
2 parents e8a6ff6 + 2b2d803 commit 396bf3a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ parts:
# Build the binary
go mod download
go build -ldflags="${go_linker_flags}" -o ${CRAFT_PART_INSTALL}/bin/kratos
deb-security-manifest:
plugin: nil
after:
- util
- shell
override-prime: |
set -x
mkdir -p $CRAFT_PRIME/usr/share/rocks/
(echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && dpkg-query --admindir=$CRAFT_PRIME/var/lib/dpkg/ -f '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' -W) > $CRAFT_PRIME/usr/share/rocks/dpkg.query

0 comments on commit 396bf3a

Please sign in to comment.