summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2013-10-02 15:07:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 18:26:51 +0100
commit2a013e290dcc91832c36047520259592b1d61a48 (patch)
treec40104053350b5c28eb36ef9835d2cdae6cee0df /meta/recipes-devtools
parent20a86e16bc54b74fbdb2a3a407d54210ea262925 (diff)
downloadpoky-2a013e290dcc91832c36047520259592b1d61a48.tar.gz
opkg: ignore result of opkg configure
Some packages may return error while running opkg-cl configure, during first boot. This will fail 'ExecStart' and 'ExecStartPost' will not run. Without 'ExecStartPost' opkg-configure service will continue to run on successive boot attempts. 'ExecStartPost' should disable this service after first boot irrespective of 'ExecStart' status. (From OE-Core rev: cd6041071ddf76693cda7632379ceddd1d21a7fb) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.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')
-rw-r--r--meta/recipes-devtools/opkg/opkg/opkg-configure.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/opkg-configure.service b/meta/recipes-devtools/opkg/opkg/opkg-configure.service
index a1c3a31796..b18295b45e 100644
--- a/meta/recipes-devtools/opkg/opkg/opkg-configure.service
+++ b/meta/recipes-devtools/opkg/opkg/opkg-configure.service
@@ -7,7 +7,7 @@ Before=sysinit.target
7[Service] 7[Service]
8Type=oneshot 8Type=oneshot
9EnvironmentFile=-@SYSCONFDIR@/default/postinst 9EnvironmentFile=-@SYSCONFDIR@/default/postinst
10ExecStart=@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg-cl configure > $LOGFILE 2>&1; else @BINDIR@/opkg-cl configure; fi" 10ExecStart=-@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg-cl configure > $LOGFILE 2>&1; else @BINDIR@/opkg-cl configure; fi"
11ExecStartPost=@BASE_BINDIR@/systemctl disable opkg-configure.service 11ExecStartPost=@BASE_BINDIR@/systemctl disable opkg-configure.service
12StandardOutput=syslog 12StandardOutput=syslog
13RemainAfterExit=No 13RemainAfterExit=No