summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-02-11 17:18:24 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-02-12 07:30:04 +0100
commit3701e8fc3d7046745d41fe53d61f8037e0fbf131 (patch)
treefc3e2d3d9484b899b83408abd3c29568bf12be84
parentf7a3735022c33a8dc0f986bc12ede266766f17ba (diff)
downloadDistroKit-3701e8fc3d7046745d41fe53d61f8037e0fbf131.tar.gz
DistroKit-3701e8fc3d7046745d41fe53d61f8037e0fbf131.tar.xz
v7a: image-vexpress: fix comment in image config
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r--configs/platform-v7a/config/images/vexpress.config6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config
index 7cfaaaa..07125be 100644
--- a/configs/platform-v7a/config/images/vexpress.config
+++ b/configs/platform-v7a/config/images/vexpress.config
@@ -12,7 +12,11 @@ image @IMAGE@ {
partition-type = 0x83
size = 512M
}
- /* expand image size to 64 MiB; dummy size, results in 0 bytes length */
+ /* genimage does not write zeros at the end of an image to save space,
+ * but the kernel in qemu will complain if the image file is smaller
+ * than the partition sizes. work around this by adding an empty
+ * partition at the end.
+ */
partition end {
image = /dev/null
size = 1M