summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/obmc-phosphor-image.bbclass
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-07-22 21:49:25 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-08-01 22:02:12 +0300
commit97cce000ece7fbe9b1fcebd8b265e978f826fff5 (patch)
tree75d1a0335d1c31ab2d5cb424679fa22f2228845d /meta-phosphor/classes/obmc-phosphor-image.bbclass
parent8bf414ab205abd0e38261558d03861868cef3d8d (diff)
downloadopenbmc-97cce000ece7fbe9b1fcebd8b265e978f826fff5.tar.xz
overlay: remove OBMC_PHOSPHOR_IMAGE_OVERLAY
Solve the problem resulting in the addition of this variable differently, such that it can be removed and image type selection can be selected in the standard way using IMAGE_FSTYPES. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ice94e8f278f00b8b4d344244bfb87dddeb173a23
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-image.bbclass')
-rw-r--r--meta-phosphor/classes/obmc-phosphor-image.bbclass8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index 4758c8a4a..9b0a547e6 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -95,14 +95,6 @@ CORE_IMAGE_EXTRA_INSTALL_append = " bash \
OBMC_IMAGE_EXTRA_INSTALL ?= ""
-def image_overlay_enabled(d, ifEnabledStr):
- if d.getVar('OBMC_PHOSPHOR_IMAGE_OVERLAY', True) != "1":
- return ""
- return ifEnabledStr
-
-IMAGE_FSTYPES += "${@image_overlay_enabled(d, "overlay")}"
-inherit ${@image_overlay_enabled(d, "image-overlay")}
-
do_image_complete[depends] += "obmc-phosphor-debug-tarball:do_image_complete"
# The /etc/version file is misleading and not useful. Remove it.