From: Sandon Van Ness Date: Wed, 5 Mar 2014 00:15:15 +0000 (-0800) Subject: Make symlink of librbd to qemu's folder so it can detect it. X-Git-Tag: v0.67.8~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5a6b35160417423db7c6ff892627f084ab610dfe;p=ceph.git Make symlink of librbd to qemu's folder so it can detect it. Per issue #7293. Signed-off-by: Sandon Van Ness (cherry picked from commit 65f3354903fdbdb81468a84b8049ff19c00f91ba) --- diff --git a/ceph.spec.in b/ceph.spec.in index d66b77fbd02a..aca24e7b272a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -568,6 +568,8 @@ fi %post -n librbd1 /sbin/ldconfig +mkdir -p /usr/lib64/qemu/ +ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %postun -n librbd1 /sbin/ldconfig