firstboot

Juan Jesús Ojeda Croissier juanje at interactors.coop
Thu Jul 14 07:05:30 CDT 2005


I guess I didn't explain myself very well ;-)

El jue, 14-07-2005 a las 12:20 +0100, Colin Watson escribió:
[...]
> > Well, because one of my ideas about UbuntuExpress was no to config
> > anything in the installer time, just partitioning, copy and no much
> > more. And after to (kind of) preseed somehow the oem-config to deliver
> > the config to him.
> 
> Deliver what configuration? You don't have any configuration in that
> scenario because you didn't ask for any. :-) Preseeding only makes sense
> when you have something to preseed.

When I said no to config I mean just that "to config" not to ask. The
idea is to ask and copy the answer somewhere, after copy the image to
the disk, and then, when reboot, the oem-config takes those answers and
config the system and packages it need without ask anything, just change
the debconf stuff, the files, and reconfigure the packages, showing a
nice progressbar or something.

> I do *strongly* believe that it's better to ask for configuration
> up-front in the Ubuntu Express installer, not to defer it until the
> system is installed. I don't want "ask questions on first boot" to
> become part of our standard installation procedure if I can possibly
> avoid it, because people generally seem to like the way we ask questions
> earlier rather than later. (Of course, what you do in Guadalinex is up
> to you ...)

Nope, I'm totally agree with you, I like to ask in the installer not in
the boot time.
Anyway, as I told you I've been thinking better about it and I guess
it's better not to use this way. Or at least not so good as it seems at
the beginning.

> > And how/where the oem-config if hooked to the boot system?
> 
> It isn't yet, but it'll hook in more or less the same way that
> base-config does (i.e. an inittab entry that gets removed when
> oem-config finishes, or similar); see prebaseconfig.

Ok, thanks.
I was just wondering why touch and restore the inittab, when with just
putting a file named /sbin/unconfigured.sh or /sbin/setup.sh who launch
the oem-config and remove himself at the end you could do the same.
I didn't know base-config use this method, I thought was the second one.

Cheers

-- 
   \|/  interactors              | juanje arroba interactors.coop
  \|/    |_ activando redes      | http://interactors.coop
 \|/     |_ activating networks  | http://metadistros.hispalinux.es
 / 



More information about the ubuntu-devel mailing list