recovery: Disable kernel_afdo on recovery image.

kernel afdo was enabled on recovery images but it pushed the
image to > 8MB on daisy boards resulting in failure at Archive stage.
Since there is no need that recovery image kernel for afdo, just disable it.

TEST=Recovery image size is < 8MB on daisy.

Change-Id: I8e12279ccfc53a4598cbd45710abd5c0db014f50
Commit-Queue: Manoj Gupta <>
Tested-by: Manoj Gupta <>
Trybot-Ready: Manoj Gupta <>
Reviewed-by: Ting-Yuan Huang <>
Reviewed-by: Douglas Anderson <>
Reviewed-by: Mike Frysinger <>
diff --git a/ b/
index ba92883..7d94846 100755
--- a/
+++ b/
@@ -400,7 +400,7 @@
 # Build the recovery kernel.
-RECOVERY_KERNEL_FLAGS="fbconsole vtconsole recovery_ramfs tpm i2cdev vfat"
+RECOVERY_KERNEL_FLAGS="fbconsole vtconsole recovery_ramfs tpm i2cdev vfat -kernel_afdo"
 USE="${RECOVERY_KERNEL_FLAGS}" emerge_custom_kernel "$FACTORY_ROOT" ||
   failboat "Cannot emerge custom kernel"