summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-prelink.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-02-25 23:34:20 (GMT)
committerMark Hatle <mark.hatle@windriver.com>2011-02-25 23:34:20 (GMT)
commit6c6d4f4bffd9ada3bc89728f8b4812f02ce36fe9 (patch)
treed47e53144f6015791b3c276a9c73121028e8663a /meta/classes/image-prelink.bbclass
parent08c8f7bb7375a6f51c12ee5e7808e38e914d5413 (diff)
downloadpoky-6c6d4f4bffd9ada3bc89728f8b4812f02ce36fe9.tar.gz
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 <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/image-prelink.bbclass')
-rw-r--r--meta/classes/image-prelink.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass
index faf1814..ee0951c 100644
--- a/meta/classes/image-prelink.bbclass
+++ b/meta/classes/image-prelink.bbclass
@@ -24,7 +24,7 @@ prelink_image () {
24 ${STAGING_DIR_NATIVE}/usr/sbin/prelink --root ${IMAGE_ROOTFS} -amR 24 ${STAGING_DIR_NATIVE}/usr/sbin/prelink --root ${IMAGE_ROOTFS} -amR
25 25
26 # Remove the prelink.conf if we had to add it. 26 # Remove the prelink.conf if we had to add it.
27 if [ $dummy_prelink_conf ]; then 27 if [ "$dummy_prelink_conf" == "true" ]; then
28 rm -f ${IMAGE_ROOTFS}/etc/prelink.conf 28 rm -f ${IMAGE_ROOTFS}/etc/prelink.conf
29 fi 29 fi
30 30