All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wic: print partition alignment when available
@ 2015-02-04 22:48 Alexandre Belloni
  2015-02-05 22:01 ` Tom Zanussi
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Belloni @ 2015-02-04 22:48 UTC (permalink / raw)
  To: Tom Zanussi; +Cc: openembedded-core

When printing a partition, the --align parameter was shown when present
but not its value.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wic: print partition alignment when available
  2015-02-04 22:48 [PATCH] wic: print partition alignment when available Alexandre Belloni
@ 2015-02-05 22:01 ` Tom Zanussi
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Zanussi @ 2015-02-05 22:01 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core

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@free-electrons.com>

Acked-by: Tom Zanussi >tom.zanussi@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
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-05 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 22:48 [PATCH] wic: print partition alignment when available Alexandre Belloni
2015-02-05 22:01 ` Tom Zanussi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.