FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-10-2012, 12:49 AM
"Brian C. Lane"
 
Default finish ROOT_PATH changes in bootloader (#789169)

From: "Brian C. Lane" <bcl@redhat.com>

---
pyanaconda/bootloader.py | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 0d04501..4ab1f4c 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1520,16 +1520,16 @@ class EFIGRUB(GRUB):
#
# installation
#
- def write(self, install_root=""):
+ def write(self):
""" Write the bootloader configuration and install the bootloader. """
if self.update_only:
- self.update(install_root=install_root)
+ self.update()
return

sync()
- self.stage2_device.format.sync(root=install_root)
- self.install(install_root=install_root)
- self.write_config(install_root=install_root)
+ self.stage2_device.format.sync(root=ROOT_PATH)
+ self.install()
+ self.write_config()

class GRUB2(GRUB):
""" GRUBv2
@@ -1922,10 +1922,10 @@ class IPSeriesYaboot(Yaboot):
# installation
#

- def install(self, install_root=""):
+ def install(self):
self.updatePowerPCBootList()

- super(IPSeriesYaboot, self).install(install_root=install_root)
+ super(IPSeriesYaboot, self).install()

def updatePowerPCBootList(self):

--
1.7.6.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-10-2012, 01:37 AM
David Lehman
 
Default finish ROOT_PATH changes in bootloader (#789169)

On Thu, 2012-02-09 at 17:49 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl@redhat.com>
>
> ---
> pyanaconda/bootloader.py | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)

I put those as kwargs with the intention of allowing people to use the
module for purposes other than installing an OS. I'm not sure if anyone
would actually want to do that, though.

Dave

>
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index 0d04501..4ab1f4c 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -1520,16 +1520,16 @@ class EFIGRUB(GRUB):
> #
> # installation
> #
> - def write(self, install_root=""):
> + def write(self):
> """ Write the bootloader configuration and install the bootloader. """
> if self.update_only:
> - self.update(install_root=install_root)
> + self.update()
> return
>
> sync()
> - self.stage2_device.format.sync(root=install_root)
> - self.install(install_root=install_root)
> - self.write_config(install_root=install_root)
> + self.stage2_device.format.sync(root=ROOT_PATH)
> + self.install()
> + self.write_config()
>
> class GRUB2(GRUB):
> """ GRUBv2
> @@ -1922,10 +1922,10 @@ class IPSeriesYaboot(Yaboot):
> # installation
> #
>
> - def install(self, install_root=""):
> + def install(self):
> self.updatePowerPCBootList()
>
> - super(IPSeriesYaboot, self).install(install_root=install_root)
> + super(IPSeriesYaboot, self).install()
>
> def updatePowerPCBootList(self):
>


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

Thread Tools




All times are GMT. The time now is 01:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org