]> code.ossystems Code Review - openembedded-core.git/commitdiff
image: Ensure manifests end with a newline
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 10:57:25 +0000 (10:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 17:52:41 +0000 (17:52 +0000)
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>
meta/classes/image.bbclass

index 89eb5f378ed9424c4cac1e4d27de096325887c02..cd1783770b43b78ba4959c7765d0c7e0f560bbb2 100644 (file)
@@ -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