I am using a imx6sl running Android KitKat as an appliance. I am in a memory constrained situation and would like to remove unneeded Apps from the Android build system. Is there any way to control what gets built into the system. For example I have no need for the Deskclock app and would like to not have it loaded at Android start start time.
I edited device/fsl/imx6/imx6.mk to remove unwanted apps from PRODUCT_PACKAGES += section of the file and did a clean rebuild but that did not seem to remove the apps from the Android System.img file.
Have you try to remove the Deskclock folder in packages/apps/?