<?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>7621</bug_id>
          
          <creation_ts>2015-04-16 17:41:41 +0000</creation_ts>
          <short_desc>wic wil not run against recent master.</short_desc>
          <delta_ts>2015-08-20 09:12:19 +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>deployment</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Phlip Balister">philip</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50364</commentid>
    <comment_count>0</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2015-04-16 17:41:41 +0000</bug_when>
    <thetext>This used to work.

[balister@thuvia build]$ export MACHINE=ettus-e300
[balister@thuvia build]$ wic create ../meta-sdr/contrib/wks/sdimage-8G.wks  -e gnuradio-demo-image -o images/$MACHINE
Traceback (most recent call last):
  File &quot;/home/balister/src/oe-core/oe-core/scripts/wic&quot;, line 49, in &lt;module&gt;
    from bb import cookerdata
ImportError: No module named bb
[balister@thuvia build]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50381</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-04-17 11:40:01 +0000</bug_when>
    <thetext>As as quick workaround you can put bitbake tree to the same level where scripts/ is.

I&apos;ll submit fix ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50383</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-04-17 13:19:54 +0000</bug_when>
    <thetext>Should be fixed by this http://lists.openembedded.org/pipermail/openembedded-core/2015-April/103837.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50404</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-04-20 10:31:55 +0000</bug_when>
    <thetext>Should be fixed by this commit: http://git.openembedded.org/openembedded-core/commit/?id=9d86eb2e448263f7e395b48d95c380b2dc66ad8e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53257</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-08-20 09:12:19 +0000</bug_when>
    <thetext>Verified on master:
bitbake:       5982b5df9288a5773c7314234e2e0432f85678f2
open-embedded: c38acd720b3f6ffbeb544063692eb471dada8593

Steps to verify:
1. Clone oe-core &amp; bitbake into separate folders:
git clone git://git.openembedded.org/openembedded-core
git clone git://git.openembedded.org/bitbake

[daniel@fedora-ws bug_7621]$ ls
bitbake  openembedded-core

2. Move into oe-core dir and source the environment:
$ cd openembedded-core
$ export BITBAKEDIR=../bitbake
$ . oe-init-build-env

3. Build wic dependencies: 
[daniel@fedora-ws build]$ bitbake syslinux syslinux-native parted-native gptfdisk-native dosfstools-native mtools-native core-image-minimal

4. Run wic:
[daniel@fedora-ws build]$ wic create directdisk -e core-image-minimal
Checking basic build environment...
Done.

Creating image(s)...

Info: The new image(s) can be found here:
  /var/tmp/wic/build/directdisk-201508201206-sda.direct

The following build artifacts were used to create the image(s):
  ROOTFS_DIR:                   /home/daniel/bug_7621/openembedded-core/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs
  BOOTIMG_DIR:                  /home/daniel/bug_7621/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/share
  KERNEL_DIR:                   /home/daniel/bug_7621/openembedded-core/build/tmp-glibc/deploy/images/qemux86
  NATIVE_SYSROOT:               /home/daniel/bug_7621/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux


The image(s) were created using OE kickstart file:
  /home/daniel/bug_7621/openembedded-core/scripts/lib/image/canned-wks/directdisk.wks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>