summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2015-01-27 11:21:12 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-03 14:53:53 +0000
commit491d1db8d186f52a1372ebbcc97424882f61a673 (patch)
treed6d1aaeb04bc26d259f0eb4e070c2fa0e156136f /meta/classes/image.bbclass
parent616696aaa6b321c3ad4ce7a2d4d5f8918091e198 (diff)
downloadast2050-yocto-poky-491d1db8d186f52a1372ebbcc97424882f61a673.zip
ast2050-yocto-poky-491d1db8d186f52a1372ebbcc97424882f61a673.tar.gz
image.bbclass: make kernel depmod data optional
This allows an image to skip the creation of kernel depmod data. It is useful for creating an image that will run as a container image inside a host with no knowledge of the parent's kernel. (From OE-Core rev: ca641aedff5f6bd155796ead02cb2eb871f8c17a) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f09bfee..b2a3e97 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -66,6 +66,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
EXCLUDE_FROM_WORLD = "1"
USE_DEVFS ?= "1"
+USE_DEPMOD ?= "1"
PID = "${@os.getpid()}"
OpenPOWER on IntegriCloud