From: Paul Eggleton Date: Tue, 27 Jan 2015 11:26:33 +0000 (+0000) Subject: classes/image: drop unused default of MACHINE_POSTPROCESS_COMMAND X-Git-Tag: 2015-4~580 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=46fef857d6c4ac25d89b71b542b019d0ed068c19;p=openembedded-core.git classes/image: drop unused default of MACHINE_POSTPROCESS_COMMAND In the daisy (1.6) timeframe, when we rewrote the image construction in Python, we neglected to reimplement the support for the little used and undocumented variable MACHINE_POSTPROCESS_COMMAND, and apparently nobody noticed. We have a better method for implementing machine-specific image formats that is in wider use (i.e. add a custom class which implements the new image type, add the class to IMAGE_CLASSES and the type to IMAGE_FSTYPES), and we now also have wic. Thus it makes more sense to just call this variable unsupported now and drop the sole remaining reference to it. Signed-off-by: Paul Eggleton --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 677c81acaf..a8f3ceea7f 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -158,7 +158,6 @@ IMAGE_CLASSES += "image_types" inherit ${IMAGE_CLASSES} IMAGE_POSTPROCESS_COMMAND ?= "" -MACHINE_POSTPROCESS_COMMAND ?= "" # Allow dropbear/openssh to accept logins from accounts with an empty password string if debug-tweaks is enabled ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "ssh_allow_empty_password; ", "",d)}' # Enable postinst logging if debug-tweaks is enabled