[oe-commits] Alexandre Belloni : wic: print partition alignment when available

git at git.openembedded.org git at git.openembedded.org
Sun Feb 8 08:00:51 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 26280cf0199abb3266d620c8dee1194504a5a829
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=26280cf0199abb3266d620c8dee1194504a5a829

Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Wed Feb  4 23:48:38 2015 +0100

wic: print partition alignment when available

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>
Signed-off-by: Ross Burton <ross.burton at 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 43d04f1..d6be008 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:



More information about the Openembedded-commits mailing list