diff options
Diffstat (limited to 'scripts/lib/image/help.py')
| -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 | |||
| 616 | and also uses the -o option to have wic create the output | 616 | and also uses the -o option to have wic create the output |
| 617 | somewhere other than the default /var/tmp/wic: | 617 | somewhere other than the default /var/tmp/wic: |
| 618 | 618 | ||
| 619 | $ wic create ~/test.wks -o /home/trz/testwic --rootfs-dir | 619 | $ wic create ./test.wks -o ./out --rootfs-dir |
| 620 | /home/trz/yocto/build/tmp/work/crownbay/core-image-minimal/1.0-r0/rootfs | 620 | tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs |
| 621 | --bootimg-dir /home/trz/yocto/build/tmp/sysroots/crownbay/usr/share | 621 | --bootimg-dir tmp/sysroots/qemux86-64/usr/share |
| 622 | --kernel-dir /home/trz/yocto/build/tmp/sysroots/crownbay/usr/src/kernel | 622 | --kernel-dir tmp/deploy/images/qemux86-64 |
| 623 | --native-sysroot /home/trz/yocto/build/tmp/sysroots/x86_64-linux | 623 | --native-sysroot tmp/sysroots/x86_64-linux |
| 624 | 624 | ||
| 625 | Creating image(s)... | 625 | Creating image(s)... |
| 626 | 626 | ||
| 627 | Info: The new image(s) can be found here: | 627 | Info: The new image(s) can be found here: |
| 628 | /home/trz/testwic/build/test-201309260032-sda.direct | 628 | out/build/test-201507211313-sda.direct |
| 629 | |||
| 630 | The following build artifacts were used to create the image(s): | ||
| 631 | ROOTFS_DIR: tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs | ||
| 632 | BOOTIMG_DIR: tmp/sysroots/qemux86-64/usr/share | ||
| 633 | KERNEL_DIR: tmp/deploy/images/qemux86-64 | ||
| 634 | NATIVE_SYSROOT: tmp/sysroots/x86_64-linux | ||
| 635 | |||
| 636 | The image(s) were created using OE kickstart file: | ||
| 637 | ./test.wks | ||
| 638 | |||
| 639 | Here is a content of test.wks: | ||
| 640 | |||
| 641 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
| 642 | part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 | ||
| 643 | |||
| 644 | bootloader --timeout=0 --append="rootwait rootfstype=ext3 video=vesafb vga=0x318 console=tty0" | ||
| 629 | 645 | ||
| 630 | ... | ||
| 631 | 646 | ||
| 632 | Finally, here's an example of the actual partition language | 647 | Finally, here's an example of the actual partition language |
| 633 | commands used to generate the mkefidisk image i.e. these are the | 648 | commands used to generate the mkefidisk image i.e. these are the |
