diff options
| -rw-r--r-- | recipes-extended/glusterfs/glusterfs.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc index 40a3922..66e2bf1 100644 --- a/recipes-extended/glusterfs/glusterfs.inc +++ b/recipes-extended/glusterfs/glusterfs.inc | |||
| @@ -64,9 +64,11 @@ do_install_append() { | |||
| 64 | install -m 0755 ${WORKDIR}/glusterd.init \ | 64 | install -m 0755 ${WORKDIR}/glusterd.init \ |
| 65 | ${D}${sysconfdir}/init.d/glusterd | 65 | ${D}${sysconfdir}/init.d/glusterd |
| 66 | 66 | ||
| 67 | # Mount looks for mount.* plug-ins in /sbin; fix it with a symlink. | 67 | if ! ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then |
| 68 | mkdir -p ${D}${base_sbindir} | 68 | # Mount looks for mount.* plug-ins in /sbin; fix it with a symlink. |
| 69 | (cd ${D}${base_sbindir}; ln -s ..${sbindir}/mount.glusterfs .) | 69 | mkdir -p ${D}${base_sbindir} |
| 70 | (cd ${D}${base_sbindir}; ln -s ..${sbindir}/mount.glusterfs .) | ||
| 71 | fi | ||
| 70 | 72 | ||
| 71 | # These are plug-ins, so they don't need libtool configs. | 73 | # These are plug-ins, so they don't need libtool configs. |
| 72 | find ${D}${libdir}/glusterfs/${PV} -name '*.la' -exec rm -f '{}' ';' | 74 | find ${D}${libdir}/glusterfs/${PV} -name '*.la' -exec rm -f '{}' ';' |
