[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4157/8267] kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst



commit fc7394fe2d551a4c83e73741f8872ecbd6ab9037
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date:   Thu Jan 19 17:45:43 2017 +0200

    kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst
    
    The depmodwrapper dependency is not actually used by the class but
    anyone using pkg_postinst_kernel-base() will need it.
    
    (From OE-Core rev: e3f5290d8deba9b7cead73b52ac45a37228fece9)
    
    Signed-off-by: Jussi Kukkonen <jussi kukkonen intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3630042..f462b2f 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -1,7 +1,8 @@
 inherit linux-kernel-base kernel-module-split
 
 PROVIDES += "virtual/kernel"
-DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross 
bc-native lzop-native"
+DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native lzop-native"
+PACKAGE_WRITE_DEPS += "depmodwrapper-cross virtual/update-alternatives-native"
 
 S = "${STAGING_KERNEL_DIR}"
 B = "${WORKDIR}/build"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]