Skip to content

Commit

Permalink
Add settings for deb packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Sep 19, 2023
1 parent 97dab0f commit c64c26d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ parts:
mkdir -p $CRAFT_PRIME/data/db
chmod 0755 $CRAFT_PRIME/data/db
chown -R 584788:584788 $CRAFT_PRIME/data/db
# enable security monitoring
rocks=usr/share/rocks/
mkdir -p ${rocks}
## for deb packages
dpkg-query \
-f '${db:Status-Abbrev},${binary:Package},${Version}, \
${source:Package},${Source:Version}\n' \
-W > ${rocks}/dpkg.query
## for snap packages
cp snap.charmed-mongodb/manifest.yaml ${rocks}
cp snap.charmed-mongodb/snapcraft.yaml ${rocks}
Expand Down

0 comments on commit c64c26d

Please sign in to comment.