Patchwork update-rc.d.bbclass: don't add runtime dependency if O_P_M is disabled

login
register
mail settings
Submitter Phil Blundell
Date May 19, 2011, 8:36 a.m.
Message ID <1305794160.18415.169.camel@lenovo.internal.reciva.com>
Download mbox | patch
Permalink /patch/4491/
State New, archived
Headers show

Comments

Phil Blundell - May 19, 2011, 8:36 a.m.
This is a backport from oe master.

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/classes/update-rc.d.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 7e4dda7..c4ecc04 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,7 +1,7 @@ 
 UPDATERCPN ?= "${PN}"
 
 DEPENDS_append = " update-rc.d-native"
-UPDATERCD = "update-rc.d"
+UPDATERCD = "${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 UPDATERCD_virtclass-native = ""
 RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}"