[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://listman.redhat.com/archives/fedora-livecd-list/attachments/20060224/fca0dbc3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firstboot-tweak.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20060224/fca0dbc3/attachment.bin>


More information about the Fedora-livecd-list mailing list