[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4148/8267] update-rc.d: Add PACKAGE_WRITE_DEPS for postinst
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4148/8267] update-rc.d: Add PACKAGE_WRITE_DEPS for postinst
- Date: Sun, 17 Dec 2017 01:37:47 +0000 (UTC)
commit b699afaeb8ffa28302bf1e796a18637f6ed41682
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Thu Jan 19 10:39:53 2017 +0200
update-rc.d: Add PACKAGE_WRITE_DEPS for postinst
use_updatercd() will always return true in rootfs generation so
checking that is not required.
(From OE-Core rev: 0db5328ee2a80152904b9f82b738f92e9e38da55)
Signed-off-by: Jussi Kukkonen <jussi kukkonen intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/update-rc.d.bbclass | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 9d3a7bc..36f9009 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,6 @@
UPDATERCPN ?= "${PN}"
-DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d-native
update-rc.d initscripts', '', d)}"
+DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d
initscripts', '', d)}"
UPDATERCD = "update-rc.d"
UPDATERCD_class-cross = ""
@@ -34,6 +34,8 @@ if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
fi
}
+PACKAGE_WRITE_DEPS += "update-rc.d-native"
+
updatercd_postinst() {
# Begin section update-rc.d
if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]