Skip to content

Commit

Permalink
Testing build after removing dpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Sep 19, 2023
1 parent 352ed13 commit 97dab0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ parts:
- libbrotli1
non-root-user:
plugin: nil
after: [ mongo-snap ]
after: [mongo-snap]
overlay-script: |
# Create a user in the $CRAFT_OVERLAY chroot
groupadd -R $CRAFT_OVERLAY -g 584788 mongodb
Expand All @@ -53,11 +53,6 @@ parts:
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 97dab0f

Please sign in to comment.