Re: [f17 master 1/2] finish ROOT_PATH changes in bootloader (#789169)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-02-09 at 17:49 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl@xxxxxxxxxx>
> 
> ---
>  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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux