summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/opkg/opkg.inc
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-16 02:37:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-21 00:14:30 +0100
commit047826f034f00c2402c0a078b5c918019fcf36a4 (patch)
tree14866c8a5b509cac42832c6aaf16c53666b876ef /meta/recipes-devtools/opkg/opkg.inc
parentf505e913eae5e91d494234ee38a38ac961583b12 (diff)
downloadopenembedded-core-047826f034f00c2402c0a078b5c918019fcf36a4.tar.gz
openembedded-core-047826f034f00c2402c0a078b5c918019fcf36a4.tar.bz2
openembedded-core-047826f034f00c2402c0a078b5c918019fcf36a4.zip
opkg: remove unnecessary extra leading slash in run-postinsts
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg.inc')
-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 c34ac5b4eb..631aafc768 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -69,7 +69,7 @@ if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then
# this happens at S98 where our good 'ole packages script used to run
echo "#!/bin/sh
opkg-cl configure ${REDIRECT_CMD}
-rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
+rm -f ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
fi