Re: [PATCH] Make sure boot flag gets set.

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

 



Syntax looks okay...

On Thursday, March 19 2009, David Lehman said:
> @@ -183,6 +183,16 @@ class Storage(object):
>      def doIt(self):
>          self.devicetree.processActions()
>  
> +        # now set the boot partition's flag
> +        try:
> +            boot = self.anaconda.platform.bootDevice()
> +        except DeviceError:
> +            boot = None
> +        else:
> +            if hasattr(boot, "bootable"):
> +                boot.bootable = True
> +                boot.disk.commit()
> +

Do we want to try to catch any exceptions of disk.commit() here?

Jeremy

_______________________________________________
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