[meta-intel] [PATCH 07/10] crownbay: linux-yocto-dev recipe extension

Tom Zanussi tom.zanussi at intel.com
Thu Feb 28 17:17:25 PST 2013


On Wed, 2013-02-27 at 16:28 -0800, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> 
> Provide the crownbay BSP specific extension for the linux-yocto-dev
> recipe from the oecore layer. This configures the right git branches of
> the kernel repository for the crownbay BSP.
> 
> This commit is addressing this bug:
> [YOCTO #3931]
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> ---
>  .../recipes-kernel/linux/linux-yocto-dev.bbappend  |   20 ++++++++++++++++++++
>  1 files changed, 20 insertions(+), 0 deletions(-)
>  create mode 100644 meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> 
> diff --git a/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend b/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> new file mode 100644
> index 0000000..be65caa
> --- /dev/null
> +++ b/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> @@ -0,0 +1,20 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +
> +COMPATIBLE_MACHINE_crownbay = "crownbay"
> +KMACHINE_crownbay = "crownbay"
> +KBRANCH_crownbay = "standard/crownbay"
> +KERNEL_FEATURES_crownbay_append = " features/drm-emgd/drm-emgd-1.16 cfg/vesafb"
> +
> +COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
> +KMACHINE_crownbay-noemgd = "crownbay"
> +KBRANCH_crownbay-noemgd = "standard/crownbay"
> +KERNEL_FEATURES_crownbay-noemgd_append = " cfg/vesafb"
> +
> +SRCREV_meta_crownbay = "fe20c99783387dab779472ff50a88666da1c6391"
> +SRCREV_machine_crownbay = "60536206ad300ccf5b2be2c2d449f4ab27170238"
> +SRCREV_emgd_crownbay = "17aacd908ed6035213a6d206cfdb2c0c9fa9e0c1"
> +
> +SRCREV_machine_crownbay-noemgd = "60536206ad300ccf5b2be2c2d449f4ab27170238"
> +SRCREV_meta_crownbay-noemgd = "fe20c99783387dab779472ff50a88666da1c6391
> +
> +SRC_URI_crownbay = "git://git.yoctoproject.org/linux-yocto-dev.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-1.16;name=machine,meta,emgd"

No more parse error, but I'm now hitting this with crownbay:

Configuration is that I added PREFERRED_PROVIDER_virtual/kernel ?=
"linux-yocto-dev" to crownbay.conf and 

MACHINE ??= "crownbay"
LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin_1.16 commercial"
 to local.conf

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-11.10"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "crownbay"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130301"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master8:d7b248e715d99766bf8602ff9f038f8b0afa5e78"
meta-intel        
meta-crownbay     = "master41:156d2709ac823be8888502d80aa67f10315e641e"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_patch
(see /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958 for further information)
ERROR: Logfile of failure stored
in: /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was 630b61b).
| NOTE: feature features/kprobes/kprobes.scc is included multiple times
(/usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/features/systemtap)
| NOTE: feature ipsec.scc is included multiple times
(/usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/cfg/net)
| /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/ktypes/base/base.scc: line 5: force: command not found
|  feature
file /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-cache/ktypes/base/base.scc contains an error ... aborting
| ERROR. A meta series could not be created for branch standard/crownbay
| ERROR. Could not locate meta series for crownbay
| ERROR. Could not apply patches for crownbay.
|        Patch failures can be resolved in the devshell (bitbake -c
devshell linux-yocto-dev)
| ERROR: Function failed: do_patch
(see /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958 for further information)
ERROR: Task 1060
(/usr/local/dev/yocto/nitin-test/meta/recipes-kernel/linux/linux-yocto-dev.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1154 tasks of which 164 didn't need to be
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /usr/local/dev/yocto/nitin-test/meta/recipes-kernel/linux/linux-yocto-dev.bb, do_patch
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.





More information about the meta-intel mailing list