Patchwork [11/22] initramfs-live-boot: Set RDEPENDS on the specific package that needs it

login
register
mail settings
Submitter Richard Purdie
Date Feb. 3, 2013, 11:55 p.m.
Message ID <8e2308aa8074228e92fdc0bcd2a9e2bafa7db619.1359935562.git.richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/43879/
State Accepted
Commit 7437a864f03ff56a4fba9d8ce9baf845b945ed9e
Headers show

Comments

Richard Purdie - Feb. 3, 2013, 11:55 p.m.
Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
index 55a8600..1e674a4 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
@@ -1,8 +1,8 @@ 
 DESCRIPTION = "A live image init script"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-RDEPENDS = "udev"
 DEPENDS = "virtual/kernel"
+RDEPENDS_${PN} = "udev"
 SRC_URI = "file://init-live.sh"
 
 PR = "r11"