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

Re: [PATCH 8/9] clean up sparc boot loader so that it writes out and links into /etc correctly



> diff --git a/booty/sparc.py b/booty/sparc.py
> index 22c4ab8..f6dd7be 100644
> --- a/booty/sparc.py
> +++ b/booty/sparc.py
> @@ -1,14 +1,17 @@
> +import string
>  import os
>  
>  from booty import BootyNoKernelWarning
> +from util import getDiskPart
>  from bootloaderInfo import *
> +import iutil
>  
>  class sparcBootloaderInfo(bootloaderInfo):
>      def writeSilo(self, instRoot, bl, kernelList,
>                  chainList, defaultDev, justConfigFile):
>  
>          try:
> -            bootDev = self.storage.mountpoints["/boot"]
> +            bootDev = self.storage.mountpoints["/boot"].name
>  
>              mf = '/silo.message'
>              cf = "/boot/silo.conf"

For the most part, other arches keep bootDev like you've got it here and then
refer to bootDev.name or whatever.  Any reason for being different?

The rest looks fine.

- Chris


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