RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||
---|---|---|
| ||
1. Set the GOPATH & change to the source directory, e.g. $ export GOPATH=$HOME/webpa_modules/petasos/ $ cd $HOME/webpa_modules/petasos/src/petasos 2. Resolve package dependencies using glide. $ glide install --strip-vendor 3. Build the component from source $ go build petasos 4. Create the package $ mkdir $HOME/rpmbuild $ ./build_rpm.sh --no-sign 5. Install the locally built webPA component package e.g. $ cd /root/rpmbuild/RPMS/x86_64/ $ rpm -Uvh petasos-0.1.1-87.el6.x86_64.rpm |
Note |
---|
If running build_rpm.sh complains about following: error: Macro %_releaseno has empty body Then, modify the following in script
|
Note |
---|
If build_rpm.sh prompts for password:
|