Skip to content

Commit

Permalink
Add post install script
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
  • Loading branch information
SanjulaGanepola committed Jan 3, 2025
1 parent 34558d0 commit 81b7d5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ manzan-installer-v%.jar: /QOpenSys/pkgs/bin/zip appinstall.jar
gmake -C ile BUILDVERSION="$*" BUILDLIB=${BUILDLIB}
gmake -C camel BUILDVERSION="$*" clean install
install -m 555 -o qsys service-commander-def.yaml ${INSTALL_ROOT}/opt/manzan/lib/manzan.yaml
ln -sf ${INSTALL_ROOT}/opt/manzan/lib/manzan.yaml /QOpenSys/etc/sc/services/manzan.yaml
/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/bin/java -jar appinstall.jar --qsys manzan --file /QOpenSys/etc/manzan --file /opt/manzan --file /QOpenSys/etc/sc/services/manzan.yaml -o $@
echo "#!/QOpenSys/usr/bin/sh" > .postinstall
echo "ln -sf ${INSTALL_ROOT}/opt/manzan/lib/manzan.yaml /QOpenSys/etc/sc/services/manzan.yaml" >> .postinstall
/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/bin/java -jar appinstall.jar -o $@ --qsys manzan --file /QOpenSys/etc/manzan --file /opt/manzan --post .postinstall

0 comments on commit 81b7d5e

Please sign in to comment.