[OE-core] [PATCH] wic: print partition alignment when available

Tom Zanussi tom.zanussi at linux.intel.com
Thu Feb 5 22:01:42 UTC 2015


On Wed, 2015-02-04 at 23:48 +0100, Alexandre Belloni wrote:
> When printing a partition, the --align parameter was shown when present
> but not its value.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

Acked-by: Tom Zanussi >tom.zanussi at linux.intel.com>

> ---
>  scripts/lib/wic/kickstart/custom_commands/micpartition.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/lib/wic/kickstart/custom_commands/micpartition.py b/scripts/lib/wic/kickstart/custom_commands/micpartition.py
> index 43d04f12945c..d6be008cebf2 100644
> --- a/scripts/lib/wic/kickstart/custom_commands/micpartition.py
> +++ b/scripts/lib/wic/kickstart/custom_commands/micpartition.py
> @@ -32,7 +32,7 @@ class Mic_PartData(FC4_PartData):
>          retval = FC4_PartData._getArgsAsStr(self)
>  
>          if self.align:
> -            retval += " --align"
> +            retval += " --align=%d" % self.align
>          if self.extopts:
>              retval += " --extoptions=%s" % self.extopts
>          if self.part_type:
> -- 
> 2.1.0
> 





More information about the Openembedded-core mailing list