Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

snapcraft.yaml: specify ProfilesDir in the config file as $SNAP_DATA/.../profiles #20

Merged
merged 1 commit into from
Sep 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ parts:
-e s'@Host = \"edgex-device-grove\"@Host = \"localhost\"@' \
-e s'@Host = \"edgex-core-data\"@Host = \"localhost\"@' \
-e s'@Host = \"edgex-core-metadata\"@Host = \"localhost\"@' \
-e s'@ProfilesDir = \"\"@ProfilesDir = \"\$SNAP_DATA/config/edgex-device-grove/res/profiles\"@' \
$SNAPCRAFT_PART_INSTALL/res/configuration.toml
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/doc/edgex-device-grove
mkdir -p $SNAPCRAFT_PART_INSTALL/config
Expand Down