From c8aea6d76d570377053854ca4f722395236aa095 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 29 May 2019 16:32:10 +0200 Subject: x-window-simple-app: fix rdepends RDEPENDS is set by bitbake to an empty string, so using ?= is pointless. Signed-off-by: Max Krummenacher --- recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb | 2 +- recipes-graphics/x-window-simple-app/x-window-simple-app.inc | 2 ++ recipes-graphics/x-window-simple-app/x-window-xterm_1.0.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb b/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb index 2e44da9..968c98e 100644 --- a/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb +++ b/recipes-graphics/x-window-simple-app/x-window-qtsmarthome_1.0.bb @@ -1,7 +1,7 @@ # set the following variable to your one and only application which should # be started -RDEPENDS ?= "qtsmarthome" +INITIAL_APP_PKGS ?= "qtsmarthome" INITIAL_PATH ?= "/usr/share/qtsmarthome-1.0" X_APPLICATION ?= "${INITIAL_PATH}/smarthome" diff --git a/recipes-graphics/x-window-simple-app/x-window-simple-app.inc b/recipes-graphics/x-window-simple-app/x-window-simple-app.inc index 2c5ecc1..941aae3 100644 --- a/recipes-graphics/x-window-simple-app/x-window-simple-app.inc +++ b/recipes-graphics/x-window-simple-app/x-window-simple-app.inc @@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit allarch +RDEPENDS_${PN} += "${INITIAL_APP_PKGS}" + S = "${WORKDIR}" SRC_URI = " \ diff --git a/recipes-graphics/x-window-simple-app/x-window-xterm_1.0.bb b/recipes-graphics/x-window-simple-app/x-window-xterm_1.0.bb index eef8e1c..302a0c7 100644 --- a/recipes-graphics/x-window-simple-app/x-window-xterm_1.0.bb +++ b/recipes-graphics/x-window-simple-app/x-window-xterm_1.0.bb @@ -1,7 +1,7 @@ # set the following variable to your one and only application which should # be started -RDEPENDS ?= "xterm" +INITIAL_APP_PKGS ?= "xterm" INITIAL_PATH ?= "" X_APPLICATION ?= "/usr/bin/xterm" -- cgit v1.2.3