[blivet-f20/master] Add a PE for LUKS metadata (#1038969)

Vratislav Podzimek vpodzime at redhat.com
Wed Dec 11 07:33:06 UTC 2013


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.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list