Subject: Re: sysinst config file
To: Tim Rightnour <root@garbled.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-install
Date: 11/29/1999 18:39:14
On Sun, Nov 28, 1999 at 11:11:10PM -0700, Tim Rightnour wrote:
> I actually mean this:
>
> sysinst:
> Asks all the questions. Including which pkgs to install, how to configure
> rc.conf, the IP, disks, etc. outputs an "installtab" or whatever file.
>
> postinst.install:
> It's postinst.. but compiled with some sort of -DINSTALL_MEDIA that cuts out
> the uneeded code. This would perform the physical install, like sysinst does
> now. This program would read the "installtab" and execute it.
>
> postinst:
> the complete version.. capable of installing pkgs, etc. Again, reads the
> installtab.
>
> > We would still have 2 programs which are able to do the same thing ...
> > Maybe we need more than 2 ?
>
> My idea was to #ifdef the stuff that would run after the initial install was
> complete. So two versions would be built from the same code.. But yes, it
> would in essence be 3 programs.
Ok, now I understand. This may be a good idea ...
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--