Re: customizing Fedora Core 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 Jul 2004, Jeremy Katz wrote:

> On Wed, 2004-07-14 at 12:29 +0300, Panu Matilainen wrote:
> > Would be nice if there was something like /etc/firstboot.d from which
> > scripts get executed on first boot, regardless of whether the graphical
> > firstboot is run. I've my own package to do just that, very much for
> > reasons like this... (not everything can be done from kickstart %post)
> 
> For the interactive install case, firstboot uses all of the modules
> from /usr/share/firstboot/modules.  You could conceivably add a step
> that did this if you wanted without too much difficulty.

Yeah, I know (and have done so :)

> 
> Note that a) there is now non-graphical firstboot (although it looks
> like it has its list of tools hard-coded :/) and b) firstboot doesn't
> get run by default with kickstart installs.

Indeed, and the problem here at hand concerns especially non-interactive
installations. At some point I hacked firstboot initscript to do
"run-parts /etc/firstboot.d" but that gets really silly when you're trying
to avoid the interactive firstboot step: first re-enable firstboot from
kickstart %post to make it run those firstboot.d scripts and then
re-disable firstboot from one of those scripts to prevent the interactive
firstboot to run.

Would be nice if such functionality would be included in the initscripts 
package, afterall it's just a couple of lines of shell script. I can 
make a patch if it has any chance of getting accepted?

	- Panu -



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux