diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-11-30 13:27:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 10:31:30 +0000 |
commit | b4da2b0040543f55cd9a2908d77d9d79a387a539 (patch) | |
tree | 1c434df04af06355ce6519cae80ed51c83a1ed8a /meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb | |
parent | 0dffc090580bca54960018d04ba3376ea3e440ae (diff) | |
download | poky-b4da2b0040543f55cd9a2908d77d9d79a387a539.tar.gz |
update-rc.d: ignore initscript in prerm and preinst when systemd is active
In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.
(From OE-Core rev: f2cc0fdfd97b097145e40bc52674e17378cec863)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb')
0 files changed, 0 insertions, 0 deletions