[Fedora-livecd-list] Re: [PATCH] firstboot-tweak.patch

J. Hartline jasperhartline at adelphia.net
Fri Feb 24 13:52:03 UTC 2006


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?

J. Hartline




More information about the Fedora-livecd-list mailing list