From: Jackie Huang <[email protected]>

(Note: this patch is sent for YP compliance, I don't believe it is
 applicable to general oe-core.)

This would actually emit fsync calls, which may fix the do_rootfs failure
on older systems like CentOS 5.x or SuSE 11.

Signed-off-by: Jackie Huang <[email protected]>
Signed-off-by: Robert Yang <[email protected]>
Signed-off-by: Jeff Polk <[email protected]>
Signed-off-by: Mark Hatle <[email protected]>
---
 meta/classes/image-prelink.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image-prelink.bbclass 
b/meta/classes/image-prelink.bbclass
index 53ef47e..9d7a606 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -21,7 +21,7 @@ prelink_image () {
        fi
 
        # prelink!
-       ${STAGING_DIR_NATIVE}${sbindir_native}/prelink --root ${IMAGE_ROOTFS} 
-amR -N -c ${sysconfdir}/prelink.conf
+       PSEUDO_ALLOW_FSYNC=1 ${STAGING_DIR_NATIVE}${sbindir_native}/prelink 
--root ${IMAGE_ROOTFS} -amR -N -c ${sysconfdir}/prelink.conf
 
        # Remove the prelink.conf if we had to add it.
        if [ "$dummy_prelink_conf" = "true" ]; then
-- 
1.8.1.2.545.g2f19ada

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to