diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-24 13:30:15 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-28 13:55:41 +0100 |
commit | 5fdbef9d905c8025cb01df959c980666c3d67b2c (patch) | |
tree | 8a836e63bba42fa71e42a126eb510f98e844a6b0 /meta/recipes-devtools/prelink/prelink_git.bb | |
parent | dba9c14e6b7d51046cda1d1232e1d00bb2141518 (diff) | |
download | poky-5fdbef9d905c8025cb01df959c980666c3d67b2c.tar.gz |
prelink: Uprev prelink to latest version
The latest cross-prelink version tracks the prelink r190 SVN.
Fix two minor issues as well. If we remove the package, we would
unprelink the filesystem after the rm was finished. This is
incorrect.. we need to do this prerm.
Move the cron and cron configuration file to a new package split.
This item is not valid for most embedded users.
(From OE-Core rev: e8da02aeae4b3c1c2a805d63d6d0919d3034aba6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
-rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index 1eea30a5f5..b57c145353 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb | |||
@@ -8,9 +8,24 @@ and executables, so that far fewer relocations need to be resolved at \ | |||
8 | runtime and thus programs come up faster." | 8 | runtime and thus programs come up faster." |
9 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" |
11 | SRCREV = "909470ee441237563d6236c505cb2d02ddc48704" | 11 | SRCREV = "ac461e73b17253a4da25c5aafeac7193b553156c" |
12 | PV = "1.0+git${SRCPV}" | 12 | PV = "1.0+git${SRCPV}" |
13 | PR = "r2" | 13 | PR = "r3" |
14 | |||
15 | # | ||
16 | # The cron script attempts to re-prelink the system daily -- on | ||
17 | # systems where users are adding applications, this might be reasonable | ||
18 | # but for embedded, we should be re-running prelink -a after an update. | ||
19 | # | ||
20 | # Default is prelinking is enabled. | ||
21 | # | ||
22 | SUMMARY_${PN}-cron = "Cron scripts to control automatic prelinking" | ||
23 | DESCRIPTION_${PN}-cron = "Cron scripts to control automatic prelinking. \ | ||
24 | See: ${sysconfdir}/cron.daily/prelink for configuration information." | ||
25 | |||
26 | FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" | ||
27 | |||
28 | PACKAGES =+ "${PN}-cron" | ||
14 | 29 | ||
15 | SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;protocol=git \ | 30 | SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;protocol=git \ |
16 | file://prelink.conf \ | 31 | file://prelink.conf \ |
@@ -53,9 +68,13 @@ fi | |||
53 | prelink -a | 68 | prelink -a |
54 | } | 69 | } |
55 | 70 | ||
56 | pkg_postrm_prelink() { | 71 | pkg_prerm_prelink() { |
57 | #!/bin/sh | 72 | #!/bin/sh |
58 | 73 | ||
74 | if [ "x$D" != "x" ]; then | ||
75 | exit 1 | ||
76 | fi | ||
77 | |||
59 | prelink -au | 78 | prelink -au |
60 | } | 79 | } |
61 | 80 | ||