From e52d8281eb98dbade2d82451fa9788285121437e Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 2 Feb 2015 14:07:47 -0800 Subject: core-image: split debug-tweaks into individual features Split the debug-tweaks into a more fine tunable set of IMAGE_FEATURES which activate the component functions. Clean-up image-core and image bbclass by having the ROOTFS_POSTPROCESS_COMMANDs in in one place for the debug-tweaks related functions [YOCTO #5344] Signed-off-by: Saul Wold --- meta/classes/core-image.bbclass | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta/classes/core-image.bbclass') diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass index 62363fb334..a78f93405b 100644 --- a/meta/classes/core-image.bbclass +++ b/meta/classes/core-image.bbclass @@ -73,8 +73,5 @@ inherit image # Create /etc/timestamp during image construction to give a reasonably sane default time setting ROOTFS_POSTPROCESS_COMMAND += "rootfs_update_timestamp ; " -# Zap the root password if debug-tweaks feature is not enabled -ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "", "zap_empty_root_password ; ",d)}' - # Tweak the mount options for rootfs in /etc/fstab if read-only-rootfs is enabled ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "read_only_rootfs_hook; ", "",d)}' -- cgit v1.2.3