summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/prelink
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-02-25 17:34:20 -0600
committerMark Hatle <mark.hatle@windriver.com>2011-02-25 17:34:20 -0600
commit6c6d4f4bffd9ada3bc89728f8b4812f02ce36fe9 (patch)
treed47e53144f6015791b3c276a9c73121028e8663a /meta/recipes-devtools/prelink
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/recipes-devtools/prelink')
-rw-r--r--meta/recipes-devtools/prelink/prelink_git.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb
index 53ef04573c..e8abf59356 100644
--- a/meta/recipes-devtools/prelink/prelink_git.bb
+++ b/meta/recipes-devtools/prelink/prelink_git.bb
@@ -8,12 +8,13 @@ runtime and thus programs come up faster."
8LICENSE = "GPLv2" 8LICENSE = "GPLv2"
9LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" 9LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
10PV = "1.0+git${SRCPV}" 10PV = "1.0+git${SRCPV}"
11PR = "r1" 11PR = "r2"
12 12
13SRC_URI = "git://git.pokylinux.org/prelink-cross.git;protocol=git \ 13SRC_URI = "git://git.pokylinux.org/prelink-cross.git;protocol=git \
14 file://prelink.conf \ 14 file://prelink.conf \
15 file://prelink.cron.daily \ 15 file://prelink.cron.daily \
16 file://prelink.default" 16 file://prelink.default \
17 file://macros.prelink"
17 18
18TARGET_OS_ORIG := "${TARGET_OS}" 19TARGET_OS_ORIG := "${TARGET_OS}"
19OVERRIDES_append = ":${TARGET_OS_ORIG}" 20OVERRIDES_append = ":${TARGET_OS_ORIG}"
@@ -33,10 +34,11 @@ do_configure_prepend () {
33} 34}
34 35
35do_install_append () { 36do_install_append () {
36 install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default 37 install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm
37 install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf 38 install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
38 install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink 39 install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink
39 install -m 0644 ${WORKDIR}/prelink.default ${D}${sysconfdir}/default/prelink 40 install -m 0644 ${WORKDIR}/prelink.default ${D}${sysconfdir}/default/prelink
41 install -m 0644 ${WORKDIR}/macros.prelink ${D}${sysconfdir}/rpm/macros.prelink
40} 42}
41 43
42pkg_postinst_prelink() { 44pkg_postinst_prelink() {