Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   Enable bootloader install. (http://www.linux-archive.org/gentoo-development/662440-enable-bootloader-install.html)

Chris Lumens 05-02-2012 08:41 PM

Enable bootloader install.
 
> diff --git a/pyanaconda/dispatch.py b/pyanaconda/dispatch.py
> index 07f8fde..2f422fa 100644
> --- a/pyanaconda/dispatch.py
> +++ b/pyanaconda/dispatch.py
> @@ -32,7 +32,7 @@ from packages import setupTimezone
> from storage import storageInitialize
> from storage import storageComplete
> from storage.partitioning import doAutoPartition
> -from bootloader import writeBootloader
> +from bootloader import writeBootLoader
> from flags import flags
> from upgrade import upgradeMountFilesystems
> from upgrade import restoreTime
> @@ -283,7 +283,7 @@ class Dispatcher(object):
> self.add_step("postinstallconfig", doPostInstall)
> self.add_step("writeconfig", writeConfiguration)
> self.add_step("firstboot", firstbootConfiguration)
> - self.add_step("instbootloader", writeBootloader)
> + self.add_step("instbootloader", writeBootLoader)
> self.add_step("reipl", doReIPL)
> self.add_step("writeksconfig", writeKSConfiguration)
> self.add_step("methodcomplete", doMethodComplete)

If writeBootLoader is no longer being called from anywhere in the old,
busted UI code paths, you can just kill it from dispatch.py entirely.

> @@ -50,6 +55,12 @@ def doInstall(storage, payload, ksdata, instClass):
> # Do packaging.
> payload.preInstall(packages=storage.packages)
> payload.install()
> - payload.postInstall()
> +
> + with progress_report(_("Performing post-install setup tasks")):

I like "installation" more here.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 05:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.