diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-06-17 16:33:19 -0300 |
---|---|---|
committer | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-06-17 16:33:19 -0300 |
commit | 6154ddf9a29798b65c6acea64eca7791a2e378fb (patch) | |
tree | 8b2eb7a54b974b4690b9c54549f8cf4616f48c60 | |
parent | 68f9a9c4ab01590d63506126660e3316ba668f99 (diff) | |
download | meta-openclovis-6154ddf9a29798b65c6acea64eca7791a2e378fb.tar.gz |
openhpi-subagent: fix data dir install path
Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
-rw-r--r-- | recipes-extended/openhpi-subagent/files/fix_datadir.patch | 13 | ||||
-rw-r--r-- | recipes-extended/openhpi-subagent/openhpi-subagent_2.3.4.bb | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes-extended/openhpi-subagent/files/fix_datadir.patch b/recipes-extended/openhpi-subagent/files/fix_datadir.patch new file mode 100644 index 0000000..ed95ea3 --- /dev/null +++ b/recipes-extended/openhpi-subagent/files/fix_datadir.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/Makefile.am b/Makefile.am | ||
2 | index 72fe2c2..667d334 100644 | ||
3 | --- a/Makefile.am | ||
4 | +++ b/Makefile.am | ||
5 | @@ -51,7 +51,7 @@ SUBDIRS = src docs | ||
6 | |||
7 | DIST_SUBDIRS = src docs | ||
8 | |||
9 | -datadir = $(shell net-snmp-config --prefix)/share/snmp/mibs | ||
10 | +datadir = /usr/share/snmp/mibs/ | ||
11 | dist_data_DATA = mib/SAI-HPI-SNMP-MIB-B.01.01.mib mib/SAF-TC-MIB.mib | ||
12 | |||
13 | DISTCHECK_CONFIGURE_FLAGS = --with-initdir=prefix | ||
diff --git a/recipes-extended/openhpi-subagent/openhpi-subagent_2.3.4.bb b/recipes-extended/openhpi-subagent/openhpi-subagent_2.3.4.bb index 5b44fdf..71188ac 100644 --- a/recipes-extended/openhpi-subagent/openhpi-subagent_2.3.4.bb +++ b/recipes-extended/openhpi-subagent/openhpi-subagent_2.3.4.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | PR = "${INC_PR}.0" | 1 | PR = "${INC_PR}.1" |
2 | 2 | ||
3 | SRC_URI = "${SOURCEFORGE_MIRROR}/openhpi/openhpi-subagent-${PV}.tar.gz \ | 3 | SRC_URI = "${SOURCEFORGE_MIRROR}/openhpi/openhpi-subagent-${PV}.tar.gz \ |
4 | file://fix_autoconf.patch \ | 4 | file://fix_autoconf.patch \ |
@@ -8,6 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openhpi/openhpi-subagent-${PV}.tar.gz \ | |||
8 | file://glib_mutex.patch \ | 8 | file://glib_mutex.patch \ |
9 | file://netsnmp_unused.patch \ | 9 | file://netsnmp_unused.patch \ |
10 | file://configure_pkgconfig_openhpiutils.patch \ | 10 | file://configure_pkgconfig_openhpiutils.patch \ |
11 | file://fix_datadir.patch \ | ||
11 | " | 12 | " |
12 | SRC_URI[md5sum] = "17e84d43ef1d24ae8caa52615efb9512" | 13 | SRC_URI[md5sum] = "17e84d43ef1d24ae8caa52615efb9512" |
13 | SRC_URI[sha256sum] = "76ed0a84fdf6952341e90fc1588c2bc38021d742a65eefab92e82fd40099639a" | 14 | SRC_URI[sha256sum] = "76ed0a84fdf6952341e90fc1588c2bc38021d742a65eefab92e82fd40099639a" |