-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ maintainer: "Roman Dodin <[email protected]>" | |
description: "Greeter NDK application" # description of a package | ||
vendor: "Nokia" # optional information about the creator of the package | ||
license: "Apache-2.0" # license of the package | ||
scripts: | ||
postinstall: postinstall.sh # post-installation script that can, for example, reload app_mgr | ||
contents: # contents to add to the package | ||
- src: "./build/greeter" # local path of agent binary | ||
dst: "/usr/local/bin/greeter" # destination path of agent binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set +e | ||
|
||
source /etc/profile.d/sr_app_env.sh | ||
|
||
echo "Reload appmgr" | ||
sr_cli -e "/ tools system app-management application app_mgr reload" > /dev/null 2>&1 || true | ||
sleep 1 |