From 3920d3da400baef3fb080bfaced6db1428e4acde Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 25 Feb 2011 17:34:20 -0600 Subject: rpm: Fix rpm usage of prelink on the target RPM has the ability to validate files that have been prelinked, however the necessary configuration and staging was not done properly. Resolve this issue by fixing the macro paths, providing the missing RPM macro, and correcting a defect in the way the prelink image class was working with the necessary configuration file. Signed-off-by: Mark Hatle --- meta/classes/image-prelink.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/image-prelink.bbclass') diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass index faf18142e..ee0951c10 100644 --- a/meta/classes/image-prelink.bbclass +++ b/meta/classes/image-prelink.bbclass @@ -24,7 +24,7 @@ prelink_image () { ${STAGING_DIR_NATIVE}/usr/sbin/prelink --root ${IMAGE_ROOTFS} -amR # Remove the prelink.conf if we had to add it. - if [ $dummy_prelink_conf ]; then + if [ "$dummy_prelink_conf" == "true" ]; then rm -f ${IMAGE_ROOTFS}/etc/prelink.conf fi -- cgit v1.2.3