The installp/bff format uses the command installp. Installp is simple to use from the command line: installp is also a package manager in that it. Unless there is a specific RPM for a higher AIX version than V5.1 available you are always safe to use the AIX5L V5.1 version. AIX has excellent binary compatibility and therefore I intentionally use a rather early level of AIX5L V5.1 to build my packages. They should all run on later AIX versions with no problems.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignees
Comments
commented Nov 26, 2017
Installation of Sensu package on AIX fails on pre_rm script. Following command is used to install the package: installp -aYF -Q -d /var/tmp/sensu-1.1.2-1.powerpc.bff sensu There is a function in sensu.pre_rm script to stop sensu-client. To ignore failure of stopsrc , when Sensu is not installed or not running, it sets +e flag, however looks like this is only valid within the function as the script fails because of non-zero return code of stop_sensu_services .This is because set +e is in effect within the function and it does not exit after stopsrc fails, but it exits because function stop_sensu_services fails (non-zero return code and set -e is set for the script). Looks like this is different behavior than bash where set +e in function is global.The simple fix would be changing stop_sensu_services for AIX to |
added the ready label Nov 27, 2017
assigned amdprophetNov 27, 2017
Merged
added in progress and removed ready labels Nov 27, 2017
closed this Dec 1, 2017
removed the in progress label Dec 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignees
Comments
commented Nov 26, 2017
Installation of Sensu package on AIX fails on pre_rm script. Following command is used to install the package: installp -aYF -Q -d /var/tmp/sensu-1.1.2-1.powerpc.bff sensu There is a function in sensu.pre_rm script to stop sensu-client. To ignore failure of stopsrc , when Sensu is not installed or not running, it sets +e flag, however looks like this is only valid within the function as the script fails because of non-zero return code of stop_sensu_services .This is because set +e is in effect within the function and it does not exit after stopsrc fails, but it exits because function stop_sensu_services fails (non-zero return code and set -e is set for the script). Looks like this is different behavior than bash where set +e in function is global.The simple fix would be changing stop_sensu_services for AIX to |
added the ready label Nov 27, 2017
assigned amdprophetNov 27, 2017
Merged
added in progress and removed ready labels Nov 27, 2017
closed this Dec 1, 2017
![Convert Convert](/uploads/1/2/5/8/125839541/209202984.jpg)
removed the in progress label Dec 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment