X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre.spec.in;h=05920ceab5f316adc23d5e3be9b369752929cd7b;hp=1e50a001100a79b807c2db2912e10fb66ed4e46d;hb=6c3606b79a4c25946255a680f79ff2d58df66bbc;hpb=5b1e28811de3825a6960d2cc532cec66e26ccfe1;ds=sidebyside 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 <