diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-25 17:34:20 -0600 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-03-01 11:46:46 +0000 |
commit | 3920d3da400baef3fb080bfaced6db1428e4acde (patch) | |
tree | 1268bbc95b2df52d091a3911ae6fdaf0d911954c /meta/classes | |
parent | a0165d88a2ba96545793bbb7babeb7e43df4a46d (diff) | |
download | openembedded-core-3920d3da400baef3fb080bfaced6db1428e4acde.tar.gz openembedded-core-3920d3da400baef3fb080bfaced6db1428e4acde.tar.bz2 openembedded-core-3920d3da400baef3fb080bfaced6db1428e4acde.tar.xz openembedded-core-3920d3da400baef3fb080bfaced6db1428e4acde.zip |
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 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 |