Skip to content

Commit

Permalink
Merge pull request canonical#390 from canonical/security
Browse files Browse the repository at this point in the history
build: add security manifest to rock
  • Loading branch information
shipperizer authored Dec 16, 2024
2 parents 1a828fc + 7359e21 commit 41daa99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ parts:
opt/identity-platform-login-ui/bin/app: usr/bin/identity-platform-login-ui
stage-packages:
- base-files_var

deb-security-manifest:
plugin: nil
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 41daa99

Please sign in to comment.