[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell script generator?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: shell script generator?
- From: ed <ed_(_at_)_ednevitible_(_dot_)_co_(_dot_)_uk>
- Date: Wed, 14 Sep 2005 23:19:27 +0100
- Organization: the triads
On Wed, 14 Sep 2005 16:52:29 -0500
> 1) make package/port list in a text file
> 2) run script in one terminal window to capture all the
> extraneous configuration-related executables i have to run
> 3) take diffs of my final configuration file contents against
> the defaults post-package/port adding
> 4) sanitize the script output and paste together
dd if=/dev/rwd0 ?
or tar cvf ./backup /etc
I believe that you will find the configure.out file in the ports
directory which contains the output of the configure arguments. Although
that said, how do you know a later version will not be different.
What you are suggesting should work, but it would be very dependant on
the version of the ports used, you're better off using a method that is
flexible, which is hard with source builds. .debs are a little easier to
manage, dpkg --get-selections makes it a little easier to rebuild a
system from deb, unfortunately life is a little harder in openbsd land.
http://edd.link9.net - http://irc.is-cool.net