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

Richard Purdie richard.purdie at linuxfoundation.org
Sun Feb 3 23:55:41 UTC 2013


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 at linuxfoundation.org>
---
 meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
1.7.10.4





More information about the Openembedded-core mailing list