This patch set intend to allow wic compile as an individual package, then it can run both on host & target side.
On host, it invoke by image_type_wic.bbclass to as a native tool to generate wic image. Patch 1-4 make wic compile as a native tool. On trarget, it parse wks file, and use current rootfs & /boot folder to generated a new wic image on target. Patch 5-6 fix a few minor issue on target. The patch is validate with mkefidisk.wks from oe-core layer on intel x86 platform. Assume /dev/sda2 is root device, then with following command, use could generate a new wic image $mount /dev/sda2 /tmp/sda $wic create /root/mkefidisk.wks -k /boot -r /tmp/sda -o /tmp/ The generated image is under /tmp with name mkefidisk-xxx-sda.direct. Then user may dump this file into another booting deivce. Thanks Jiang Lu -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core