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-24 17:52:41 +0000 |
commit | 98230d2d049c742c349f35b256b13afbc3d26235 (patch) | |
tree | 0823fdf4544d036111a586ec5f69f67b184f5401 /meta/classes/image.bbclass | |
parent | 53bafb0d22a84186d215eb8f106ccff69f1b0480 (diff) | |
download | openembedded-core-98230d2d049c742c349f35b256b13afbc3d26235.tar.gz openembedded-core-98230d2d049c742c349f35b256b13afbc3d26235.tar.bz2 openembedded-core-98230d2d049c742c349f35b256b13afbc3d26235.zip |
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]
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 () { from oe.rootfs import image_list_installed_packages with open(d.getVar('IMAGE_MANIFEST', True), 'w+') as image_manifest: image_manifest.write(image_list_installed_packages(d, 'ver')) + image_manifest.write("\n") } # Can be use to create /etc/timestamp during image construction to give a reasonably |