[Fedora-livecd-list] Re: [PATCH] firstboot-tweak.patch
Essien Essien
essiene at gmail.com
Fri Feb 24 14:38:08 UTC 2006
On 2/24/06, J. Hartline <jasperhartline at adelphia.net> wrote:
>
> Essien Essien wrote:
>
> >
> >
> > The attached patch checks for firstboot and if its _not_ installed
> > disables it from running, hence eliminating the [FAIL] boottime
> > message that will occur otherwise.
> >
> > def tweak_firstboot_config (rootdir):
> > shf = sysconfig_file (rootdir, "firstboot")
> >- shf["RUN_FIRSTBOOT"] = "YES"
> >+ if os.path.exists('/usr/sbin/'):
> >+ shf["RUN_FIRSTBOOT"] = "YES"
> >+ else:
> >+ shf["RUN_FIRSTBOOT"] = "NO"
> > shf.write ()
> >
> >
> >
> Whether /usr/sbin exists or not, doesn't play any part if firstboot was
> installed, or am I overlooking something?
my bad. corrected patch attached. that should be /usr/sbin/firstboot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20060224/fca0dbc3/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firstboot-tweak.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20060224/fca0dbc3/attachment.bin
More information about the livecd
mailing list