diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-02-04 23:48:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-07 18:52:45 +0000 |
commit | 26280cf0199abb3266d620c8dee1194504a5a829 (patch) | |
tree | 27d86d686cc809c5f25ed48d6dc99c2f8bc193d4 /scripts | |
parent | 3d4da9186016d54b76ad2fa710646de253f0f063 (diff) | |
download | openembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.tar.gz openembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.tar.bz2 openembedded-core-26280cf0199abb3266d620c8dee1194504a5a829.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/micpartition.py | 2 |
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 43d04f1294..d6be008ceb 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: |