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-08 08:00:27 +0000 |
commit | 080e3e4f588f5ab290e017560ab1bcf565e4be26 (patch) | |
tree | 168ad9b647332f700a6369fbed2730c430ff0a7f | |
parent | 602d90d57a55f240b81ad286224c5cc39460e3c1 (diff) | |
download | poky-080e3e4f588f5ab290e017560ab1bcf565e4be26.tar.gz |
wic: print partition alignment when available
When printing a partition, the --align parameter was shown when present
but not its value.
(From OE-Core rev: 26280cf0199abb3266d620c8dee1194504a5a829)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): | |||
32 | retval = FC4_PartData._getArgsAsStr(self) | 32 | retval = FC4_PartData._getArgsAsStr(self) |
33 | 33 | ||
34 | if self.align: | 34 | if self.align: |
35 | retval += " --align" | 35 | retval += " --align=%d" % self.align |
36 | if self.extopts: | 36 | if self.extopts: |
37 | retval += " --extoptions=%s" % self.extopts | 37 | retval += " --extoptions=%s" % self.extopts |
38 | if self.part_type: | 38 | if self.part_type: |