Skip to content

Commit

Permalink
Update snap base image and remove unnecessary config (#628)
Browse files Browse the repository at this point in the history
Cherry-pick c66b5c7
  • Loading branch information
damonbarry authored Aug 26, 2024
1 parent a11c95e commit 4cd3296
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions snap/hooks/configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh


toml_kvp() {
printf "%s = \"%s\"\n" "$1" "$2"
}
Expand All @@ -12,8 +11,4 @@ toml_new_section() {

snapctl get raw-config > /etc/aziot/config.toml

{
toml_kvp "hostname" "$(hostnamectl hostname)"
} | tee /etc/aziot/keyd/config.d/01-snap.toml /etc/aziot/certd/config.d/01-snap.toml /etc/aziot/identityd/config.d/01-snap.toml /etc/aziot/tpmd/config.d/01-snap.toml

$SNAP/bin/aziotctl config apply
3 changes: 1 addition & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: azure-iot-identity
base: core22 # the base snap is the execution environment for this snap
base: core24 # the base snap is the execution environment for this snap
version: '1.4.9'
summary: Provides provisioning and cryptographic services for Azure IoT Hub devices.
description: |
Expand Down Expand Up @@ -57,7 +57,6 @@ parts:
- libcurl4-openssl-dev
stage-packages:
- libtss2-esys-3.0.2-0
- libtss2-mu0
- libtss2-rc0
- libtss2-sys1
- libtss2-tctildr0
Expand Down

0 comments on commit 4cd3296

Please sign in to comment.