diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-24 10:57:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-25 12:39:44 +0000 |
commit | 96104b825f0802166790983f52f8b8929869f553 (patch) | |
tree | f582c22319866d6558231d9e51501de9007bb9e2 /meta/classes/image.bbclass | |
parent | c70dc37b90e42eb4960df7424f35477c8059ebc5 (diff) | |
download | poky-96104b825f0802166790983f52f8b8929869f553.tar.gz |
image: Ensure manifests end with a newline
Manifests should end with a newline character but don't currently. This
is the easiest fix for now, the alternative would be a rewrite of the
internal code which is something to consider in due course.
[YOCTO #7427]
(From OE-Core rev: 98230d2d049c742c349f35b256b13afbc3d26235)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 89eb5f378e..cd1783770b 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -396,6 +396,7 @@ python write_image_manifest () { | |||
396 | from oe.rootfs import image_list_installed_packages | 396 | from oe.rootfs import image_list_installed_packages |
397 | with open(d.getVar('IMAGE_MANIFEST', True), 'w+') as image_manifest: | 397 | with open(d.getVar('IMAGE_MANIFEST', True), 'w+') as image_manifest: |
398 | image_manifest.write(image_list_installed_packages(d, 'ver')) | 398 | image_manifest.write(image_list_installed_packages(d, 'ver')) |
399 | image_manifest.write("\n") | ||
399 | } | 400 | } |
400 | 401 | ||
401 | # Can be use to create /etc/timestamp during image construction to give a reasonably | 402 | # Can be use to create /etc/timestamp during image construction to give a reasonably |