summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-19 15:59:36 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-19 15:59:36 +0100
commit40afa0a86447f372e477c1d34b0141663484721d (patch)
tree46a3a8e2a47301b6008aadde92236f5107bf41d8
parent18f401d7fddf3aa3799bcc3ed8cb084655aaa6e7 (diff)
downloadopenembedded-core-40afa0a86447f372e477c1d34b0141663484721d.tar.gz
openembedded-core-40afa0a86447f372e477c1d34b0141663484721d.tar.bz2
openembedded-core-40afa0a86447f372e477c1d34b0141663484721d.zip
initscripts: Since ld.so.cache is in /var/run, make sure the version in /etc/ is used as a fallback
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/populate-volatile.sh5
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb2
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
index 8be0b10a6a..4c369e0b3e 100755
--- a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
@@ -177,3 +177,8 @@ else
apply_cfgfile "${CFGDIR}/${file}"
done
fi
+
+if test -f /etc/ld.so.cache
+then
+ ln -s /etc/ld.so.cache /var/run/ld.so.cache
+fi
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index 2a0f60dd15..1a36e3bc7f 100644
--- a/meta/packages/initscripts/initscripts_1.0.bb
+++ b/meta/packages/initscripts/initscripts_1.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r118"
+PR = "r119"
SRC_URI = "file://functions \
file://halt \