[ale] sh archive

Geoffrey Myers lists at serioustechnology.com
Wed Apr 20 10:27:54 EDT 2011


Jim Kinney wrote:
> Where did you find shar? I wanted to look at it but it's just not part 
> of the RHEL/Fedora tool chain.

Weird, I just checked my Red Hat Network and it shows sharutils comes 
with Red Hat.

> 
> On Wed, Apr 20, 2011 at 10:11 AM, Geoffrey Myers 
> <lists at serioustechnology.com <mailto:lists at serioustechnology.com>> wrote:
> 
>     Derek Atkins wrote:
>      > Ed,
>      >
>      > Ed Cashin <ecashin at noserose.net <mailto:ecashin at noserose.net>>
>     writes:
>      >
>      >> That looks neat, but I don't have time to read it now, so I'm
>     wondering why
>      >> not use the existing "shar" utility.
>      >
>      > I believe the OP wanted more than just "unpack".  The self-extracting
>      > code provided in the other link lets you write an arbitrary
>      > pre-install/post-install script that runs as part of the
>     installation!
>      > It's pretty sweet!  I've used that structure before and it's quite
>      > powerful as a way to distribute programs.
> 
>     I actually was able to use shar to accomplish my goal.  I first used
>     shar to create the archive of the data, then I hand edited the shell
>     archive to perform the tasks I needed.  Worked like a charm.
> 
>      >
>      > [snip]
>      >
>      > -derek
>      >
>      >> On Tue, Apr 19, 2011 at 11:42 AM, Jim Kinney
>     <jim.kinney at gmail.com <mailto:jim.kinney at gmail.com>> wrote:
>      >>
>      >>     This is what you are looking for:
>      >>
>      >>     http://www.linuxjournal.com/node/1005818
>      >>
>      >>     Very slick and very, very useful.
>      >>
>      >>     Self-extracting bash script.
>      >>
>      >>     On Tue, Apr 19, 2011 at 11:30 AM, Geoffrey Myers <
>      >>     lists at serioustechnology.com
>     <mailto:lists at serioustechnology.com>> wrote:
>      >>
>      >>         So, I'm trying to simplify an install process for a
>     small group of
>      >>         developers.  I want them to be able to simply run a
>     script that
>      >>         contains
>      >>         the payload of software to be installed.
>      >>
>      >>         I recall being able to do this with something called a
>     shell archive?
>      >>
>      >>         It must be able to do more then just populate a
>     directory tree though.
>      >>
>      >>         Any suggestions???
>      >>
>      >>         --
>      >>         Until later, Geoffrey
>      >>
>      >>         "I predict future happiness for America if they can prevent
>      >>         the government from wasting the labors of the people under
>      >>         the pretense of taking care of them."
>      >>         - Thomas Jefferson
>      >>         _______________________________________________
>      >>         Ale mailing list
>      >>         Ale at ale.org <mailto:Ale at ale.org>
>      >>         http://mail.ale.org/mailman/listinfo/ale
>      >>         See JOBS, ANNOUNCE and SCHOOLS lists at
>      >>         http://mail.ale.org/mailman/listinfo
>      >>
>      >>     --
>      >>     --
>      >>     James P. Kinney III
>      >>     I would rather stumble along in freedom than walk
>     effortlessly in chains.
>      >>
>      >>     _______________________________________________
>      >>     Ale mailing list
>      >>     Ale at ale.org <mailto:Ale at ale.org>
>      >>     http://mail.ale.org/mailman/listinfo/ale
>      >>     See JOBS, ANNOUNCE and SCHOOLS lists at
>      >>     http://mail.ale.org/mailman/listinfo
>      >>
>      >> --
>      >>   Ed Cashin <ecashin at noserose.net <mailto:ecashin at noserose.net>>
>      >>   http://noserose.net/e/
>      >>   http://www.coraid.com/
>      >>
>      >> _______________________________________________
>      >> Ale mailing list
>      >> Ale at ale.org <mailto:Ale at ale.org>
>      >> http://mail.ale.org/mailman/listinfo/ale
>      >> See JOBS, ANNOUNCE and SCHOOLS lists at
>      >> http://mail.ale.org/mailman/listinfo
>      >
> 
> 
>     --
>     Until later, Geoffrey
> 
>     "I predict future happiness for America if they can prevent
>     the government from wasting the labors of the people under
>     the pretense of taking care of them."
>     - Thomas Jefferson
>     _______________________________________________
>     Ale mailing list
>     Ale at ale.org <mailto:Ale at ale.org>
>     http://mail.ale.org/mailman/listinfo/ale
>     See JOBS, ANNOUNCE and SCHOOLS lists at
>     http://mail.ale.org/mailman/listinfo
> 
> 
> 
> 
> -- 
> -- 
> James P. Kinney III
> I would rather stumble along in freedom than walk effortlessly in chains.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list