Age | Commit message (Collapse) | Author |
|
Since rabbitmq uses HOME as the location for the erlang cookie,
rabbitmq will fail to start if that directory is not on the
system.
To ensure that this is configurable, we use the bitbake variable
ROOT_HOME and replace a placeholder in the initscript.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
When populating the Openstack rootfs with rabbitmq-server package,
you get the following warnings:
WARNING: QA Issue: rabbitmq-server: Found a reference to /usr/ in
rabbitmq-server-3.2.4-r2/packages-split/rabbitmq-server/sbin/rabbitmq-env
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir
should not reference anything in exec_prefix
This patch silence the warning by telling the build system to not
throw warnings if a script in base_[bindir | sbindir | libdir ] makes
what it considers an unsafe reference to exec_prefix.
The reference though to exec_prefix in this case is very safe, since
it is only part of variable directing other scripts to
rabbitmq-server's plugins directory.
Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
shipped in any package
A number of license and installation files were installed to ${D}, move these to
${D}/usr/share/doc
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Modify the erlang_cookie for root's home directory in the initrd script
to enable the root user to run rabbitmq configuration options.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
Updating to the R16B erlang version from: https://github.com/joaohf/meta-erlang
This is a cherry pick of the latest to avoid adding a new layer dependency.
Eventually, this will be dropped and the layer used directly.
We also update rabbitmq-server to depend on erlang-modules to get the proper
support on target.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
The existing version of rabbitmq is showing its age, updating it to 3.2.4
so we can take advantage of better debug and new functionality.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Starting : FAILED - check /var/log/rabbitmq/startup_{log, _err}
rabbitmq-server status also shows an error message:
Status of node rabbit@controller ...
Error: unable to connect to node rabbit@controller: nodedown
<snip>
There's a problem with erlang cookie synchronization.
rabbitmq's home directory is created and is used as the location
for the cookie.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Add libxslt-native otherwise you will get the error:
| /bin/sh: 1: /bin/sh: 1: xsltproc: not foundxsltproc: not found
Add unzip otherwise you will get the error:
| make[3]: unzip: Command not found
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
As part of the build there is an attempt to package rabbit_common-0.0.0.ez
using zip. If zip isn't present on the build host this will cause an error:
| cp ../rabbitmq-server/include/*.hrl dist/rabbit_common-0.0.0/include/
| (cd dist; zip -q -r rabbit_common-0.0.0.ez rabbit_common-0.0.0)
| /bin/sh: 1: zip: not found
Adding zip-native in the DEPENDS avoids making the assumption that zip
is installed on the build host.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
To support the execution of the chkconfig and service scripts, we need
to ensure a consistent header on the initscripts, and a consistent
environment that allows scratch files to be written.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
For systems with non-volatile /var mounts, adding /var/log/rabbmitmq
to the main package allows logging to be enabled by default. For
volatile /var based systems, it does no harm, but does not always
create the directory on boot.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|
|
-The quick fix doesn't build the docs for the package because of an
error.
-Added an initscript for the package.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
|