-
Notifications
You must be signed in to change notification settings - Fork 1
/
nfpm.yml
18 lines (16 loc) · 883 Bytes
/
nfpm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: "ndk-greeter-go" # name of the go package
arch: "amd64" # architecture you are using
version: "0.0.0-dev" # version of this rpm package
maintainer: "Roman Dodin <roman@dodin.dev>"
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
- src: "./yang" # local path of agent's YANG directory
dst: "/opt/greeter/yang" # destination path of agent YANG
- src: "./greeter.yml" # local path of agent yml
dst: "/etc/opt/srlinux/appmgr/" # destination path of agent yml