From c64c26daad85840fbbaaf7b367445aaed889ec54 Mon Sep 17 00:00:00 2001 From: Dmitry Ratushnyy Date: Tue, 19 Sep 2023 18:00:08 +0200 Subject: [PATCH] Add settings for deb packages --- rockcraft.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rockcraft.yaml b/rockcraft.yaml index ca0ed9d..348effc 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -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}