]> code.ossystems Code Review - openembedded-core.git/commitdiff
initramfs-framework: mdev: Add a runtime dependency on busybox-mdev
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 20 Jun 2016 18:23:52 +0000 (15:23 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2016 13:23:36 +0000 (14:23 +0100)
The mdev support relies on the mdev support inside busybox, which thus
builds the busybox-mdev package. Adding the runtime dependency ensures
its installation fails if mdev support is disabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb

index 0664a95c9d04b05e5ad57bb0f0f6a2704d19405b..e5cf9cb4dd0a21f284a01160af8baf4c8a92cbf2 100644 (file)
@@ -50,7 +50,7 @@ PACKAGES = "${PN}-base \
 FILES_${PN}-base = "/init /init.d/99-finish /dev"
 
 SUMMARY_initramfs-module-mdev = "initramfs support for mdev"
-RDEPENDS_initramfs-module-mdev = "${PN}-base"
+RDEPENDS_initramfs-module-mdev = "${PN}-base busybox-mdev"
 FILES_initramfs-module-mdev = "/init.d/01-mdev"
 
 SUMMARY_initramfs-module-udev = "initramfs support for udev"