summaryrefslogtreecommitdiff
path: root/recipes/prelink/prelink_20061027.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 21:38:07 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 21:38:07 +0100
commitc206dabdc8fc3c142149c44e5bf1aafd98ef560b (patch)
tree94482a04cb0dc28e45e875d21ea93c5e6995dc05 /recipes/prelink/prelink_20061027.bb
parentefa3f5fd40de50063d000d60cca45969809f97e2 (diff)
parentfbccdee191234fe422df187261de313eb7c15257 (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/prelink/prelink_20061027.bb')
-rw-r--r--recipes/prelink/prelink_20061027.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/prelink/prelink_20061027.bb b/recipes/prelink/prelink_20061027.bb
index b650c2c2f1..83f33f382c 100644
--- a/recipes/prelink/prelink_20061027.bb
+++ b/recipes/prelink/prelink_20061027.bb
@@ -4,7 +4,7 @@ DESCRIPTION = " The prelink package contains a utility which modifies ELF shared
and executables, so that far fewer relocations need to be resolved at \
runtime and thus programs come up faster."
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
file://prelink.conf \
@@ -35,12 +35,15 @@ if [ "x$D" != "x" ]; then
exit 1
fi
-prelink -a
+. ${sysconfdir}/cron.daily/prelink
}
pkg_prerm_prelink() {
#!/bin/sh
-prelink -au
+if [ -f ${sysconfdir}/prelink.cache ]; then
+ prelink -au
+ rm -f ${sysconfdir}/prelink.cache
+fi
}