This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Installing from local directory -- trying to avoid massive duplication of effort
Christopher Faylor <cgf@redhat.com> writes:
> Either that or something like (untested):
>
> mkdir c:\cygwin
> cd c:\cygwin
> c:\whereever\tar xjf /cygdrive/c/whereever/cygwin-*.tar.bz2
> mount -f -s -b c:/cygwin /
> mount -f -s -b c:/cygwin/lib /usr/lib
> mount -f -s -x -b c:/cygwin/bin /usr/bin
> c:\whereever\tar xjf /cygdrive/c/whereever/bash-*.tar.bz2
> bin/bash
> for f in /cygdrive/c/whereever/*.tar.bz2; do
> case "$f" in
> cygwin-*) ;;
> bash-*) ;;
> *) /cygdrive/c/whereever/tar xjf $f ;;
> esac
> done
> cd /etc/postinstall
> for f in *.sh; do /bin/sh ./$f; done
> for f in *.bat; do cmd /c .\\$f; done
> exit
I've been looking for this script. Come to papa! ;-)
Won't this leave out the necessary updates to the registry? Or does mount
take care of that?
--
/Jesper
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/