Skip to content

Commit

Permalink
Move snap to classic confinement
Browse files Browse the repository at this point in the history
  • Loading branch information
dparv committed Feb 7, 2023
1 parent 340e5f5 commit 6b3a9b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def do_GET(self):
self.wfile.write(helper.encode("utf-8"))

def generate_dpkg_output(self):
cmd = 'dpkg -l --admindir=/var/lib/snapd/hostfs/var/lib/dpkg'
cmd = 'dpkg -l'
dpkg = subprocess.check_output(cmd.split())
dpkg = str(dpkg)
lines = dpkg.split('\\n')
Expand Down
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |
in json format.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
confinement: classic # use 'strict' once you have the right plugs and slots

architectures:
- build-on: [amd64]
Expand Down

0 comments on commit 6b3a9b1

Please sign in to comment.