Patchwork [1/1] matchbox-session-sato: do not rdepend on initscripts

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date March 1, 2013, 8:42 a.m.
Message ID <b9e02ae503da777c7d930ca1c58e95daa6092d35.1361942825.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/45335/
State Accepted
Commit 8fbf22ef856a68e4f2e9ddabe33334f60616e16c
Headers show

Comments

Qi.Chen@windriver.com - March 1, 2013, 8:42 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Previously, matchbox-session-sato depended on initscripts, thus resulting
in initscripts package built and installed in case of systemd init manager.

But there is actually no dependency between them. So this patch removes
the dependency.

[YOCTO #3940]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../matchbox-sato/matchbox-session-sato_0.1.bb     |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
Ross Burton - March 1, 2013, 11:14 p.m.
On 1 March 2013 08:42,  <Qi.Chen@windriver.com> wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Previously, matchbox-session-sato depended on initscripts, thus resulting
> in initscripts package built and installed in case of systemd init manager.
>
> But there is actually no dependency between them. So this patch removes
> the dependency.

Good catch, I was wondering where that package came from.  This
probably means that systemd booting will break in subtle ways, which
will be fun.

Ross

Patch

diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
index 2d34754..70cf7a9 100644
--- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
@@ -5,12 +5,9 @@  BUGTRACKER = "http://bugzilla.openedhand.com/"
 LICENSE = "GPLv2.0+"
 LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63"
 
-# Distro can override initscripts provider
-VIRTUAL-RUNTIME_initscripts ?= "initscripts"
-
 SECTION = "x11"
-RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato ${VIRTUAL-RUNTIME_initscripts} matchbox-session"
-PR = "r29"
+RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato matchbox-session"
+PR = "r30"
 
 # This package is architecture specific because the session script is modified
 # based on the machine architecture.