diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-03 16:51:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 00:12:46 -0700 |
commit | 68d391eaf4fe9fc37e3278255d5da170f98b8763 (patch) | |
tree | 62dab4126724931806cacd42af61595b1a70c1c0 /scripts | |
parent | c4a44ad4c5aa65657b69b811e793f98418159348 (diff) | |
download | openembedded-core-68d391eaf4fe9fc37e3278255d5da170f98b8763.tar.gz openembedded-core-68d391eaf4fe9fc37e3278255d5da170f98b8763.tar.bz2 openembedded-core-68d391eaf4fe9fc37e3278255d5da170f98b8763.zip |
wic: Improve 'wic help overview' content
Included full console output and example of the .wks file
into the 'wic help overview' content.
Used qemux86-64 machine instead of crownbay to make example
working without cloning additional layers.
[YOCTO #7940]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/image/help.py | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index a14ef20594..5fa5836d4e 100644 --- a/scripts/lib/image/help.py +++ b/scripts/lib/image/help.py @@ -616,18 +616,33 @@ DESCRIPTION and also uses the -o option to have wic create the output somewhere other than the default /var/tmp/wic: - $ wic create ~/test.wks -o /home/trz/testwic --rootfs-dir - /home/trz/yocto/build/tmp/work/crownbay/core-image-minimal/1.0-r0/rootfs - --bootimg-dir /home/trz/yocto/build/tmp/sysroots/crownbay/usr/share - --kernel-dir /home/trz/yocto/build/tmp/sysroots/crownbay/usr/src/kernel - --native-sysroot /home/trz/yocto/build/tmp/sysroots/x86_64-linux + $ wic create ./test.wks -o ./out --rootfs-dir + tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs + --bootimg-dir tmp/sysroots/qemux86-64/usr/share + --kernel-dir tmp/deploy/images/qemux86-64 + --native-sysroot tmp/sysroots/x86_64-linux - Creating image(s)... + Creating image(s)... - Info: The new image(s) can be found here: - /home/trz/testwic/build/test-201309260032-sda.direct + Info: The new image(s) can be found here: + out/build/test-201507211313-sda.direct + + The following build artifacts were used to create the image(s): + ROOTFS_DIR: tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs + BOOTIMG_DIR: tmp/sysroots/qemux86-64/usr/share + KERNEL_DIR: tmp/deploy/images/qemux86-64 + NATIVE_SYSROOT: tmp/sysroots/x86_64-linux + + The image(s) were created using OE kickstart file: + ./test.wks + + Here is a content of test.wks: + + part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 + part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 + + bootloader --timeout=0 --append="rootwait rootfstype=ext3 video=vesafb vga=0x318 console=tty0" - ... Finally, here's an example of the actual partition language commands used to generate the mkefidisk image i.e. these are the |