From 1be4973401da77d6c4c89691d4777ef525b56466 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Thu, 11 Apr 2013 16:03:43 +0300 Subject: [PATCH] opkg.inc: don't hardcode /var/lib/opkg (From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844) Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- meta/recipes-devtools/opkg/opkg.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index c1798b1..c34ac5b 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 -- 2.7.4