diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-05-16 11:13:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-18 11:07:58 +0100 |
commit | dcef944e334663570ce2d13fc22f96d86a2b9a72 (patch) | |
tree | 2f6f0bcbc1d0764486bc95f04f8668f5029b8555 /meta/recipes-devtools/python-numpy | |
parent | 917282c41b666bcfd3aeb95a0ec8973131719ce1 (diff) | |
download | poky-dcef944e334663570ce2d13fc22f96d86a2b9a72.tar.gz |
opkg: avoid running postinst scripts twice when using systemd
OpenEmbedded has a built-in mechanism to run postinst scripts offline
at build time or, if necessary, on first boot (delayed execution). If
the latter is the case and systemd is in use, two services end up
doing the same thing:
- opkg-configure.service starts "opkg configure" directly.
- run-postinsts.service starts "/usr/sbin/run-postinsts" which runs
postinst scripts stored in /etc/ipk-postinsts/ or "opkg configure"
if package management is installed.
Since the run-postinsts.service is also used in cases where no
package management is in use, it is the primary means of handling
postinsts.
Get rid of the opkg-configure.service to avoid duplicate opkg
configure execution.
(From OE-Core rev: 23dcf7ea3af84721fac126a2b2f0f100f7266368)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy')
0 files changed, 0 insertions, 0 deletions