[oe-commits] Richard Purdie : image: Ensure manifests end with a newline
git at git.openembedded.org
git at git.openembedded.org
Wed Mar 25 12:40:34 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 98230d2d049c742c349f35b256b13afbc3d26235
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=98230d2d049c742c349f35b256b13afbc3d26235
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Mar 24 10:57:25 2015 +0000
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 at linuxfoundation.org>
---
meta/classes/image.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 89eb5f3..cd17837 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
More information about the Openembedded-commits
mailing list