Ack /Hans
On 10 June 2013 18:25, <[email protected]> wrote: > opensaf.spec.in | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > > The rpm spec is updated to setup the softlink for nodeinit.conf during rpm > -Uvh. > Backward compatibility in terms of user experience is maintained by not > removing the > rule for creating the softlink. The current behaviour is intact for 4.2.x > and 4.3.x > > diff --git a/opensaf.spec.in b/opensaf.spec.in > --- a/opensaf.spec.in > +++ b/opensaf.spec.in > @@ -855,7 +855,7 @@ sed -i 's/MDS_TRANSPORT=TIPC/MDS_TRANSPO > %endif > > # $1 == 1 (install), $1 == 2 (upgrade) > -if [ $1 = 1 ]; then > +if [ $1 = 1 ] || [ $1 = 2 ]; then > %{__ln_s} -f %{_pkgsysconfdir}/nodeinit.conf.controller > %{_pkgsysconfdir}/nodeinit.conf > echo "controller" > %{_pkgsysconfdir}/node_type > hostname -s > %{_pkgsysconfdir}/node_name > @@ -878,7 +878,7 @@ sed -i 's/MDS_TRANSPORT=TIPC/MDS_TRANSPO > %endif > > # $1 == 1 (install), $1 == 2 (upgrade) > -if [ $1 = 1 ]; then > +if [ $1 = 1 ] || [ $1 = 2 ]; then > %{__ln_s} -f %{_pkgsysconfdir}/nodeinit.conf.payload > %{_pkgsysconfdir}/nodeinit.conf > echo "payload" > %{_pkgsysconfdir}/node_type > hostname -s > %{_pkgsysconfdir}/node_name > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Opensaf-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
