[blivet-f20/master] Add a PE for LUKS metadata (#1038969)
Brian C. Lane
bcl at redhat.com
Wed Dec 11 15:28:54 UTC 2013
On Wed, Dec 11, 2013 at 08:33:06AM +0100, Vratislav Podzimek wrote:
> On Tue, 2013-12-10 at 14:07 -0800, Brian C. Lane wrote:
> > From: "Brian C. Lane" <bcl at redhat.com>
> >
> > ---
> > blivet/devicefactory.py | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
> > index 090157a..b643736 100644
> > --- a/blivet/devicefactory.py
> > +++ b/blivet/devicefactory.py
> > @@ -24,6 +24,7 @@ from storage_log import log_method_call
> > from errors import *
> > from devices import LUKSDevice
> > from formats import getFormat
> > +from devicelibs import crypto
> You don't need this import unless you wanted to use LUKS_METADATA_SIZE
> instead of LVM_PE_SIZE. Both should work I guess, so ACK.
Oops, right, that was leftover from a previous attempt. Also, other
comment is true. Doesn't really matter if encrypted is set if you're
going to set it to False anyway.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list