X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre.spec.in;h=05920ceab5f316adc23d5e3be9b369752929cd7b;hb=593e71ba5504f017673356ca811249fea3ba119b;hp=1e50a001100a79b807c2db2912e10fb66ed4e46d;hpb=5b1e28811de3825a6960d2cc532cec66e26ccfe1;p=fs%2Flustre-release.git diff --git a/lustre.spec.in b/lustre.spec.in index 1e50a00..05920ce 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -208,6 +208,11 @@ elif [ -e ${llog_base}.o ]; then cp ${llog_base}.o $RPM_BUILD_ROOT/lib/modules/%{kversion}/updates/kernel/fs/lustre fi +# The .ha_v2 extension identifies the heartbeat resource agent as using +# legacy syntax. Install a compatibility symlink to avoid conflicts when +# newer-style agents are added. +ln -s Lustre.ha_v2 $RPM_BUILD_ROOT/etc/ha.d/resource.d/Lustre + # Create the pristine source directory. cd $RPM_BUILD_DIR/lustre-%{version} mkdir -p $RPM_BUILD_ROOT/usr/src @@ -240,6 +245,7 @@ cat >lustre.files <