]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg: remove unnecessary extra leading slash in run-postinsts
authorJonathan Liu <net147@gmail.com>
Thu, 16 May 2013 02:37:33 +0000 (02:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 May 2013 23:14:30 +0000 (00:14 +0100)
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>
meta/recipes-devtools/opkg/opkg.inc

index c34ac5b4eb1a53d735f5efee8e883ef66d6a5476..631aafc7683690b4786f1002128f12437d4220d1 100644 (file)
@@ -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