diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-25 17:34:20 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2011-02-25 17:34:20 -0600 |
commit | 6c6d4f4bffd9ada3bc89728f8b4812f02ce36fe9 (patch) | |
tree | d47e53144f6015791b3c276a9c73121028e8663a /meta/classes | |
parent | 08c8f7bb7375a6f51c12ee5e7808e38e914d5413 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/image-prelink.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass index faf18142e6..ee0951c106 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 | ||