inherit deploy | |
rootfs_monitor() { | |
find ${IMAGE_ROOTFS} -type f -size +50k -print0 | xargs -0 du -h | sort -nr > ${IMAGE_ROOTFS}/rootfs_monitor.txt | |
} | |
do_deploy () { | |
install -d ${DEPLOYDIR} | |
cp ${IMAGE_ROOTFS}/rootfs_monitor.txt ${DEPLOYDIR} | |
} | |
addtask deploy before do_mtdverity_for_rootfs after do_image_complete | |
ROOTFS_POSTPROCESS_COMMAND += " rootfs_monitor;" | |