diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-04-11 16:03:43 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-11 16:39:41 +0100 |
commit | 48fe02a1042cdd258fce316ff2b17ba8c183aa64 (patch) | |
tree | 6beba973128ff327e1ba198d2c5ec093712d1275 | |
parent | c14122abe2acebeac5134fee71b1931bde736b85 (diff) | |
download | poky-48fe02a1042cdd258fce316ff2b17ba8c183aa64.tar.gz |
opkg.inc: don't hardcode /var/lib/opkg
(From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 2 |
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" | |||
63 | 63 | ||
64 | pkg_postinst_${PN} () { | 64 | pkg_postinst_${PN} () { |
65 | #!/bin/sh | 65 | #!/bin/sh |
66 | if [ "x$D" != "x" ] && [ -f $D/var/lib/opkg/status ]; then | 66 | if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then |
67 | install -d $D${sysconfdir}/rcS.d | 67 | install -d $D${sysconfdir}/rcS.d |
68 | 68 | ||
69 | # this happens at S98 where our good 'ole packages script used to run | 69 | # this happens at S98 where our good 'ole packages script used to run |