summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg/opkg.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg.inc')
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index f9c120257b..ff26b04b6e 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -62,8 +62,9 @@ REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>${POSTLOG}
62 62
63pkg_postinst_${PN} () { 63pkg_postinst_${PN} () {
64#!/bin/sh 64#!/bin/sh
65if [ "x$D" != "x" ]; then 65if [ "x$D" != "x" ] && [ -f $D/var/lib/opkg/status ]; then
66 install -d $D${sysconfdir}/rcS.d 66 install -d $D${sysconfdir}/rcS.d
67
67 # this happens at S98 where our good 'ole packages script used to run 68 # this happens at S98 where our good 'ole packages script used to run
68 echo "#!/bin/sh 69 echo "#!/bin/sh
69opkg-cl configure ${REDIRECT_CMD} 70opkg-cl configure ${REDIRECT_CMD}