summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/opkg
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-11 16:03:43 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-11 16:39:34 +0100
commit9caf1f2540f0419c1301cc21777f97c6671fd844 (patch)
treeca98a45eda28b9c89582d2f6c2c0a02980a038f0 /meta/recipes-devtools/opkg
parentb4fbe4095de447ef4e426128bafaf8a292fa63e1 (diff)
downloadopenembedded-core-9caf1f2540f0419c1301cc21777f97c6671fd844.tar.gz
openembedded-core-9caf1f2540f0419c1301cc21777f97c6671fd844.tar.bz2
openembedded-core-9caf1f2540f0419c1301cc21777f97c6671fd844.zip
opkg.inc: don't hardcode /var/lib/opkg
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index c1798b1623..c34ac5b4eb 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -63,7 +63,7 @@ REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG"
pkg_postinst_${PN} () {
#!/bin/sh
-if [ "x$D" != "x" ] && [ -f $D/var/lib/opkg/status ]; then
+if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then
install -d $D${sysconfdir}/rcS.d
# this happens at S98 where our good 'ole packages script used to run