diff options
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index 631aafc768..3b8c4e8e40 100644 --- a/meta/recipes-devtools/opkg/opkg.inc +++ b/meta/recipes-devtools/opkg/opkg.inc | |||
@@ -68,7 +68,12 @@ if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then | |||
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 |
70 | echo "#!/bin/sh | 70 | echo "#!/bin/sh |
71 | opkg-cl configure ${REDIRECT_CMD} | 71 | [ -e ${sysconfdir}/default/postinst ] && . ${sysconfdir}/default/postinst |
72 | if [ \"\$POSTINST_LOGGING\" = \"1\" ]; then | ||
73 | opkg-cl configure >\$LOGFILE 2>&1 | ||
74 | else | ||
75 | opkg-cl configure | ||
76 | fi | ||
72 | rm -f ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts | 77 | rm -f ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |
73 | " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts | 78 | " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |
74 | chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts | 79 | chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |