| Summary: | wic wil not run against recent master. | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Phlip Balister <philip> |
| Component: | deployment | Assignee: | Ed Bartosh <eduard.bartosh> |
| Status: | VERIFIED FIXED | QA Contact: | Daniel Istrate <daniel.alexandrux.istrate> |
| Severity: | major | ||
| Priority: | High | CC: | alexandru.c.georgescu, bluelightning, bogdanx.a.voiculescu |
| Version: | unspecified | ||
| Target Milestone: | 1.9 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
As as quick workaround you can put bitbake tree to the same level where scripts/ is. I'll submit fix ASAP. Should be fixed by this http://lists.openembedded.org/pipermail/openembedded-core/2015-April/103837.html Should be fixed by this commit: http://git.openembedded.org/openembedded-core/commit/?id=9d86eb2e448263f7e395b48d95c380b2dc66ad8e Verified on master: bitbake: 5982b5df9288a5773c7314234e2e0432f85678f2 open-embedded: c38acd720b3f6ffbeb544063692eb471dada8593 Steps to verify: 1. Clone oe-core & 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 |
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 "/home/balister/src/oe-core/oe-core/scripts/wic", line 49, in <module> from bb import cookerdata ImportError: No module named bb [balister@thuvia build]$