diff options
| author | Mustapha Lansana <Mustapha.Lansana@windriver.com> | 2014-06-04 09:46:44 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-09 09:30:57 -0400 |
| commit | 182090b8495c54150ea622ae40ae749c8cb1875b (patch) | |
| tree | 8e9a56dac92499a63437603cf114d7600d951727 | |
| parent | 9e1b30e53b2439cbafd596ae4669ed5b74879987 (diff) | |
| download | meta-cloud-services-182090b8495c54150ea622ae40ae749c8cb1875b.tar.gz | |
meta-openstack/rabbitmq-server: QA Warning found-reference to /usr
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>
| -rw-r--r-- | meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.2.4.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.2.4.bb b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.2.4.bb index 1c5344d..5f080e3 100644 --- a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.2.4.bb +++ b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.2.4.bb | |||
| @@ -4,7 +4,7 @@ LICENSE = "MPL-1.1" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE-MPL-RabbitMQ;md5=b651d0a6feaaf2bf5eb9d36b2495c510" | 4 | LIC_FILES_CHKSUM = "file://LICENSE-MPL-RabbitMQ;md5=b651d0a6feaaf2bf5eb9d36b2495c510" |
| 5 | SECTION = "network" | 5 | SECTION = "network" |
| 6 | DEPENDS = "erlang-native libxslt python-simplejson zip-native unzip-native libxslt-native" | 6 | DEPENDS = "erlang-native libxslt python-simplejson zip-native unzip-native libxslt-native" |
| 7 | PR = "r1" | 7 | PR = "r2" |
| 8 | 8 | ||
| 9 | SRC_URI = "http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/${PN}-${PV}.tar.gz \ | 9 | SRC_URI = "http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/${PN}-${PV}.tar.gz \ |
| 10 | file://rabbitmq-server \ | 10 | file://rabbitmq-server \ |
| @@ -59,3 +59,4 @@ FILES_${PN} += " ${libdir}/rabbitmq/lib/${PN}-${PV}/* \ | |||
| 59 | " | 59 | " |
| 60 | 60 | ||
| 61 | FILES_${PN}-doc += "LICENSE* INSTALL" | 61 | FILES_${PN}-doc += "LICENSE* INSTALL" |
| 62 | INSANE_SKIP_${PN} = "unsafe-references-in-scripts" | ||
