aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-02-04 23:48:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-07 18:52:45 +0000
commit26280cf0199abb3266d620c8dee1194504a5a829 (patch)
tree27d86d686cc809c5f25ed48d6dc99c2f8bc193d4
parent3d4da9186016d54b76ad2fa710646de253f0f063 (diff)
downloadopenembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.zip
openembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.tar.gz
openembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.tar.bz2
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@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--scripts/lib/wic/kickstart/custom_commands/micpartition.py2
1 files changed, 1 insertions, 1 deletions
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: