[OE-core] [PATCH] image-prelink.bbclass: use the pseudo env var PSEUDO_ALLOW_FSYNC for prelink
Mark Hatle
mark.hatle at windriver.com
Thu Nov 21 19:26:00 UTC 2013
From: Jackie Huang <jackie.huang at windriver.com>
(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 <jackie.huang at windriver.com>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Jeff Polk <jeff.polk at windriver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
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
More information about the Openembedded-core
mailing list