summaryrefslogtreecommitdiff
path: root/meta/packages/initscripts/initscripts-1.0
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-25 14:38:30 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-25 14:38:30 +0100
commit4f5d44c25c92a1a21e2142cbf2eeee49a35d7b71 (patch)
treee13f2836adb92803572c2361177fd1c14037526a /meta/packages/initscripts/initscripts-1.0
parent5638a3e8b501adba1bcc02294324891645886edc (diff)
downloadopenembedded-core-4f5d44c25c92a1a21e2142cbf2eeee49a35d7b71.tar.gz
openembedded-core-4f5d44c25c92a1a21e2142cbf2eeee49a35d7b71.tar.bz2
openembedded-core-4f5d44c25c92a1a21e2142cbf2eeee49a35d7b71.zip
initscripts: Check link exists in volatiles script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0')
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/populate-volatile.sh2
1 files changed, 1 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 4c369e0b3e..8742dbfc6b 100755
--- a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
@@ -178,7 +178,7 @@ else
done
fi
-if test -f /etc/ld.so.cache
+if test -f /etc/ld.so.cache -a ! -f /var/run/ld.so.cache
then
ln -s /etc/ld.so.cache /var/run/ld.so.cache
fi