1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

dev-manual: Updated oe-run-native and dd examples for Wic

I changed the path to not list "build/" as the example assumes
the user is already in that directory.

(From yocto-docs rev: c3ab6a9e53f48005de73977238c8af3e2061db8b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-02-23 08:19:47 -08:00
committed by Richard Purdie
parent 422c6488d3
commit 01658a83d7
@@ -5806,17 +5806,18 @@
<para> <para>
Continuing with the example, you can now write the Continuing with the example, you can now write the
image to a USB stick, or whatever media for which you image from the Build Directory onto a USB stick, or
built your image, and boot from the media. whatever media for which you built your image, and boot
from the media.
You can write the image by using You can write the image by using
<filename>bmaptool</filename> or <filename>bmaptool</filename> or
<filename>dd</filename>: <filename>dd</filename>:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ oe-run-native bmaptool copy build/mkefidisk-201802211426-sda.direct /dev/sd<replaceable>X</replaceable> $ oe-run-native bmaptool copy mkefidisk-201802211426-sda.direct /dev/sd<replaceable>X</replaceable>
</literallayout> </literallayout>
or or
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ sudo dd if=build/mkefidisk-201802211426-sda.direct of=/dev/sd<replaceable>X</replaceable> $ sudo dd if=mkefidisk-201802211426-sda.direct of=/dev/sd<replaceable>X</replaceable>
</literallayout> </literallayout>
<note> <note>
For more information on how to use the For more information on how to use the