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

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Feb 4 22:48:38 UTC 2015


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>
---
 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