On Apr 30, 2009, at 9:39 PM, Matt Taggart wrote: >> Added: trunk/fossology/utils/installagents >> =================================================================== >> --- trunk/fossology/utils/installagents >> (rev 0) >> +++ trunk/fossology/utils/installagents 2009-04-29 21:24:55 UTC >> (rev 20 >> 49) >> @@ -0,0 +1,21 @@ >> +#!/bin/bash >> +# After you build a fossology tarball with fo-mktar, you can use >> +# this script to copy the fossology tarball to the multiple agent >> machines >> +# specified in the for loop. >> +# It then untars, builds and installs fossology on those machines. >> +# This does not clean up the unpacked tarball on the agent machines. >> + >> +# Usage: updateagents fossology-1.1.0~20090205.tar.gz >> + >> +TARFILE=$1 >> +TARDIR=${TARFILE%.tar.gz} >> + >> +for i in buckbeak fawkes > > This is HP infrastructure specific, maybe you could make it more > generic or > at least explain that it's an HP specific script.
It's not an HP specific script. The server names are examples that happen to be meaningful to me. That's why the comments say "you can use this script to copy the fossology tarball to the multiple agent machines specified in the for loop". I'll clarify that and switch to fo-postinstall when I get back to work on Monday (I'm on FTO). Thanks! Bob >> +do >> +scp $TARFILE $i:~/$TARFILE >> +ssh $i "tar -xzvf $TARFILE; >> + cd $TARDIR; >> + make ; make install; >> + sudo ./install.sh -u';" > > install.sh went away with the old build system. You want > /usr/local/bin/fo-postinstall instead, and depending on which system > you > are running on you can use it's flags to only run the needed stuff. > Use > --help for more info. > > -- > Matt Taggart > tagg...@fossology.org > > > _______________________________________________ > fossology-commits mailing list > fossology-comm...@fossology.org > http://fossology.org/mailman/listinfo/fossology-commits _______________________________________________ fossology mailing list fossology@fossology.org http://fossology.org/mailman/listinfo/fossology