diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2013-10-02 15:07:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 18:26:51 +0100 |
commit | 2a013e290dcc91832c36047520259592b1d61a48 (patch) | |
tree | c40104053350b5c28eb36ef9835d2cdae6cee0df /meta/recipes-devtools | |
parent | 20a86e16bc54b74fbdb2a3a407d54210ea262925 (diff) | |
download | poky-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.service | 2 |
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] |
8 | Type=oneshot | 8 | Type=oneshot |
9 | EnvironmentFile=-@SYSCONFDIR@/default/postinst | 9 | EnvironmentFile=-@SYSCONFDIR@/default/postinst |
10 | ExecStart=@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg-cl configure > $LOGFILE 2>&1; else @BINDIR@/opkg-cl configure; fi" | 10 | ExecStart=-@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg-cl configure > $LOGFILE 2>&1; else @BINDIR@/opkg-cl configure; fi" |
11 | ExecStartPost=@BASE_BINDIR@/systemctl disable opkg-configure.service | 11 | ExecStartPost=@BASE_BINDIR@/systemctl disable opkg-configure.service |
12 | StandardOutput=syslog | 12 | StandardOutput=syslog |
13 | RemainAfterExit=No | 13 | RemainAfterExit=No |