1. build core-image-minimal $ bitbake core-image-minimal 2. run wic failed $ wic create directdisk -e core-image-minimal ... |Creating image(s)... |Error: exec_cmd: install -m 444 /home/jiahongxu/yocto/ build-20141010-yocto/tmp/deploy/images/qemux86-64/syslinux/ ldlinux.sys /var/tmp/wic/build/hdd/boot/ldlinux.sys returned '1' instead of 0 ...
Add checking for the existance of syslinux to fix this issue. If syslinux didn't exist in anywhere, prompt user to build it. $ wic create directdisk -e core-image-minimal ... Creating image(s)... Error: Please build syslinux first ...
Merged into master: commit 9c218a319e006b8edf2f1ef9eada9b5611b85e12 Author: Hongxu Jia <hongxu.jia@windriver.com> Date: Mon Oct 13 18:46:34 2014 +0800 wic/bootimg-pcbios.py: checking the existance of syslinux While syslinux not existed in $bootimg_dir, there was a error: $ wic create directdisk -e core-image-minimal ... |Creating image(s)... |Error: exec_cmd: install -m 444 /home/jiahongxu/yocto/ build-20141010-yocto/tmp/deploy/images/qemux86-64/syslinux/ ldlinux.sys /var/tmp/wic/build/hdd/boot/ldlinux.sys returned '1' instead of 0 ... Add checking for the existance of syslinux to fix this issue. If syslinux didn't exist in anywhere, prompt user to build it. [YOCTO #6826] (From OE-Core rev: c2d4364d9fbbda64598f0a3eb0b0890932bb7742)