blob: a81daa214339d3134c0ffd3c05bd3ef97fb3d592 [file] [log] [blame]
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;"