diff options
-rw-r--r-- | meta-yocto/conf/local.conf.sample.extended | 6 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index 0c3197d7f7..e9935ce958 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended | |||
@@ -114,3 +114,9 @@ | |||
114 | # The network based PR service host and port | 114 | # The network based PR service host and port |
115 | #PRSERV_HOST = "localhost" | 115 | #PRSERV_HOST = "localhost" |
116 | #PRSERV_PORT = "8585" | 116 | #PRSERV_PORT = "8585" |
117 | |||
118 | # Additional image generation features | ||
119 | # | ||
120 | # The following is a list of classes to import to use in the generation of images | ||
121 | # currently an example class is image_types_uboot | ||
122 | # IMAGE_CLASSES = " image_types_uboot" | ||
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 48b78da79b..14726d2537 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -109,7 +109,8 @@ def get_devtable_list(d): | |||
109 | str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable) | 109 | str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable) |
110 | return str | 110 | return str |
111 | 111 | ||
112 | inherit image_types | 112 | IMAGE_CLASSES ?= "image_types" |
113 | inherit ${IMAGE_CLASSES} | ||
113 | 114 | ||
114 | IMAGE_POSTPROCESS_COMMAND ?= "" | 115 | IMAGE_POSTPROCESS_COMMAND ?= "" |
115 | MACHINE_POSTPROCESS_COMMAND ?= "" | 116 | MACHINE_POSTPROCESS_COMMAND ?= "" |