From aed2676069931f42b7f50d243d36048d05a5ed58 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Tue, 9 May 2017 13:34:07 -0500 Subject: Fix build to run do_firmware after do_image_complete so that rootfs jffs2 file has been created before trying to copy it --- classes/mlinux-image.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/mlinux-image.bbclass b/classes/mlinux-image.bbclass index 3c3bcaa..df31a39 100644 --- a/classes/mlinux-image.bbclass +++ b/classes/mlinux-image.bbclass @@ -46,7 +46,6 @@ do_firmware () { cp at91bootstrap_pmecc_padded.bin bstrap.bin cp u-boot-${MACHINE}.bin uboot.bin cp uImage-${MACHINE}.bin uImage.bin - sleep 30 cp ${IMAGE_BASENAME}-${MACHINE}.jffs2 rootfs.jffs2 cat bstrap.bin | md5sum > bstrap.bin.md5 @@ -61,7 +60,7 @@ do_firmware () { rm -f bstrap.bin* uboot.bin* uImage.bin* rootfs.jffs2* model } -addtask firmware after do_rootfs before do_build +addtask firmware after do_image_complete before do_build # make links to images in TFTPBOOT_DIR for ease of development do_tftpboot_links() { -- cgit v1.2.3