summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2017-05-09 13:34:07 -0500
committerJohn Klug <john.klug@multitech.com>2017-05-23 15:22:10 -0500
commitaed2676069931f42b7f50d243d36048d05a5ed58 (patch)
treeb8c70089e7022157769207012ca031d115d34cc0 /classes
parentf911d680a7b085b29d2bdd87cae0381985a6fc39 (diff)
downloadmeta-mlinux-aed2676069931f42b7f50d243d36048d05a5ed58.tar.gz
meta-mlinux-aed2676069931f42b7f50d243d36048d05a5ed58.tar.bz2
meta-mlinux-aed2676069931f42b7f50d243d36048d05a5ed58.zip
Fix build to run do_firmware after do_image_complete so that rootfs jffs2 file has been created before trying to copy it
Diffstat (limited to 'classes')
-rw-r--r--classes/mlinux-image.bbclass3
1 files changed, 1 insertions, 2 deletions
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() {