<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7940</bug_id>
          
          <creation_ts>2015-07-01 13:41:06 +0000</creation_ts>
          <short_desc>wic help is incomplete</short_desc>
          <delta_ts>2015-09-09 14:37:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52073</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-07-01 13:41:06 +0000</bug_when>
    <thetext>When running &quot;wic help overview&quot;, among various other examples, the help shows how to specify manually on the command line various parameters and a non-canned wks file, but it doesn&apos;t show the content of the custom .wks file used.


The text starts with &quot;Here&apos;s an example that doesn&apos;t take the easy way out ...&quot;

It would seem appropriate to provide also the content of the ~/test.wks file referred by the example, as it is not a canned one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52504</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-07-21 10:15:41 +0000</bug_when>
    <thetext>I&apos;m going to change help to this:


Here&apos;s an example that doesn&apos;t take the easy way out and manually
    specifies each build artifact, along with a non-canned .wks file,
    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 ./out -r tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs -b tmp/sysroots/qemux86-64/usr/share -k tmp/deploy/images/qemux86-64 -n tmp/sysroots/x86_64-linux -o 

Creating image(s)...

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=&quot;rootwait rootfstype=ext3 video=vesafb vga=0x318 console=tty0&quot;


Igor, please confirm it&apos;s ok for you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52784</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-08-03 13:57:19 +0000</bug_when>
    <thetext>Submitted fix for review: http://lists.openembedded.org/pipermail/openembedded-core/2015-August/108258.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52923</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-08-09 11:52:31 +0000</bug_when>
    <thetext>Fix has been merged to master: http://cgit.openembedded.org/openembedded-core/commit/?id=68d391eaf4fe9fc37e3278255d5da170f98b8763</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53887</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-09-09 14:37:01 +0000</bug_when>
    <thetext>Verified on master: c1df471feacaf2590216aa476ce242908dac38cf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>