From patchwork Tue Jul 17 22:16:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: point prelink.conf to ${IMAGE_ROOTFS} Date: Tue, 17 Jul 2012 22:16:35 -0000 From: Nathan West X-Patchwork-Id: 32321 Message-Id: To: openembedded-core@lists.openembedded.org Hopefully I do this right. First time patching (ever! this is exciting :-) ) The --root option doesn't work and isn't documented anywhere I could find, and without the ${IMAGE_ROOTFS} before the config file it was point to my native /etc/prelink.conf (which doesn't exist and probably would be useful if it did) Be gentle if I screwed up! -Nathan --- meta/classes/image-prelink.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) if [ "$dummy_prelink_conf" = "true" ]; then diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass index 53ef47e..2d62f03 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 + ${STAGING_DIR_NATIVE}${sbindir_native}/prelink ${IMAGE_ROOTFS} -amR -N -c ${IMAGE_ROOTFS}${sysconfdir}/prelink.conf # Remove the prelink.conf if we had to add it.