From b1dc0ee121e575f1978cdea409a16bba4040e5b2 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 28 Apr 2017 16:23:48 -0700 Subject: ref-manual, dev-manual: Completed first draft of 2.3 migration section. (From yocto-docs rev: 42ab9e34da640b46d39741c9c83648dc65518ec1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e0726df77a..ef1c166265 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5108,7 +5108,7 @@ Creating image(s)... Info: The new image(s) can be found here: - /var/tmp/wic/build/mkefidisk-201310230946-sda.direct + current_directory/build/mkefidisk-201310230946-sda.direct The following build artifacts were used to create the image(s): ROOTFS_DIR: /home/trz/yocto/yocto-image/build/tmp/work/minnow-poky-linux/core-image-minimal/1.0-r0/rootfs @@ -5133,7 +5133,8 @@ The output specifies the exact image created as well as - where it was created. + where it was created, which is in the current + directory by default. The output also names the artifacts used and the exact .wks script that was used to generate the image. @@ -5152,11 +5153,11 @@ bmaptool or dd: - $ oe-run-native bmaptool copy /var/tmp/wic/build/mkefidisk-201310230946-sda.direct /dev/sdX + $ oe-run-native bmaptool copy build/mkefidisk-201310230946-sda.direct /dev/sdX or - $ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sdX + $ sudo dd if=build/mkefidisk-201310230946-sda.direct of=/dev/sdX For more information on how to use the @@ -5240,7 +5241,7 @@ Creating image(s)... Info: The new image(s) can be found here: - /var/tmp/wic/build/directdisksdb-201310231131-sdb.direct + current_directory/build/directdisksdb-201310231131-sdb.direct The following build artifacts were used to create the image(s): @@ -5257,7 +5258,7 @@ whatever media for which you built your image, and boot the resulting media: - $ sudo dd if=/var/tmp/wic/build/directdisksdb-201310231131-sdb.direct of=/dev/sdb + $ sudo dd if=build/directdisksdb-201310231131-sdb.direct of=/dev/sdb 86018+0 records in 86018+0 records out 44041216 bytes (44 MB) copied, 13.0734 s, 3.4 MB/s @@ -5284,7 +5285,7 @@ Creating image(s)... Info: The new image(s) can be found here: - /var/tmp/wic/build/directdisk-201309252350-sda.direct + current_directory/build/directdisk-201309252350-sda.direct The following build artifacts were used to create the image(s): @@ -5307,8 +5308,8 @@ (runs in Raw Mode) and uses a modified kickstart file. The example also uses the -o option to cause Wic to create the output - somewhere other than the default - /var/tmp/wic directory: + somewhere other than the default output directory, + which is the current directory: $ wic create ~/test.wks -o /home/trz/testwic --rootfs-dir \ /home/trz/yocto/yocto-image/build/tmp/work/crownbay_noemgd-poky-linux/core-image-minimal/1.0-r0/rootfs \ -- cgit v1.2.3-54-g00ecf